rockchip: simplify redudant commands
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
@@ -69,6 +69,7 @@ define Device/Default
|
||||
PROFILES := Default
|
||||
KERNEL = kernel-bin | lzma | fit lzma $$(DTS_DIR)/$$(DEVICE_DTS).dtb
|
||||
IMAGES := sysupgrade.img.gz
|
||||
IMAGE/sysupgrade.img.gz = boot-common | boot-script | $$(BOOT_FLOW) | gzip | append-metadata
|
||||
DEVICE_DTS = rockchip/$$(SOC)-$(lastword $(subst _, ,$(1)))
|
||||
UBOOT_DEVICE_NAME = $(lastword $(subst _, ,$(1)))-$$(SOC)
|
||||
endef
|
||||
|
||||
@@ -9,7 +9,7 @@ define Device/ezpro_mrkaio-m68s
|
||||
DEVICE_VENDOR := EZPRO
|
||||
DEVICE_MODEL := Mrkaio M68S
|
||||
SOC := rk3568
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-img
|
||||
DEVICE_PACKAGES := kmod-ata-ahci kmod-ata-ahci-platform
|
||||
endef
|
||||
TARGET_DEVICES += ezpro_mrkaio-m68s
|
||||
@@ -20,7 +20,7 @@ define Device/firefly_roc-rk3328-cc
|
||||
SOC := rk3328
|
||||
DEVICE_DTS := rockchip/rk3328-roc-cc
|
||||
UBOOT_DEVICE_NAME := roc-cc-rk3328
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-bin
|
||||
endef
|
||||
TARGET_DEVICES += firefly_roc-rk3328-cc
|
||||
|
||||
@@ -28,7 +28,7 @@ define Device/friendlyarm_nanopi-r2c
|
||||
DEVICE_VENDOR := FriendlyARM
|
||||
DEVICE_MODEL := NanoPi R2C
|
||||
SOC := rk3328
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-bin
|
||||
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
||||
endef
|
||||
TARGET_DEVICES += friendlyarm_nanopi-r2c
|
||||
@@ -37,7 +37,7 @@ define Device/friendlyarm_nanopi-r2c-plus
|
||||
DEVICE_VENDOR := FriendlyARM
|
||||
DEVICE_MODEL := NanoPi R2C Plus
|
||||
SOC := rk3328
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-bin
|
||||
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
||||
endef
|
||||
TARGET_DEVICES += friendlyarm_nanopi-r2c-plus
|
||||
@@ -46,7 +46,7 @@ define Device/friendlyarm_nanopi-r2s
|
||||
DEVICE_VENDOR := FriendlyARM
|
||||
DEVICE_MODEL := NanoPi R2S
|
||||
SOC := rk3328
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-bin
|
||||
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
||||
endef
|
||||
TARGET_DEVICES += friendlyarm_nanopi-r2s
|
||||
@@ -55,7 +55,7 @@ define Device/friendlyarm_nanopi-r4s
|
||||
DEVICE_VENDOR := FriendlyARM
|
||||
DEVICE_MODEL := NanoPi R4S
|
||||
SOC := rk3399
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-bin
|
||||
DEVICE_PACKAGES := kmod-r8168
|
||||
endef
|
||||
TARGET_DEVICES += friendlyarm_nanopi-r4s
|
||||
@@ -64,7 +64,7 @@ define Device/friendlyarm_nanopi-r4se
|
||||
DEVICE_VENDOR := FriendlyARM
|
||||
DEVICE_MODEL := NanoPi R4SE
|
||||
SOC := rk3399
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-bin
|
||||
DEVICE_PACKAGES := kmod-r8168
|
||||
endef
|
||||
TARGET_DEVICES += friendlyarm_nanopi-r4se
|
||||
@@ -73,7 +73,7 @@ define Device/friendlyarm_nanopi-r4s-enterprise
|
||||
DEVICE_VENDOR := FriendlyARM
|
||||
DEVICE_MODEL := NanoPi R4S Enterprise Edition
|
||||
SOC := rk3399
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-bin
|
||||
DEVICE_PACKAGES := kmod-r8168
|
||||
endef
|
||||
TARGET_DEVICES += friendlyarm_nanopi-r4s-enterprise
|
||||
@@ -82,7 +82,7 @@ define Device/friendlyarm_nanopi-r5c
|
||||
DEVICE_VENDOR := FriendlyARM
|
||||
DEVICE_MODEL := NanoPi R5C
|
||||
SOC := rk3568
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-img
|
||||
DEVICE_PACKAGES := kmod-r8125 kmod-rtw88 rtl8822ce-firmware wpad-basic-openssl
|
||||
endef
|
||||
TARGET_DEVICES += friendlyarm_nanopi-r5c
|
||||
@@ -91,7 +91,7 @@ define Device/friendlyarm_nanopi-r5s
|
||||
DEVICE_VENDOR := FriendlyARM
|
||||
DEVICE_MODEL := NanoPi R5S
|
||||
SOC := rk3568
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-img
|
||||
DEVICE_PACKAGES := kmod-r8125
|
||||
endef
|
||||
TARGET_DEVICES += friendlyarm_nanopi-r5s
|
||||
@@ -101,7 +101,7 @@ define Device/lunzn_fastrhino-r66s
|
||||
DEVICE_MODEL := FastRhino R66S
|
||||
SOC := rk3568
|
||||
UBOOT_DEVICE_NAME := fastrhino-r66s-rk3568
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-img
|
||||
DEVICE_PACKAGES := kmod-r8125
|
||||
endef
|
||||
TARGET_DEVICES += lunzn_fastrhino-r66s
|
||||
@@ -110,7 +110,7 @@ define Device/lunzn_fastrhino-r68s
|
||||
DEVICE_VENDOR := Lunzn
|
||||
DEVICE_MODEL := FastRhino R68S
|
||||
SOC := rk3568
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-img | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-img
|
||||
DEVICE_PACKAGES := kmod-r8125
|
||||
endef
|
||||
TARGET_DEVICES += lunzn_fastrhino-r68s
|
||||
@@ -119,7 +119,7 @@ define Device/pine64_rockpro64
|
||||
DEVICE_VENDOR := Pine64
|
||||
DEVICE_MODEL := RockPro64
|
||||
SOC := rk3399
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-bin
|
||||
endef
|
||||
TARGET_DEVICES += pine64_rockpro64
|
||||
|
||||
@@ -129,7 +129,7 @@ define Device/radxa_rock-pi-4a
|
||||
SOC := rk3399
|
||||
SUPPORTED_DEVICES := radxa,rockpi4a radxa,rockpi4
|
||||
UBOOT_DEVICE_NAME := rock-pi-4-rk3399
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-bin
|
||||
endef
|
||||
TARGET_DEVICES += radxa_rock-pi-4a
|
||||
|
||||
@@ -137,7 +137,7 @@ define Device/xunlong_orangepi-r1-plus
|
||||
DEVICE_VENDOR := Xunlong
|
||||
DEVICE_MODEL := Orange Pi R1 Plus
|
||||
SOC := rk3328
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-bin
|
||||
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
||||
endef
|
||||
TARGET_DEVICES += xunlong_orangepi-r1-plus
|
||||
@@ -146,7 +146,7 @@ define Device/xunlong_orangepi-r1-plus-lts
|
||||
DEVICE_VENDOR := Xunlong
|
||||
DEVICE_MODEL := Orange Pi R1 Plus LTS
|
||||
SOC := rk3328
|
||||
IMAGE/sysupgrade.img.gz := boot-common | boot-script | pine64-bin | gzip | append-metadata
|
||||
BOOT_FLOW := pine64-bin
|
||||
DEVICE_PACKAGES := kmod-usb-net-rtl8152
|
||||
endef
|
||||
TARGET_DEVICES += xunlong_orangepi-r1-plus-lts
|
||||
|
||||
Reference in New Issue
Block a user