X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fimage%2FMakefile;h=05d979573a0cd62a4ba02b0175ce327c9e4586d2;hb=67402aee494334f23cfbc95e5c7cbb080ddc7bbf;hp=2c0fc462f0774f84edf490d4927528fa74e10b3d;hpb=f2a785150a4c3558288280f54329a60daed27b47;p=openwrt.git diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 2c0fc462f0..05d979573a 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -32,6 +32,7 @@ KERNEL_LOADADDR := $(loadaddr-y) KERNEL_DTB = kernel-bin | patch-dtb | lzma define Device/Default + KERNEL_DEPENDS = $$(wildcard ../dts/$$(DTS).dts) KERNEL := $(KERNEL_DTB) | uImage lzma IMAGES := sysupgrade.bin IMAGE_SIZE := $(ralink_default_fw_size_8M) @@ -1073,7 +1074,7 @@ define Device/ubnt-erx FILESYSTEMS := squashfs KERNEL_SIZE := 3145728 KERNEL := $(KERNEL_DTB) | uImage lzma - IMAGES := sysupgrade.tar factory-initramfs.tar + IMAGES := sysupgrade.tar $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),factory-initramfs.tar) IMAGE/factory-initramfs.tar := ubnt-erx-factory-compat | \ ubnt-erx-factory-kernel | \ ubnt-erx-factory-rootfs | \ @@ -1087,10 +1088,12 @@ endef # Image/Build/Profile/MT7628=$(call BuildFirmware/Default4M/$(1),$(1),mt7628,MT7628) +Image/Build/Profile/WRTNODE2P=$(call BuildFirmware/Default16M/$(1),$(1),wrtnode2p,WRTNODE2P) ifeq ($(SUBTARGET),mt7628) define Image/Build/Profile/Default $(call Image/Build/Profile/MT7628,$(1)) + $(call Image/Build/Profile/WRTNODE2P,$(1)) endef endif @@ -1100,10 +1103,12 @@ endif # Image/Build/Profile/LinkIt7688=$(call BuildFirmware/Default32M/$(1),$(1),LinkIt7688,LINKIT7688) +Image/Build/Profile/WRTNODE2R=$(call BuildFirmware/Default16M/$(1),$(1),wrtnode2r,WRTNODE2R) ifeq ($(SUBTARGET),mt7688) define Image/Build/Profile/Default $(call Image/Build/Profile/LinkIt7688,$(1)) + $(call Image/Build/Profile/WRTNODE2R,$(1)) endef endif