diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-12-29 11:28:40 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-12-29 11:28:40 +0000 |
commit | 73d81f18f7652853b10f753b04df2b76c02c7d83 (patch) | |
tree | fa39f92c0cef8f367ea68a75ebb8e979fac11144 /package | |
parent | afce31a868faa7ef6275b696676bbb35c00a45de (diff) | |
download | buildroot-novena-73d81f18f7652853b10f753b04df2b76c02c7d83.tar.gz buildroot-novena-73d81f18f7652853b10f753b04df2b76c02c7d83.zip |
version bump and cflag cleanup
Diffstat (limited to 'package')
-rw-r--r-- | package/mkdosfs/mkdosfs.mk | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/package/mkdosfs/mkdosfs.mk b/package/mkdosfs/mkdosfs.mk index c4a53e20c..28e355301 100644 --- a/package/mkdosfs/mkdosfs.mk +++ b/package/mkdosfs/mkdosfs.mk @@ -3,16 +3,17 @@ # mkdosfs # ############################################################# -MKDOSFS_SOURCE=dosfstools-2.8.src.tar.gz -MKDOSFS_SITE=http://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools -MKDOSFS_DIR=$(BUILD_DIR)/dosfstools-2.8 +MKDOSFS_VER:=2.11 +MKDOSFS_SOURCE:=dosfstools-$(MKDOSFS_VER).src.tar.gz +MKDOSFS_SITE:=http://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools +MKDOSFS_DIR:=$(BUILD_DIR)/dosfstools-$(MKDOSFS_VER) MKDOSFS_CAT:=zcat MKDOSFS_BINARY:=mkdosfs/mkdosfs MKDOSFS_TARGET_BINARY:=sbin/mkdosfs + +MKDOSFS_CFLAGS=$(TARGET_CFLAGS) ifeq ($(BR2_LARGEFILE),y) -MKDOSFS_CFLAGS="-Os -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" -else -MKDOSFS_CFLAGS="-Os -g" +MKDOSFS_CFLAGS+= -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 endif $(DL_DIR)/$(MKDOSFS_SOURCE): @@ -25,8 +26,8 @@ $(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); - $(STRIP) $(MKDOSFS_DIR)/mkdosfs/mkdosfs; + $(MAKE) CFLAGS="$(MKDOSFS_CFLAGS)" CC="$(TARGET_CC)" -C $(MKDOSFS_DIR); + $(STRIP) $(MKDOSFS_DIR)/mkdosfs/mkdosfs touch -c $(MKDOSFS_DIR)/mkdosfs/mkdosfs $(TARGET_DIR)/$(MKDOSFS_TARGET_BINARY): $(MKDOSFS_DIR)/$(MKDOSFS_BINARY) |