summaryrefslogtreecommitdiffstats
path: root/package/mkdosfs
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-08-04 19:07:18 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-08-04 19:07:18 +0000
commit60b5eee76edfa153ef118d2788c74ac8da1497a0 (patch)
tree4edb8e2572e8803fc92d419920c32142f6b4fa3a /package/mkdosfs
parent02a623ddf96aa97c341a287bbb4ec5370a069444 (diff)
downloadbuildroot-novena-60b5eee76edfa153ef118d2788c74ac8da1497a0.tar.gz
buildroot-novena-60b5eee76edfa153ef118d2788c74ac8da1497a0.zip
package: global largefile CFLAGS handling
Diffstat (limited to 'package/mkdosfs')
-rw-r--r--package/mkdosfs/mkdosfs.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/package/mkdosfs/mkdosfs.mk b/package/mkdosfs/mkdosfs.mk
index 399cecae1..6904b5665 100644
--- a/package/mkdosfs/mkdosfs.mk
+++ b/package/mkdosfs/mkdosfs.mk
@@ -11,11 +11,6 @@ MKDOSFS_CAT:=$(ZCAT)
MKDOSFS_BINARY:=mkdosfs/mkdosfs
MKDOSFS_TARGET_BINARY:=sbin/mkdosfs
-MKDOSFS_CFLAGS=$(TARGET_CFLAGS)
-ifeq ($(BR2_LARGEFILE),y)
-MKDOSFS_CFLAGS+= -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-endif
-
$(DL_DIR)/$(MKDOSFS_SOURCE):
$(WGET) -P $(DL_DIR) $(MKDOSFS_SITE)/$(MKDOSFS_SOURCE)
@@ -26,7 +21,7 @@ $(MKDOSFS_DIR)/.unpacked: $(DL_DIR)/$(MKDOSFS_SOURCE)
touch $(MKDOSFS_DIR)/.unpacked
$(MKDOSFS_DIR)/$(MKDOSFS_BINARY): $(MKDOSFS_DIR)/.unpacked
- $(MAKE) CFLAGS="$(MKDOSFS_CFLAGS)" CC="$(TARGET_CC)" -C $(MKDOSFS_DIR)
+ $(MAKE) CFLAGS="$(TARGET_CFLAGS)" CC="$(TARGET_CC)" -C $(MKDOSFS_DIR)
$(STRIPCMD) $(MKDOSFS_DIR)/mkdosfs/mkdosfs
touch -c $(MKDOSFS_DIR)/mkdosfs/mkdosfs