realtek: use Device prefix for common recipes
[openwrt/staging/nbd.git] / target / linux / realtek / image / common.mk
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 define Device/d-link_dgs-1210
4 IMAGE_SIZE := 13824k
5 DEVICE_VENDOR := D-Link
6 DLINK_KERNEL_PART_SIZE := 1572864
7 KERNEL := kernel-bin | append-dtb | gzip | uImage gzip | dlink-cameo
8 CAMEO_KERNEL_PART := 2
9 CAMEO_ROOTFS_PART := 3
10 CAMEO_CUSTOMER_SIGNATURE := 2
11 CAMEO_BOARD_VERSION := 32
12 IMAGES += factory_image1.bin
13 IMAGE/factory_image1.bin := append-kernel | pad-to 64k | \
14 append-rootfs | pad-rootfs | pad-to 16 | check-size | \
15 dlink-version | dlink-headers
16 endef
17
18 define Device/hpe_1920
19 DEVICE_VENDOR := HPE
20 IMAGE_SIZE := 29632k
21 BLOCKSIZE := 64k
22 H3C_PRODUCT_ID := 0x3c010501
23 KERNEL := kernel-bin | append-dtb | relocate-kernel | 7z | h3c-image | h3c-vfs
24 KERNEL_INITRAMFS := kernel-bin | append-dtb | relocate-kernel | 7z | h3c-image
25 IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | \
26 pad-rootfs | check-size | append-metadata
27 endef