ixp4xx-2.6/nslu2: Added support for building 16MB images
authorRod Whitby <rod@whitby.id.au>
Fri, 10 Aug 2007 13:09:12 +0000 (13:09 +0000)
committerRod Whitby <rod@whitby.id.au>
Fri, 10 Aug 2007 13:09:12 +0000 (13:09 +0000)
SVN-Revision: 8388

target/linux/ixp4xx-2.6/image/Makefile

index 8d05a1b..70ff0eb 100644 (file)
@@ -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