projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: fix wrong device title
[oweals/openwrt.git]
/
target
/
linux
/
ramips
/
image
/
Makefile
diff --git
a/target/linux/ramips/image/Makefile
b/target/linux/ramips/image/Makefile
index 6116a53bf2bffeb2358769f41787e6901a862066..7b53a2f7442fcfaa92d208d1fab5240cb1fd036c 100644
(file)
--- 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
$(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
#
#
# The real magic happens inside these templates
#
@@
-296,6
+300,7
@@
define Image/Build
endef
define Image/Build/Profile
endef
define Image/Build/Profile
+ $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(call Image/Build/Profile/$(1),initramfs))
$(call Image/Build/Profile/$(1),$(2))
endef
$(call Image/Build/Profile/$(1),$(2))
endef