include $(INCLUDE_DIR)/target.mk
-DEFAULT_PACKAGES += uboot-envtools ethtool kmod-gpio-button-hotplug \
- firewall4 nftables kmod-nft-offload odhcp6c \
- ip-full ip-bridge tc-bpf
+DEFAULT_PACKAGES += \
+ ethtool \
+ firewall4 \
+ ip-bridge \
+ ip-full \
+ kmod-gpio-button-hotplug \
+ kmod-nft-offload \
+ nftables \
+ odhcp6c \
+ tc-bpf \
+ uboot-envtools \
+
$(eval $(call BuildTarget))
KERNEL_LOADADDR = 0x80000000
KERNEL_ENTRY = 0x80000400
-DEVICE_VARS += ZYXEL_VERS DLINK_KERNEL_PART_SIZE
-DEVICE_VARS += CAMEO_KERNEL_PART CAMEO_ROOTFS_PART CAMEO_CUSTOMER_SIGNATURE CAMEO_BOARD_VERSION
-DEVICE_VARS += H3C_PRODUCT_ID H3C_DEVICE_ID
+DEVICE_VARS += \
+ CAMEO_BOARD_VERSION \
+ CAMEO_CUSTOMER_SIGNATURE \
+ CAMEO_KERNEL_PART \
+ CAMEO_ROOTFS_PART \
+ DLINK_KERNEL_PART_SIZE \
+ H3C_DEVICE_ID \
+ H3C_PRODUCT_ID \
+ ZYXEL_VERS
define Build/zyxel-vers
( echo VERS;\
define Device/Default
PROFILES = Default
- KERNEL := kernel-bin | append-dtb | gzip | uImage gzip
- KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | uImage gzip
+ KERNEL := \
+ kernel-bin | \
+ append-dtb | \
+ gzip | \
+ uImage gzip
+ KERNEL_INITRAMFS := \
+ kernel-bin | \
+ append-dtb | \
+ gzip | \
+ uImage gzip
DEVICE_DTS_DIR := ../dts-$(KERNEL_PATCHVER)
DEVICE_DTS = $$(SOC)_$(1)
IMAGES := sysupgrade.bin
- IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | append-rootfs | pad-rootfs | \
- check-size | append-metadata
+ IMAGE/sysupgrade.bin := \
+ append-kernel | \
+ append-metadata | \
+ append-rootfs | \
+ check-size | \
+ pad-rootfs | \
+ pad-to 64k
endef
include $(SUBTARGET).mk
IMAGE_SIZE := 13824k
DEVICE_VENDOR := D-Link
DLINK_KERNEL_PART_SIZE := 1572864
- KERNEL := kernel-bin | append-dtb | gzip | uImage gzip | dlink-cameo
+ KERNEL := \
+ kernel-bin | \
+ append-dtb | \
+ gzip | \
+ uImage gzip | \
+ dlink-cameo
CAMEO_KERNEL_PART := 2
CAMEO_ROOTFS_PART := 3
CAMEO_CUSTOMER_SIGNATURE := 2
CAMEO_BOARD_VERSION := 32
IMAGES += factory_image1.bin
- IMAGE/factory_image1.bin := append-kernel | pad-to 64k | \
- append-rootfs | pad-rootfs | pad-to 16 | check-size | \
- dlink-version | dlink-headers
+ IMAGE/factory_image1.bin := \
+ append-kernel | \
+ pad-to 64k | \
+ append-rootfs | \
+ pad-rootfs | \
+ pad-to 16 | \
+ check-size | \
+ dlink-version | \
+ dlink-headers
endef
define Device/hpe_1920
IMAGE_SIZE := 29632k
BLOCKSIZE := 64k
H3C_PRODUCT_ID := 0x3c010501
- KERNEL := kernel-bin | append-dtb | relocate-kernel | 7z | h3c-image | h3c-vfs
- KERNEL_INITRAMFS := kernel-bin | append-dtb | relocate-kernel | 7z | h3c-image
- IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | \
- pad-rootfs | check-size | append-metadata
+ KERNEL := \
+ kernel-bin | \
+ append-dtb | \
+ relocate-kernel | \
+ 7z | \
+ h3c-image | \
+ h3c-vfs
+ KERNEL_INITRAMFS := \
+ kernel-bin | \
+ append-dtb | \
+ relocate-kernel | \
+ 7z | \
+ h3c-image
+ IMAGE/sysupgrade.bin := \
+ append-kernel | \
+ pad-to $$$$(BLOCKSIZE) | \
+ append-rootfs | \
+ pad-rootfs | \
+ check-size | \
+ append-metadata
endef
DEVICE_VENDOR := EnGenius
DEVICE_MODEL := EWP2910P
UIMAGE_MAGIC := 0x03802910
- KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | \
+ KERNEL_INITRAMFS := \
+ kernel-bin | \
+ append-dtb | \
+ gzip | \
uImage gzip -n 'IMG-0.00.00-c0.0.00'
endef
TARGET_DEVICES += engenius_ews2910p
# "NGE" refers to the uImage magic
define Device/netgear_nge
- KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
- KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
+ KERNEL := \
+ kernel-bin | \
+ append-dtb | \
+ lzma | \
+ uImage lzma
+ KERNEL_INITRAMFS := \
+ kernel-bin | \
+ append-dtb | \
+ lzma | \
+ uImage lzma
SOC := rtl8380
IMAGE_SIZE := 14848k
UIMAGE_MAGIC := 0x4e474520
IMAGE_SIZE := 6976k
DEVICE_VENDOR := ZyXEL
UIMAGE_MAGIC := 0x83800000
- KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | zyxel-vers | \
+ KERNEL_INITRAMFS := \
+ kernel-bin | \
+ append-dtb | \
+ gzip | \
+ zyxel-vers | \
uImage gzip
endef
DEVICE_VENDOR := Panasonic
DEVICE_MODEL := Switch-M48eG
DEVICE_VARIANT := PN28480K
- DEVICE_PACKAGES := kmod-hwmon-gpiofan kmod-hwmon-lm75 kmod-i2c-mux-pca954x \
+ DEVICE_PACKAGES := \
+ kmod-hwmon-gpiofan \
+ kmod-hwmon-lm75 \
+ kmod-i2c-mux-pca954x \
kmod-thermal
endef
TARGET_DEVICES += panasonic_m48eg-pn28480k
DEVICE_VENDOR := TP-Link
DEVICE_MODEL := SG2452P
DEVICE_VARIANT := v4
- DEVICE_PACKAGES := kmod-hwmon-gpiofan kmod-hwmon-tps23861
+ DEVICE_PACKAGES := \
+ kmod-hwmon-gpiofan \
+ kmod-hwmon-tps23861
endef
TARGET_DEVICES += tplink_sg2452p-v4
UIMAGE_MAGIC := 0x83800000
ZYXEL_VERS := AAHO
DEVICE_MODEL := GS1900-48
- KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | zyxel-vers $$$$(ZYXEL_VERS) | \
+ KERNEL_INITRAMFS := \
+ kernel-bin | \
+ append-dtb | \
+ gzip | \
+ zyxel-vers $$$$(ZYXEL_VERS) | \
uImage gzip
endef
TARGET_DEVICES += zyxel_gs1900-48
ZYXEL_VERS := ABWE
DEVICE_VENDOR := Zyxel
DEVICE_MODEL := XGS1250-12
- IMAGE_SIZE := 13312k
- KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | zyxel-vers $$$$(ZYXEL_VERS) | \
+ IMAGE_SIZE := 13312k
+ KERNEL_INITRAMFS := \
+ kernel-bin | \
+ append-dtb | \
+ gzip | \
+ zyxel-vers $$$$(ZYXEL_VERS) | \
uImage gzip
endef
-
TARGET_DEVICES += zyxel_xgs1250-12
endef
FEATURES := $(filter-out mips16,$(FEATURES))
-
define Target/Description
Build firmware images for Realtek RTL839x based boards.
endef
-
define Target/Description
Build firmware images for Realtek RTL930x based boards.
endef
-