Commit c8648195 authored by Oliver Horst's avatar Oliver Horst
Browse files

[chg] Smaller optimizations and adaptations

- Replaced TARGET_OS with TOKI_OS for all source path related operations
- Introduced a COMPATIBLE_MACHINE statements for freertos-portable
- Removed the virtual/kernel dependency from the toki-xilinx-image target
parent f1bfc389
......@@ -11,3 +11,9 @@ IMAGE_ROOTFS_ALIGNMENT = "4096"
WKS_FILE = "sdimage-zcu102-zynqmp.wks"
do_image_wic[depends] += " qemu-devicetrees:do_deploy xilinx-bootbin:do_deploy"
python __anonymous() {
depends = d.getVarFlag('do_build', 'depends', True)
depends = depends.replace('virtual/kernel:do_deploy', '')
d.setVarFlag('do_build', 'depends', depends)
}
......@@ -11,3 +11,5 @@ inherit cmake
FILES_${PN}-dev += "${libdir}/cmake/*"
EXTRA_OECMAKE = ""
COMPATIBLE_MACHINE = "zcu102-zynqmp"
require conf/distro/include/target-configs.inc
S = "${WORKDIR}/git/${MACHINE}/${TARGET_OS}/${TOKI_CONFIG}/libxil/include"
S = "${WORKDIR}/git/${MACHINE}/${TOKI_OS}/${TOKI_CONFIG}/libxil/include"
inherit toki-system
inherit toki-externalsrc
EXTERNALSRC = "${@relative_externalsrc(d, "configs/${MACHINE}/${TARGET_OS}/${TOKI_CONFIG}/libxil/include")}"
EXTERNALSRC = "${@relative_externalsrc(d, "configs/${MACHINE}/${TOKI_OS}/${TOKI_CONFIG}/libxil/include")}"
require conf/distro/include/target-configs.inc
S = "${WORKDIR}/git/${MACHINE}/${TARGET_OS}/${TOKI_CONFIG}/libxil"
S = "${WORKDIR}/git/${MACHINE}/${TOKI_OS}/${TOKI_CONFIG}/libxil"
inherit toki-externalsrc
EXTERNALSRC = "${@relative_externalsrc(d, "configs/${MACHINE}/${TARGET_OS}/${TOKI_CONFIG}/libxil")}"
EXTERNALSRC = "${@relative_externalsrc(d, "configs/${MACHINE}/${TOKI_OS}/${TOKI_CONFIG}/libxil")}"
DEPENDS = "xil-headers"
......
require conf/distro/include/target-configs.inc
S = "${WORKDIR}/git/${MACHINE}/${TARGET_OS}/${TOKI_CONFIG}/xilpm"
S = "${WORKDIR}/git/${MACHINE}/${TOKI_OS}/${TOKI_CONFIG}/xilpm"
inherit toki-externalsrc
EXTERNALSRC = "${@relative_externalsrc(d, "configs/${MACHINE}/${TARGET_OS}/${TOKI_CONFIG}/xilpm")}"
EXTERNALSRC = "${@relative_externalsrc(d, "configs/${MACHINE}/${TOKI_OS}/${TOKI_CONFIG}/xilpm")}"
#DEPENDS = "xil-config-headers xil-headers"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment