summaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx-2.6/image/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ixp4xx-2.6/image/Makefile')
-rw-r--r--target/linux/ixp4xx-2.6/image/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ixp4xx-2.6/image/Makefile b/target/linux/ixp4xx-2.6/image/Makefile
index fc17c0f9e..3c8582391 100644
--- a/target/linux/ixp4xx-2.6/image/Makefile
+++ b/target/linux/ixp4xx-2.6/image/Makefile
@@ -12,10 +12,15 @@ define Build/Compile
BUILD_DIR="$(KDIR)" \
TARGET="$(KDIR)" \
install
+ $(MAKE) -C npe-ucode \
+ BUILD_DIR="$(KDIR)" \
+ TARGET="$(KDIR)" \
+ install
endef
define Build/Clean
$(MAKE) -C apex clean
+ $(MAKE) -C npe-ucode clean
endef
define Image/Prepare
@@ -41,8 +46,8 @@ define Image/Build/jffs2-128k
-L $(KDIR)/apex-nslu2-armeb.bin \
-k $(BIN_DIR)/openwrt-nslu2-$(KERNEL)-zImage \
-r Flashdisk:$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img \
+ -m $(BIN_DIR)/NPE-B \
-p -o $(BIN_DIR)/openwrt-nslu2-$(KERNEL)-$(1).bin
-# -m $(BIN_DIR)/NPE-B
endef
$(eval $(call BuildImage))