mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
ab1584a797
Replace NETGEAR_KERNEL_MAGIC by UIMAGE_MAGIC to better match the variable's purpose. This allows to drop the custom Build/netgear-uImage. Signed-off-by: Sander Vanheule <sander@svanheule.net> [keep UIMAGE_MAGIC definitions even for default value] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
60 lines
1.4 KiB
Makefile
60 lines
1.4 KiB
Makefile
include ./common-netgear.mk
|
|
|
|
define Device/netgear_wnr612-v2
|
|
$(Device/netgear_generic)
|
|
SOC := ar7240
|
|
DEVICE_MODEL := WNR612
|
|
DEVICE_VARIANT := v2
|
|
DEVICE_DTS := ar7240_netgear_wnr612-v2
|
|
UIMAGE_MAGIC := 0x32303631
|
|
NETGEAR_BOARD_ID := REALWNR612V2
|
|
IMAGE_SIZE := 3712k
|
|
SUPPORTED_DEVICES += wnr612-v2
|
|
DEFAULT := n
|
|
endef
|
|
TARGET_DEVICES += netgear_wnr612-v2
|
|
|
|
define Device/on_n150r
|
|
$(Device/netgear_generic)
|
|
SOC := ar7240
|
|
DEVICE_VENDOR := On Networks
|
|
DEVICE_MODEL := N150R
|
|
UIMAGE_MAGIC := 0x32303631
|
|
NETGEAR_BOARD_ID := N150R
|
|
IMAGE_SIZE := 3712k
|
|
SUPPORTED_DEVICES += n150r
|
|
DEFAULT := n
|
|
endef
|
|
TARGET_DEVICES += on_n150r
|
|
|
|
define Device/netgear_wnr1000-v2
|
|
$(Device/netgear_generic)
|
|
SOC := ar7240
|
|
DEVICE_MODEL := WNR1000
|
|
DEVICE_VARIANT := v2
|
|
UIMAGE_MAGIC := 0x31303031
|
|
NETGEAR_BOARD_ID := WNR1000V2
|
|
NETGEAR_HW_ID := 29763331+4+32
|
|
IMAGE_SIZE := 3712k
|
|
SUPPORTED_DEVICES += wnr1000-v2
|
|
DEFAULT := n
|
|
endef
|
|
TARGET_DEVICES += netgear_wnr1000-v2
|
|
|
|
define Device/netgear_wnr2000-v3
|
|
$(Device/netgear_generic)
|
|
SOC := ar7241
|
|
DEVICE_MODEL := WNR2000
|
|
DEVICE_VARIANT := v3
|
|
UIMAGE_MAGIC := 0x32303033
|
|
NETGEAR_BOARD_ID := WNR2000V3
|
|
NETGEAR_HW_ID := 29763551+04+32
|
|
IMAGE_SIZE := 3712k
|
|
IMAGES += factory-NA.img
|
|
IMAGE/factory-NA.img := $$(IMAGE/default) | netgear-dni NA | \
|
|
check-size
|
|
SUPPORTED_DEVICES += wnr2000-v3
|
|
DEFAULT := n
|
|
endef
|
|
TARGET_DEVICES += netgear_wnr2000-v3
|