Author: kaloz
Date: 2015-01-14 12:39:20 +0100 (Wed, 14 Jan 2015)
New Revision: 43969

Modified:
   trunk/target/linux/mvebu/image/Makefile
Log:
mvebu: Switch to the generic mkuimage macro

The mvebu image makefile define something almost identical to the generic
implementation found in include/image.mk.
 
Switch to this implementation.
 
Signed-off-by: Maxime Ripard <[email protected]>



Modified: trunk/target/linux/mvebu/image/Makefile
===================================================================
--- trunk/target/linux/mvebu/image/Makefile     2015-01-14 11:37:29 UTC (rev 
43968)
+++ trunk/target/linux/mvebu/image/Makefile     2015-01-14 11:39:20 UTC (rev 
43969)
@@ -24,15 +24,12 @@
 
 UIMAGE:=$(BIN_DIR)/$(IMG_PREFIX)-uImage
 
-define Image/Build/MkuImage
-       mkimage -A arm -O linux -T kernel -a $(LOADADDR) -C none -e $(LOADADDR) 
\
-       -n 'ARM OpenWrt Linux-$(LINUX_VERSION)' -d $(1) $(2);
-endef
-
 define Image/Build/DTB
        cp $(KDIR)/zImage$(2) $(KDIR)/zImage$(2)-$(1);
        cat $(DTS_DIR)/$(1).dtb >> $(KDIR)/zImage$(2)-$(1);
-       $(call 
Image/Build/MkuImage,$(KDIR)/zImage$(2)-$(1),$(KDIR)/uImage$(2)-$(1))
+       $(call Image/BuildKernel/MkuImage, \
+               none, $(LOADADDR), $(LOADADDR), \
+               $(KDIR)/zImage$(2)-$(1), $(KDIR)/uImage$(2)-$(1))
        cp $(KDIR)/uImage$(2)-$(1) $(UIMAGE)$(2)-$(1);
 endef
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to