From d75d4837fc714284042210f0704cf495f0d0c956 Mon Sep 17 00:00:00 2001 From: Daniel Gimpelevich Date: Wed, 2 Jan 2019 14:19:04 -0800 Subject: ath79: remove more duplicate image build variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove Netgear-specific image build variables which are set to the same value. Signed-off-by: Daniel Gimpelevich [reordering of variables, removed stray newline] Signed-off-by: Petr Štetiar --- target/linux/ath79/image/tiny-netgear.mk | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) (limited to 'target/linux/ath79/image/tiny-netgear.mk') diff --git a/target/linux/ath79/image/tiny-netgear.mk b/target/linux/ath79/image/tiny-netgear.mk index 8d0de15a1b..42d6cab8bd 100644 --- a/target/linux/ath79/image/tiny-netgear.mk +++ b/target/linux/ath79/image/tiny-netgear.mk @@ -1,35 +1,27 @@ include ./common-netgear.mk - -define Device/netgear_wnr612-v2 +define Device/netgear_ar7240 ATH_SOC := ar7240 - DEVICE_TITLE := Netgear WNR612v2 - DEVICE_DTS := ar7240_netgear_wnr612-v2 NETGEAR_KERNEL_MAGIC := 0x32303631 - KERNEL := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma - NETGEAR_BOARD_ID := REALWNR612V2 IMAGE_SIZE := 3904k - IMAGES += factory.img IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs - IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE) - IMAGE/factory.img := $$(IMAGE/default) | netgear-dni | check-size $$$$(IMAGE_SIZE) + $(Device/netgear_ath79) +endef + +define Device/netgear_wnr612-v2 + $(Device/netgear_ar7240) + DEVICE_TITLE := Netgear WNR612v2 + DEVICE_DTS := ar7240_netgear_wnr612-v2 + NETGEAR_BOARD_ID := REALWNR612V2 SUPPORTED_DEVICES += wnr612-v2 endef TARGET_DEVICES += netgear_wnr612-v2 define Device/on_n150r - ATH_SOC := ar7240 + $(Device/netgear_ar7240) DEVICE_TITLE := ON Network N150R - NETGEAR_KERNEL_MAGIC := 0x32303631 - KERNEL := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma - KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma NETGEAR_BOARD_ID := N150R - IMAGE_SIZE := 3904k - IMAGES += factory.img - IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs - IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE) - IMAGE/factory.img := $$(IMAGE/default) | netgear-dni | check-size $$$$(IMAGE_SIZE) SUPPORTED_DEVICES += n150r endef TARGET_DEVICES += on_n150r -- cgit v1.2.3