From c892f37b30925bb298bd5f79aa7c9ba2f1809e32 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sat, 20 Aug 2016 01:17:16 +0200 Subject: ramips: move umedia build step to Makefile Some rt3883 based boards need this one as well. Signed-off-by: Mathias Kresin --- target/linux/ramips/image/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/linux/ramips/image/Makefile') diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 6116a53..ef30c79 100644 --- a/target/linux/ramips/image/Makefile +++ b/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 $@.new && mv $@.new $@ +endef + # # The real magic happens inside these templates # -- cgit v1.1