mirror of
git://git.yoctoproject.org/meta-rockchip.git
synced 2025-07-19 12:49:03 +02:00
Porting machines to linux-dtb.inc by using variable KERNEL_DEVICETREE
linux-petitboot and linux and changed too
This commit is contained in:
parent
535c07ca67
commit
47fbe0756e
|
@ -10,4 +10,4 @@ require conf/machine/include/rockchip.inc
|
|||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux"
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
KERNEL_DEVICETREE_NAME = "rk3066a-marsboard"
|
||||
KERNEL_DEVICETREE = "rk3066a-marsboard.dtb"
|
||||
|
|
|
@ -10,4 +10,4 @@ require conf/machine/include/rockchip.inc
|
|||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux"
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
KERNEL_DEVICETREE_NAME = "rk3188-radxarock"
|
||||
KERNEL_DEVICETREE = "rk3188-radxarock.dtb"
|
||||
|
|
|
@ -19,13 +19,14 @@ LINUX_VERSION_EXTENSION = ""
|
|||
PR = "r1"
|
||||
PV = "${LINUX_VERSION}"
|
||||
|
||||
PROVIDES = "${PN}"
|
||||
DEPENDS += "rkflashtool-native"
|
||||
|
||||
# Include only supported boards for now
|
||||
COMPATIBLE_MACHINE = "(radxa-rock|mars-board|firefly)"
|
||||
|
||||
# Build the devicetree blob in kernel_do_compile
|
||||
KERNEL_ALT_IMAGETYPE = "${KERNEL_DEVICETREE_NAME}.dtb"
|
||||
KERNEL_ALT_IMAGETYPE = "${KERNEL_DEVICETREE}"
|
||||
# The resulting image to be deployed in DEPLOY_IMAGE_DIR
|
||||
KERNEL_OUTPUT = "${B}/arch/${ARCH}/boot/${KERNEL_IMAGETYPE}-dtb"
|
||||
|
||||
|
|
|
@ -21,11 +21,3 @@ PV = "${LINUX_VERSION}"
|
|||
# Include only supported boards for now
|
||||
COMPATIBLE_MACHINE = "(radxa-rock|mars-board|firefly)"
|
||||
|
||||
# Build the devicetree blob in kernel_do_compile
|
||||
KERNEL_ALT_IMAGETYPE = "${KERNEL_DEVICETREE_NAME}.dtb"
|
||||
# The resulting image to be deployed in DEPLOY_IMAGE_DIR
|
||||
KERNEL_OUTPUT = "${B}/arch/${ARCH}/boot/${KERNEL_IMAGETYPE}-dtb"
|
||||
|
||||
do_compile_append() {
|
||||
cat ${B}/arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${B}/arch/${ARCH}/boot/dts/${KERNEL_ALT_IMAGETYPE} > ${KERNEL_OUTPUT}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user