From 1e2df1683096e2bb13d4e75ab83be03026bd7f8b Mon Sep 17 00:00:00 2001 From: Anirudha Sarangi Date: Mon, 16 Mar 2020 10:27:21 +0530 Subject: meta-xilinx-standalone: recipes-libraries: Add recipe for freertos This recipe compiles the freertos bsp. Signed-off-by: Anirudha Sarangi Signed-off-by: Appana Durga Kedareswara rao Signed-off-by: Mark Hatle --- .../recipes-libraries/freertos10-xilinx_git.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-xilinx-standalone/recipes-libraries/freertos10-xilinx_git.bb diff --git a/meta-xilinx-standalone/recipes-libraries/freertos10-xilinx_git.bb b/meta-xilinx-standalone/recipes-libraries/freertos10-xilinx_git.bb new file mode 100644 index 00000000..870524d2 --- /dev/null +++ b/meta-xilinx-standalone/recipes-libraries/freertos10-xilinx_git.bb @@ -0,0 +1,12 @@ +inherit esw python3native + +ESW_COMPONENT_SRC = "/ThirdParty/bsp/freertos10_xilinx/src/" +ESW_COMPONENT_NAME = "libfreertos.a" + +DEPENDS += "libxil xilstandalone xilmem dtc-native python3-pyyaml-native python3-dtc-native xiltimer" + +do_configure_prepend() { + # This script should also not rely on relative paths and such + cd ${S} + nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH} +} -- cgit v1.2.3-54-g00ecf