X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fimage%2FMakefile;h=7b53a2f7442fcfaa92d208d1fab5240cb1fd036c;hb=034c5cb820f391e2d474697ccf2d690acf4b861e;hp=6116a53bf2bffeb2358769f41787e6901a862066;hpb=592c0a1cd226b7c5a90fb2c3127ac1e0743c22fd;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 6116a53bf2..7b53a2f744 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 # @@ -296,6 +300,7 @@ define Image/Build endef define Image/Build/Profile + $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(call Image/Build/Profile/$(1),initramfs)) $(call Image/Build/Profile/$(1),$(2)) endef