update to 2.5.2 to fix compile issue
[openwrt.git] / target / linux / image / jffs2 / Makefile
index 8734ee2..071bacd 100644 (file)
@@ -11,13 +11,14 @@ $(DL_DIR)/$(MTD_SOURCE):
 
 $(MTD_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE)
        zcat $(DL_DIR)/$(MTD_SOURCE) | tar -C $(BUILD_DIR) -xvf -
+       $(PATCH) $(MTD_DIR) ./patches
        touch $(MTD_DIR)/.unpacked
 
 $(MTD_DIR)/util/mkfs.jffs2: $(MTD_DIR)/.unpacked
        $(MAKE) LINUXDIR=$(LINUX_DIR) -C $(MTD_DIR)/util
 
 $(STAGING_DIR)/bin/mkfs.jffs2: $(MTD_DIR)/util/mkfs.jffs2
-       cp $< $@
+       $(CP) $< $@
 
 source: $(DL_DIR)/$(MTD_SOURCE)
 prepare: $(MTD_DIR)/.unpacked
This page took 0.022921 seconds and 4 git commands to generate.