[ppc40x] add support for the OpenRB Light board
[openwrt.git] / target / linux / ppc40x / image / Makefile
index a5be9be..60d85bf 100644 (file)
@@ -39,6 +39,10 @@ define Image/Build/jffs2-64k
                dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.magicboxv2 bs=1152k conv=sync; \
                dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
        ) > $(BIN_DIR)/openwrt-$(BOARD)-magicboxv2-jffs2.img
+       ( \
+               dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.openrb-light bs=1152k conv=sync; \
+               dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
+       ) > $(BIN_DIR)/openwrt-$(BOARD)-openrb-light-jffs2.img
 endef
 
 define Image/Build/squashfs
@@ -56,6 +60,10 @@ define Image/Build/squashfs
                dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.magicboxv2 bs=1152k conv=sync; \
                dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
        ) > $(BIN_DIR)/openwrt-$(BOARD)-magicboxv2-$(1).img
+       ( \
+               dd if=$(LINUX_DIR)/arch/powerpc/boot/cuImage.openrb-light bs=1152k conv=sync; \
+               dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \
+       ) > $(BIN_DIR)/openwrt-$(BOARD)-openrb-light-$(1).img
 endef
 
 $(eval $(call BuildImage))
This page took 0.023909 seconds and 4 git commands to generate.