From 6c2a7c0359b432a75fddd26de5e11660a5661ad7 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 9 Oct 2004 04:15:52 +0000 Subject: Remove references to the obsolete SOURCE_DIR --- target/ext2/ext2root.mk | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'target/ext2') diff --git a/target/ext2/ext2root.mk b/target/ext2/ext2root.mk index ff2877145..67939ab7b 100644 --- a/target/ext2/ext2root.mk +++ b/target/ext2/ext2root.mk @@ -6,15 +6,14 @@ GENEXT2_DIR=$(BUILD_DIR)/genext2fs-1.3 GENEXT2_SOURCE=genext2fs_1.3.orig.tar.gz GENEXT2_SITE=http://ftp.debian.org/debian/pool/main/g/genext2fs -GENEXT2_PATCH=$(SOURCE_DIR)/genext2fs.patch $(DL_DIR)/$(GENEXT2_SOURCE): $(WGET) -P $(DL_DIR) $(GENEXT2_SITE)/$(GENEXT2_SOURCE) -$(GENEXT2_DIR): $(DL_DIR)/$(GENEXT2_SOURCE) $(GENEXT2_PATCH) +$(GENEXT2_DIR): $(DL_DIR)/$(GENEXT2_SOURCE) zcat $(DL_DIR)/$(GENEXT2_SOURCE) | tar -C $(BUILD_DIR) -xvf - mv $(GENEXT2_DIR).orig $(GENEXT2_DIR) - cat $(GENEXT2_PATCH) | patch -p1 -d $(GENEXT2_DIR) + toolchain/patch-kernel.sh $(GENEXT2_DIR) target/ext2/ genext2fs*.patch $(GENEXT2_DIR)/genext2fs: $(GENEXT2_DIR) $(MAKE) CFLAGS="-Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE \ @@ -43,7 +42,7 @@ ext2root: genext2fs #-@find $(TARGET_DIR)/lib -type f -name \*.so\* | xargs $(STRIP) --strip-unneeded 2>/dev/null || true; -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true; $(GENEXT2_DIR)/genext2fs -i $(GENEXT2_INODES) -b $(GENEXT2_SIZE) \ - -d $(TARGET_DIR) -q -D $(SOURCE_DIR)/device_table.txt $(IMAGE) + -d $(TARGET_DIR) -q -D target/default/device_table.txt $(IMAGE) ext2root-source: $(DL_DIR)/$(GENEXT2_SOURCE) -- cgit v1.2.3