summaryrefslogtreecommitdiffstats
path: root/target/cramfs/cramfs.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-10-09 04:15:52 +0000
committerEric Andersen <andersen@codepoet.org>2004-10-09 04:15:52 +0000
commit6c2a7c0359b432a75fddd26de5e11660a5661ad7 (patch)
treed852ad574f863166e709218cbf520d3ae7aa38dd /target/cramfs/cramfs.mk
parent5fc779527a05cd86d3d235e67977bd9f5a2ee950 (diff)
downloadbuildroot-novena-6c2a7c0359b432a75fddd26de5e11660a5661ad7.tar.gz
buildroot-novena-6c2a7c0359b432a75fddd26de5e11660a5661ad7.zip
Remove references to the obsolete SOURCE_DIR
Diffstat (limited to 'target/cramfs/cramfs.mk')
-rw-r--r--target/cramfs/cramfs.mk7
1 files changed, 3 insertions, 4 deletions
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