mirror of
https://github.com/openwrt/openwrt.git
synced 2024-11-28 20:34:53 +08:00
realtek: use Device prefix for common recipes
The Build prefix is used for image build commands, while the Device prefix should be used for base recipes for devices. Apply the same naming convention here. While touching the file, also fix the mixed indentation. Suggested-by: INAGAKI Hiroshi <musashino.open@gmail.com> Signed-off-by: Sander Vanheule <sander@svanheule.net>
This commit is contained in:
parent
00094efec3
commit
fe5a2f334f
@ -1,6 +1,6 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
define Build/d-link_dgs-1210
|
define Device/d-link_dgs-1210
|
||||||
IMAGE_SIZE := 13824k
|
IMAGE_SIZE := 13824k
|
||||||
DEVICE_VENDOR := D-Link
|
DEVICE_VENDOR := D-Link
|
||||||
DLINK_KERNEL_PART_SIZE := 1572864
|
DLINK_KERNEL_PART_SIZE := 1572864
|
||||||
@ -11,11 +11,11 @@ define Build/d-link_dgs-1210
|
|||||||
CAMEO_BOARD_VERSION := 32
|
CAMEO_BOARD_VERSION := 32
|
||||||
IMAGES += factory_image1.bin
|
IMAGES += factory_image1.bin
|
||||||
IMAGE/factory_image1.bin := append-kernel | pad-to 64k | \
|
IMAGE/factory_image1.bin := append-kernel | pad-to 64k | \
|
||||||
append-rootfs | pad-rootfs | pad-to 16 | check-size | \
|
append-rootfs | pad-rootfs | pad-to 16 | check-size | \
|
||||||
dlink-version | dlink-headers
|
dlink-version | dlink-headers
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/hpe_1920
|
define Device/hpe_1920
|
||||||
DEVICE_VENDOR := HPE
|
DEVICE_VENDOR := HPE
|
||||||
IMAGE_SIZE := 29632k
|
IMAGE_SIZE := 29632k
|
||||||
BLOCKSIZE := 64k
|
BLOCKSIZE := 64k
|
||||||
|
@ -13,7 +13,7 @@ endef
|
|||||||
TARGET_DEVICES += allnet_all-sg8208m
|
TARGET_DEVICES += allnet_all-sg8208m
|
||||||
|
|
||||||
define Device/d-link_dgs-1210-10mp-f
|
define Device/d-link_dgs-1210-10mp-f
|
||||||
$(Build/d-link_dgs-1210)
|
$(Device/d-link_dgs-1210)
|
||||||
SOC := rtl8380
|
SOC := rtl8380
|
||||||
DEVICE_MODEL := DGS-1210-10MP
|
DEVICE_MODEL := DGS-1210-10MP
|
||||||
DEVICE_VARIANT := F
|
DEVICE_VARIANT := F
|
||||||
@ -22,7 +22,7 @@ endef
|
|||||||
TARGET_DEVICES += d-link_dgs-1210-10mp-f
|
TARGET_DEVICES += d-link_dgs-1210-10mp-f
|
||||||
|
|
||||||
define Device/d-link_dgs-1210-10p
|
define Device/d-link_dgs-1210-10p
|
||||||
$(Build/d-link_dgs-1210)
|
$(Device/d-link_dgs-1210)
|
||||||
SOC := rtl8382
|
SOC := rtl8382
|
||||||
DEVICE_MODEL := DGS-1210-10P
|
DEVICE_MODEL := DGS-1210-10P
|
||||||
DEVICE_PACKAGES += lua-rs232
|
DEVICE_PACKAGES += lua-rs232
|
||||||
@ -30,21 +30,21 @@ endef
|
|||||||
TARGET_DEVICES += d-link_dgs-1210-10p
|
TARGET_DEVICES += d-link_dgs-1210-10p
|
||||||
|
|
||||||
define Device/d-link_dgs-1210-16
|
define Device/d-link_dgs-1210-16
|
||||||
$(Build/d-link_dgs-1210)
|
$(Device/d-link_dgs-1210)
|
||||||
SOC := rtl8382
|
SOC := rtl8382
|
||||||
DEVICE_MODEL := DGS-1210-16
|
DEVICE_MODEL := DGS-1210-16
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += d-link_dgs-1210-16
|
TARGET_DEVICES += d-link_dgs-1210-16
|
||||||
|
|
||||||
define Device/d-link_dgs-1210-20
|
define Device/d-link_dgs-1210-20
|
||||||
$(Build/d-link_dgs-1210)
|
$(Device/d-link_dgs-1210)
|
||||||
SOC := rtl8382
|
SOC := rtl8382
|
||||||
DEVICE_MODEL := DGS-1210-20
|
DEVICE_MODEL := DGS-1210-20
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += d-link_dgs-1210-20
|
TARGET_DEVICES += d-link_dgs-1210-20
|
||||||
|
|
||||||
define Device/d-link_dgs-1210-28
|
define Device/d-link_dgs-1210-28
|
||||||
$(Build/d-link_dgs-1210)
|
$(Device/d-link_dgs-1210)
|
||||||
SOC := rtl8382
|
SOC := rtl8382
|
||||||
DEVICE_MODEL := DGS-1210-28
|
DEVICE_MODEL := DGS-1210-28
|
||||||
endef
|
endef
|
||||||
@ -64,7 +64,7 @@ endef
|
|||||||
TARGET_DEVICES += engenius_ews2910p
|
TARGET_DEVICES += engenius_ews2910p
|
||||||
|
|
||||||
define Device/hpe_1920-8g
|
define Device/hpe_1920-8g
|
||||||
$(Build/hpe_1920)
|
$(Device/hpe_1920)
|
||||||
SOC := rtl8380
|
SOC := rtl8380
|
||||||
DEVICE_MODEL := 1920-8G (JG920A)
|
DEVICE_MODEL := 1920-8G (JG920A)
|
||||||
H3C_DEVICE_ID := 0x00010023
|
H3C_DEVICE_ID := 0x00010023
|
||||||
@ -72,7 +72,7 @@ endef
|
|||||||
TARGET_DEVICES += hpe_1920-8g
|
TARGET_DEVICES += hpe_1920-8g
|
||||||
|
|
||||||
define Device/hpe_1920-16g
|
define Device/hpe_1920-16g
|
||||||
$(Build/hpe_1920)
|
$(Device/hpe_1920)
|
||||||
SOC := rtl8382
|
SOC := rtl8382
|
||||||
DEVICE_MODEL := 1920-16G (JG923A)
|
DEVICE_MODEL := 1920-16G (JG923A)
|
||||||
H3C_DEVICE_ID := 0x00010026
|
H3C_DEVICE_ID := 0x00010026
|
||||||
@ -80,7 +80,7 @@ endef
|
|||||||
TARGET_DEVICES += hpe_1920-16g
|
TARGET_DEVICES += hpe_1920-16g
|
||||||
|
|
||||||
define Device/hpe_1920-24g
|
define Device/hpe_1920-24g
|
||||||
$(Build/hpe_1920)
|
$(Device/hpe_1920)
|
||||||
SOC := rtl8382
|
SOC := rtl8382
|
||||||
DEVICE_MODEL := 1920-24G (JG924A)
|
DEVICE_MODEL := 1920-24G (JG924A)
|
||||||
H3C_DEVICE_ID := 0x00010027
|
H3C_DEVICE_ID := 0x00010027
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
include ./common.mk
|
include ./common.mk
|
||||||
|
|
||||||
define Device/d-link_dgs-1210-52
|
define Device/d-link_dgs-1210-52
|
||||||
$(Build/d-link_dgs-1210)
|
$(Device/d-link_dgs-1210)
|
||||||
SOC := rtl8393
|
SOC := rtl8393
|
||||||
DEVICE_MODEL := DGS-1210-52
|
DEVICE_MODEL := DGS-1210-52
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user