[source] ramips: move umedia build step to Makefile
LEDE Commits
lede-commits at lists.infradead.org
Sat Aug 20 02:47:56 PDT 2016
mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=c892f37b30925bb298bd5f79aa7c9ba2f1809e32
commit c892f37b30925bb298bd5f79aa7c9ba2f1809e32
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Sat Aug 20 01:17:16 2016 +0200
ramips: move umedia build step to Makefile
Some rt3883 based boards need this one as well.
Signed-off-by: Mathias Kresin <dev at kresin.me>
---
target/linux/ramips/image/Makefile | 4 ++++
target/linux/ramips/image/mt7620.mk | 4 ----
2 files changed, 4 insertions(+), 4 deletions(-)
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
#
diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk
index 8e1346d..00dd4f2 100644
--- a/target/linux/ramips/image/mt7620.mk
+++ b/target/linux/ramips/image/mt7620.mk
@@ -26,10 +26,6 @@ define Build/poray-header
mv $@.new $@
endef
-define Build/umedia-header
- fix-u-media-header -T 0x46 -B $(1) -i $@ -o $@.new && mv $@.new $@
-endef
-
define Build/elecom-header
cp $@ $(KDIR)/v_0.0.0.bin
( \
More information about the lede-commits
mailing list