summaryrefslogtreecommitdiffstats
path: root/target/x86/grub/grub.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 20:26:05 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 20:26:05 +0000
commiteb3b21be72f48bf0461f9fa1721b797783e59172 (patch)
tree85fe10ef3d896ceae4289912293c01280541e48d /target/x86/grub/grub.mk
parent1d10f37b2e1ed5abf60d903eefe471cd7a8ce58e (diff)
downloadbuildroot-novena-eb3b21be72f48bf0461f9fa1721b797783e59172.tar.gz
buildroot-novena-eb3b21be72f48bf0461f9fa1721b797783e59172.zip
- honor uclibc's notion of LFS support
Diffstat (limited to 'target/x86/grub/grub.mk')
-rw-r--r--target/x86/grub/grub.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/x86/grub/grub.mk b/target/x86/grub/grub.mk
index 8e4bd575e..af3ce6da0 100644
--- a/target/x86/grub/grub.mk
+++ b/target/x86/grub/grub.mk
@@ -36,6 +36,10 @@ GRUB_TARGET_FILES+=$(GRUB_SPLASHIMAGE)
endif
GRUB_CFLAGS=-DSUPPORT_LOOPDEV
+ifeq ($(BR2_LARGEFILE),)
+GRUB_CFLAGS+=-U_FILE_OFFSET_BITS
+endif
+
$(DL_DIR)/$(GRUB_SOURCE):
$(WGET) -P $(DL_DIR) $(GRUB_SITE)/$(GRUB_SOURCE)