diff options
Diffstat (limited to 'target/cramfs')
-rw-r--r-- | target/cramfs/cramfs.mk | 7 |
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 |