X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fimage%2FMakefile;h=2d4395dca41fcdaea390898ee6731c31f442abee;hb=4470e662e6cb52c62f5cf4f3ce63bd83a474b48b;hp=32047ccfedcded2908ed102fbf4aaab55b445c0c;hpb=0fb20713f7137d08854fc5cc233377490496c2ae;p=15.05%2Fopenwrt.git diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 32047ccfed..2d4395dca4 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -29,10 +29,16 @@ define kernel_entry -a 0x88000000 -e 0x88000000 endef else +ifeq ($(CONFIG_SOC_MT7621),y) +define kernel_entry +-a 0x80001000 -e 0x80001000 +endef +else define kernel_entry -a 0x80000000 -e 0x80000000 endef endif +endif define MkCombineduImage $(call PatchKernelLzma,$(2),$(3)) @@ -640,10 +646,25 @@ endif # Image/Build/Profile/WMR300=$(call BuildFirmware/Default8M/$(1),$(1),wmr-300,WMR300) +Image/Build/Profile/RT-N14U=$(call BuildFirmware/Default8M/$(1),$(1),rt-n14u,RT-N14U) ifeq ($(SUBTARGET),mt7620n) define Image/Build/Profile/Default $(call Image/Build/Profile/WMR300,$(1)) + $(call Image/Build/Profile/RT-N14U,$(1)) +endef +endif + + +# +# MT7621 Profiles +# + +Image/Build/Profile/MT7621=$(call BuildFirmware/Default4M/$(1),$(1),mt7621,MT7621) + +ifeq ($(SUBTARGET),mt7621) +define Image/Build/Profile/Default + $(call Image/Build/Profile/MT7621,$(1)) endef endif