فهرست منبع

ramips: move umedia build step to Makefile

Some rt3883 based boards need this one as well.

Signed-off-by: Mathias Kresin <[email protected]>
Mathias Kresin 9 سال پیش
والد
کامیت
c892f37b30
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 0
      target/linux/ramips/image/Makefile
  2. 0 4
      target/linux/ramips/image/mt7620.mk

+ 4 - 0
target/linux/ramips/image/Makefile

@@ -74,6 +74,10 @@ define MkCombineduImage
 	$(call MkImage,lzma,$(KDIR)/vmlinux-$(2).bin.lzma.combined,$(call sysupname,$(1),$(2)),$(6))
 endef
 
+define Build/umedia-header
+	fix-u-media-header -T 0x46 -B $(1) -i $@ -o [email protected] && mv [email protected] $@
+endef
+
 #
 # The real magic happens inside these templates
 #

+ 0 - 4
target/linux/ramips/image/mt7620.mk

@@ -26,10 +26,6 @@ define Build/poray-header
 		mv [email protected] $@
 endef
 
-define Build/umedia-header
-	fix-u-media-header -T 0x46 -B $(1) -i $@ -o [email protected] && mv [email protected] $@
-endef
-
 define Build/elecom-header
 	cp $@ $(KDIR)/v_0.0.0.bin
 	( \