X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fimage%2FMakefile;h=82addb27f8b3559af610877ddf82a6cb4dc5c729;hp=5d99736a3d6fe361b22013e915fbb91989739ab3;hb=6ff020c5558752edee9a615361f5b6d24d088aed;hpb=fdd6fa081f86544e81d8900a0072e06db17361a9 diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 5d99736a3d..82addb27f8 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)) @@ -613,6 +619,7 @@ endif Image/Build/Profile/MT7620a=$(call BuildFirmware/Default8M/$(1),$(1),mt7620a,MT7620a) Image/Build/Profile/MT7620a_MT7610e=$(call BuildFirmware/Default8M/$(1),$(1),mt7620a_mt7610e,MT7620a_MT7610e) Image/Build/Profile/MT7620a_MT7530=$(call BuildFirmware/Default8M/$(1),$(1),mt7620a_mt7530,MT7620a_MT7530) +Image/Build/Profile/MT7620a_V22SG=$(call BuildFirmware/Default8M/$(1),$(1),mt7620a_v22sg,MT7620a_V22SG) Image/Build/Profile/RP-N53=$(call BuildFirmware/Default8M/$(1),$(1),rp_n53,RP-N53) whr_300hp2_mtd_size=7012352 Image/Build/Profile/WHR-300HP2=$(call BuildFirmware/CustomFlash/$(1),$(1),whr-300hp2,WHR-300HP2,$(whr_300hp2_mtd_size)) @@ -625,6 +632,7 @@ define Image/Build/Profile/Default $(call Image/Build/Profile/MT7620a,$(1)) $(call Image/Build/Profile/MT7620a_MT7610e,$(1)) $(call Image/Build/Profile/MT7620a_MT7530,$(1)) + $(call Image/Build/Profile/MT7620a_V22SG,$(1)) $(call Image/Build/Profile/RP-N53,$(1)) $(call Image/Build/Profile/DIR-810L,$(1)) $(call Image/Build/Profile/WHR-300HP2,$(1)) @@ -647,6 +655,19 @@ 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 + + +# # Generic Targets # define Image/BuildKernel