瀏覽代碼

mvebu: add note about the move to single firmware files

Signed-off-by: Imre Kaloz <[email protected]>

SVN-Revision: 44291
Imre Kaloz 11 年之前
父節點
當前提交
865647cea2
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      target/linux/mvebu/image/Makefile

+ 3 - 0
target/linux/mvebu/image/Makefile

@@ -22,6 +22,7 @@ define Image/Build/DTB
 	$(call Image/BuildKernel/MkuImage, \
 	$(call Image/BuildKernel/MkuImage, \
 		none, $(LOADADDR), $(LOADADDR), \
 		none, $(LOADADDR), $(LOADADDR), \
 		$(KDIR)/zImage$(2)-$(1), $(KDIR)/uImage$(2)-$(1))
 		$(KDIR)/zImage$(2)-$(1), $(KDIR)/uImage$(2)-$(1))
+# The next line will be dropped, migrate your board to use a single firmware file
 	cp $(KDIR)/uImage$(2)-$(1) $(UIMAGE)$(2)-$(1);
 	cp $(KDIR)/uImage$(2)-$(1) $(UIMAGE)$(2)-$(1);
 endef
 endef
 
 
@@ -48,6 +49,7 @@ define NANDProfile
 
 
   define Image/Build/Profile/$(1)/squashfs
   define Image/Build/Profile/$(1)/squashfs
 	$(call Image/Build/UbinizeImage,$(2),,squashfs, -p $(3) -m $(4) $(if $(5),-s $(5)))
 	$(call Image/Build/UbinizeImage,$(2),,squashfs, -p $(3) -m $(4) $(if $(5),-s $(5)))
+# The next line will be dropped, migrate your board to use a single firmware file
 	cp $(KDIR)/$$(IMG_PREFIX)-$(2)-squashfs-ubinized.bin $(BIN_DIR)
 	cp $(KDIR)/$$(IMG_PREFIX)-$(2)-squashfs-ubinized.bin $(BIN_DIR)
   endef
   endef
 
 
@@ -167,6 +169,7 @@ endef
 
 
 define Image/Build
 define Image/Build
 	$(call Image/Build/$(1))
 	$(call Image/Build/$(1))
+# The next line will be dropped, migrate your board to use a single firmware file
 	dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync
 	dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync
 	$(call Image/Build/Profile/$(PROFILE)/BuildSysupgrade,$(1))
 	$(call Image/Build/Profile/$(PROFILE)/BuildSysupgrade,$(1))
 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)