summaryrefslogtreecommitdiff
path: root/package/mtd/mtd.mk
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-08-18 23:08:19 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-08-18 23:08:19 +0000
commitbb4bed8545c1bd57ee54202fafa97c3c90001af0 (patch)
treeeae2fb2e5dc248f0e798d791efdcf72f0a9fdfdd /package/mtd/mtd.mk
parentbd00131051a6243939f0b28ae0ae3244b67bd539 (diff)
Changes to allow compilation with GCC-4.1.0.
Diffstat (limited to 'package/mtd/mtd.mk')
-rw-r--r--package/mtd/mtd.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index ceaa58199..49d175056 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -21,6 +21,8 @@ $(DL_DIR)/$(MTD_SOURCE):
$(MTD_HOST_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE)
zcat $(DL_DIR)/$(MTD_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(MTD_HOST_DIR) \
+ package/mtd \*.patch
touch $(MTD_HOST_DIR)/.unpacked
$(MTD_HOST_DIR)/util/mkfs.jffs2: $(MTD_HOST_DIR)/.unpacked
@@ -46,6 +48,8 @@ MTD_DIR:=$(BUILD_DIR)/mtd-20050122.orig
$(MTD_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE)
zcat $(DL_DIR)/$(MTD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(MTD_DIR) \
+ package/mtd \*.patch
touch $(MTD_DIR)/.unpacked
MTD_TARGETS_n :=