summaryrefslogtreecommitdiffstats
path: root/target/ext2/ext2root.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-12-27 21:26:16 +0000
committerEric Andersen <andersen@codepoet.org>2004-12-27 21:26:16 +0000
commitc0ca7f4bdcfd5be65adf696be5c55767f64b1875 (patch)
treedb16f963eae3ae81ca3685ea244161d5afd60b44 /target/ext2/ext2root.mk
parentfdb390e9716ab256bf67cb3013a5f4bf9f81fb71 (diff)
downloadbuildroot-novena-c0ca7f4bdcfd5be65adf696be5c55767f64b1875.tar.gz
buildroot-novena-c0ca7f4bdcfd5be65adf696be5c55767f64b1875.zip
Update to latest CVS version of genext2fs
http://cvs.sourceforge.net/viewcvs.py/genext2fs/ which includes my device table stuff
Diffstat (limited to 'target/ext2/ext2root.mk')
-rw-r--r--target/ext2/ext2root.mk13
1 files changed, 11 insertions, 2 deletions
diff --git a/target/ext2/ext2root.mk b/target/ext2/ext2root.mk
index a6f1f3d14..e4e77ca0a 100644
--- a/target/ext2/ext2root.mk
+++ b/target/ext2/ext2root.mk
@@ -10,12 +10,21 @@ GENEXT2_SITE=http://ftp.debian.org/debian/pool/main/g/genext2fs
$(DL_DIR)/$(GENEXT2_SOURCE):
$(WGET) -P $(DL_DIR) $(GENEXT2_SITE)/$(GENEXT2_SOURCE)
-$(GENEXT2_DIR): $(DL_DIR)/$(GENEXT2_SOURCE)
+$(GENEXT2_DIR)/.unpacked: $(DL_DIR)/$(GENEXT2_SOURCE)
zcat $(DL_DIR)/$(GENEXT2_SOURCE) | tar -C $(BUILD_DIR) -xvf -
mv $(GENEXT2_DIR).orig $(GENEXT2_DIR)
toolchain/patch-kernel.sh $(GENEXT2_DIR) target/ext2/ genext2fs*.patch
+ touch $(GENEXT2_DIR)/.unpacked
-$(GENEXT2_DIR)/genext2fs: $(GENEXT2_DIR)
+$(GENEXT2_DIR)/.configured: $(GENEXT2_DIR)/.unpacked
+ chmod a+x $(GENEXT2_DIR)/configure
+ (cd $(GENEXT2_DIR); rm -rf config.cache; \
+ ./configure \
+ --prefix=$(STAGING_DIR) \
+ );
+ touch $(GENEXT2_DIR)/.configured
+
+$(GENEXT2_DIR)/genext2fs: $(GENEXT2_DIR)/.configured
$(MAKE) CFLAGS="-Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE \
-D_FILE_OFFSET_BITS=64" -C $(GENEXT2_DIR);
touch -c $(GENEXT2_DIR)/genext2fs