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

[chg] Started to prepare a baremetal build support

parent b36eb945
LICENSE = "CLOSED"
LIC_FILES_CHKSUM = ""
SRC_URI = "git://git.fortiss.org/toki/components/freertos-portable.git;protocol=https"
PV = "0.1.0+git${SRCPV}"
SRCREV = "fab478e1d955c8e45c2807168bfee407c5cd1a79"
inherit cmake
FILES_${PN}-dev += "${libdir}/cmake/*"
EXTRA_OECMAKE = ""
require freertos-portable-common.inc
S = "${WORKDIR}/git/GCC/ARM_CA53_64_BIT/include"
inherit toki-system
inherit toki-externalsrc
EXTERNALSRC = "${@relative_externalsrc(d, "components/freertos-portable/GCC/ARM_CA53_64_BIT/include")}"
require freertos-portable-common.inc
S = "${WORKDIR}/git/GCC/ARM_CA53_64_BIT"
inherit toki-externalsrc
EXTERNALSRC = "${@relative_externalsrc(d, "components/freertos-portable/GCC/ARM_CA53_64_BIT")}"
DEPENDS = "freertos-headers xil-headers"
EXTRA_OECMAKE_append = " -DWITH_HEADERS:BOOL=FALSE"
DEPENDS += "xil xilpm"
DEPENDS += " xil xilpm"
#inherit qemuboot-xilinx
#
......
......@@ -15,4 +15,3 @@ TARGET_CFLAGS += "-nostdlib"
FILES_${PN}-dev += "${libdir}/cmake/*"
EXTRA_OECMAKE = ""
require conf/distro/include/target-configs.inc
S = "${WORKDIR}/git/${MACHINE}/${TOKI_CONFIG}/libxil/include"
S = "${WORKDIR}/git/${MACHINE}/${TARGET_OS}/${TOKI_CONFIG}/libxil/include"
inherit toki-system
inherit toki-externalsrc
EXTERNALSRC = "${@relative_externalsrc(d, "configs/${MACHINE}/${TOKI_CONFIG}/libxil/include")}"
EXTERNALSRC = "${@relative_externalsrc(d, "configs/${MACHINE}/${TARGET_OS}/${TOKI_CONFIG}/libxil/include")}"
require conf/distro/include/target-configs.inc
S = "${WORKDIR}/git/${MACHINE}/${TOKI_CONFIG}/libxil"
S = "${WORKDIR}/git/${MACHINE}/${TARGET_OS}/${TOKI_CONFIG}/libxil"
inherit toki-externalsrc
EXTERNALSRC = "${@relative_externalsrc(d, "configs/${MACHINE}/${TOKI_CONFIG}/libxil")}"
EXTERNALSRC = "${@relative_externalsrc(d, "configs/${MACHINE}/${TARGET_OS}/${TOKI_CONFIG}/libxil")}"
DEPENDS = "xil-headers"
......
require conf/distro/include/target-configs.inc
S = "${WORKDIR}/git/${MACHINE}/${TOKI_CONFIG}/xilpm"
S = "${WORKDIR}/git/${MACHINE}/${TARGET_OS}/${TOKI_CONFIG}/xilpm"
inherit toki-externalsrc
EXTERNALSRC = "${@relative_externalsrc(d, "configs/${MACHINE}/${TOKI_CONFIG}/xilpm")}"
EXTERNALSRC = "${@relative_externalsrc(d, "configs/${MACHINE}/${TARGET_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