ath79: remove more duplicate image build variables
Remove Netgear-specific image build variables which are set to the same value. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> [reordering of variables, removed stray newline] Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
parent
1f839c8584
commit
d75d4837fc
@ -22,3 +22,10 @@ endef
|
|||||||
define Build/netgear-uImage
|
define Build/netgear-uImage
|
||||||
$(call Build/uImage,$(1) -M $(NETGEAR_KERNEL_MAGIC))
|
$(call Build/uImage,$(1) -M $(NETGEAR_KERNEL_MAGIC))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Device/netgear_ath79
|
||||||
|
KERNEL := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
|
||||||
|
IMAGES += factory.img
|
||||||
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
|
||||||
|
IMAGE/factory.img := $$(IMAGE/default) | netgear-dni | check-size $$$$(IMAGE_SIZE)
|
||||||
|
endef
|
||||||
|
@ -546,12 +546,9 @@ TARGET_DEVICES += pcs_cr5000
|
|||||||
|
|
||||||
define Device/netgear_wndr3x00
|
define Device/netgear_wndr3x00
|
||||||
ATH_SOC := ar7161
|
ATH_SOC := ar7161
|
||||||
KERNEL := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
|
|
||||||
IMAGES += factory.img
|
|
||||||
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
|
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_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
|
DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
|
||||||
|
$(Device/netgear_ath79)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/netgear_wndr3700
|
define Device/netgear_wndr3700
|
||||||
|
@ -1,35 +1,27 @@
|
|||||||
include ./common-netgear.mk
|
include ./common-netgear.mk
|
||||||
|
|
||||||
|
define Device/netgear_ar7240
|
||||||
|
ATH_SOC := ar7240
|
||||||
|
NETGEAR_KERNEL_MAGIC := 0x32303631
|
||||||
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
|
||||||
|
IMAGE_SIZE := 3904k
|
||||||
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
|
||||||
|
$(Device/netgear_ath79)
|
||||||
|
endef
|
||||||
|
|
||||||
define Device/netgear_wnr612-v2
|
define Device/netgear_wnr612-v2
|
||||||
ATH_SOC := ar7240
|
$(Device/netgear_ar7240)
|
||||||
DEVICE_TITLE := Netgear WNR612v2
|
DEVICE_TITLE := Netgear WNR612v2
|
||||||
DEVICE_DTS := ar7240_netgear_wnr612-v2
|
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
|
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)
|
|
||||||
SUPPORTED_DEVICES += wnr612-v2
|
SUPPORTED_DEVICES += wnr612-v2
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += netgear_wnr612-v2
|
TARGET_DEVICES += netgear_wnr612-v2
|
||||||
|
|
||||||
define Device/on_n150r
|
define Device/on_n150r
|
||||||
ATH_SOC := ar7240
|
$(Device/netgear_ar7240)
|
||||||
DEVICE_TITLE := ON Network N150R
|
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
|
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
|
SUPPORTED_DEVICES += n150r
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += on_n150r
|
TARGET_DEVICES += on_n150r
|
||||||
|
Loading…
Reference in New Issue
Block a user