Browse Source

ixp4xx-2.6/nslu2: Added support for building 16MB images

SVN-Revision: 8388
Rod Whitby 18 years ago
parent
commit
ae19c30cb5
1 changed files with 5 additions and 0 deletions
  1. 5 0
      target/linux/ixp4xx-2.6/image/Makefile

+ 5 - 0
target/linux/ixp4xx-2.6/image/Makefile

@@ -25,6 +25,11 @@ ifneq ($(CONFIG_IXP4XX_INCLUDE_UCODE),)
 		-k $(BIN_DIR)/openwrt-nslu2-$(KERNEL)-zImage \
 		-r rootfs:$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img \
 		-p -o $(BIN_DIR)/openwrt-nslu2-$(KERNEL)-$(1).bin
+	BIN_DIR=$(BIN_DIR) $(TOPDIR)/scripts/slugimage.pl \
+		-F -L $(KDIR)/apex-nslu2-armeb.bin -m $(KDIR)/NPE-B \
+		-k $(BIN_DIR)/openwrt-nslu2-$(KERNEL)-zImage \
+		-r rootfs:$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img \
+		-p -o $(BIN_DIR)/openwrt-nslu2-$(KERNEL)-$(1)-16mb.bin
   endef
 endif