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/cramfs/cramfs.mk | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'target/cramfs') diff --git a/target/cramfs/cramfs.mk b/target/cramfs/cramfs.mk index 0f1204a25..43019c680 100644 --- a/target/cramfs/cramfs.mk +++ b/target/cramfs/cramfs.mk @@ -6,14 +6,13 @@ CRAMFS_DIR=$(BUILD_DIR)/cramfs-1.1 CRAMFS_SOURCE=cramfs-1.1.tar.gz CRAMFS_SITE=http://aleron.dl.sourceforge.net/sourceforge/cramfs -CRAMFS_PATCH=$(SOURCE_DIR)/cramfs.patch $(DL_DIR)/$(CRAMFS_SOURCE): $(WGET) -P $(DL_DIR) $(CRAMFS_SITE)/$(CRAMFS_SOURCE) -$(CRAMFS_DIR): $(DL_DIR)/$(CRAMFS_SOURCE) $(CRAMFS_PATCH) +$(CRAMFS_DIR): $(DL_DIR)/$(CRAMFS_SOURCE) zcat $(DL_DIR)/$(CRAMFS_SOURCE) | tar -C $(BUILD_DIR) -xvf - - cat $(CRAMFS_PATCH) | patch -p1 -d $(CRAMFS_DIR) + toolchain/patch-kernel.sh $(CRAMFS_DIR) target/cramfs/ cramfs*.patch $(CRAMFS_DIR)/mkcramfs: $(CRAMFS_DIR) $(MAKE) CFLAGS="-Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" -C $(CRAMFS_DIR); @@ -40,7 +39,7 @@ cramfsroot: cramfs -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true; @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/info - $(CRAMFS_DIR)/mkcramfs -q -D $(SOURCE_DIR)/device_table.txt $(TARGET_DIR) $(IMAGE) + $(CRAMFS_DIR)/mkcramfs -q -D target/default/device_table.txt $(TARGET_DIR) $(IMAGE) cramfsroot-source: cramfs-source -- cgit v1.2.3