tinker board: refactor machine config
PATCH 1/1 tinker board: refactor machine config
Create a common conf/machine/include/tinker.inc and re-spin
- conf/machine/tinker-board.conf
- conf/machine-tinker-board-s.conf
to just contain the differences.
Signed-off-by Trevor Woerner <[email protected]>
--- conf/machine/include/tinker.inc | 15 +++++++++++++++ conf/machine/tinker-board-s.conf | 16 +--------------- conf/machine/tinker-board.conf | 16 +--------------- 3 files changed, 17 insertions(+), 30 deletions(-) create mode 100644 conf/machine/include/tinker.inc
conf/machine/include/tinker.inc new file +15 -0
@@ -0,0 +1,15 @@ +require conf/machine/include/rk3288.inc + +WKS_FILE ?= "tinker-board.wks" +IMAGE_FSTYPES += "wic wic.bmap" + +WKS_FILE_DEPENDS ?= " \ + mtools-native \ + dosfstools-native \ + virtual/bootloader \ + virtual/kernel \ + " +IMAGE_BOOT_FILES ?= "\ + ${KERNEL_IMAGETYPE} \ + ${KERNEL_DEVICETREE} \ + "
conf/machine/tinker-board-s.conf +1 -15
@@ -5,23 +5,9 @@ #@NAME: Tinker-S RK3288 #@DESCRIPTION: ASUS Tinker Board is a Raspberry Pi 3 Alternative based on Rockchip RK3288 Processor. -require conf/machine/include/rk3288.inc +require conf/machine/include/tinker.inc KERNEL_DEVICETREE = "rk3288-tinker-s.dtb" UBOOT_MACHINE = "tinker-s-rk3288_defconfig" RK_BOOT_DEVICE ?= "mmcblk1" - -WKS_FILE ?= "tinker-board.wks" -IMAGE_FSTYPES += "wic wic.bmap" - -WKS_FILE_DEPENDS ?= " \ - mtools-native \ - dosfstools-native \ - virtual/bootloader \ - virtual/kernel \ - " -IMAGE_BOOT_FILES ?= "\ - ${KERNEL_IMAGETYPE} \ - ${KERNEL_DEVICETREE} \ - "
conf/machine/tinker-board.conf +1 -15
@@ -5,21 +5,7 @@ #@NAME: Tinker RK3288 #@DESCRIPTION: ASUS Tinker Board is a Raspberry Pi 3 Alternative based on Rockchip RK3288 Processor. -require conf/machine/include/rk3288.inc +require conf/machine/include/tinker.inc KERNEL_DEVICETREE = "rk3288-tinker.dtb" UBOOT_MACHINE = "tinker-rk3288_defconfig" - -WKS_FILE ?= "tinker-board.wks" -IMAGE_FSTYPES += "wic wic.bmap" - -WKS_FILE_DEPENDS ?= " \ - mtools-native \ - dosfstools-native \ - virtual/bootloader \ - virtual/kernel \ - " -IMAGE_BOOT_FILES ?= "\ - ${KERNEL_IMAGETYPE} \ - ${KERNEL_DEVICETREE} \ - "
Signature · 1 line
2.30.0.rc0