diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2024-11-21 14:47:49 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-11-21 14:47:51 -0600 |
| commit | ab07add28ff4c8acf68157de49ff29f59238e4e0 (patch) | |
| tree | ccb8ed3fd1092b8015c1bec5d4d41e7713a34a05 /meta-xilinx-standalone-sdt | |
| parent | 1241013c7bce4262a6128eb4ccb3db410831746d (diff) | |
| download | meta-xilinx-ab07add28ff4c8acf68157de49ff29f59238e4e0.tar.gz | |
various: Fix variable usage
Remove most direct references to WORKDIR.
S = "${WORKDIR}" is no longer allowed, adjust this to refer to UNPACKDIR
${WORKDIR}/package is also incorrect, adjust to ${PKGD}.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone-sdt')
25 files changed, 92 insertions, 92 deletions
diff --git a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass index 76245cf7..644f3b49 100644 --- a/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass +++ b/meta-xilinx-standalone-sdt/classes-recipe/esw.bbclass | |||
| @@ -8,7 +8,7 @@ OECMAKE_ARGS:remove = "-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON" | |||
| 8 | 8 | ||
| 9 | SRCREV_FORMAT = "src_decouple" | 9 | SRCREV_FORMAT = "src_decouple" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | 11 | S = "${UNPACKDIR}/git" |
| 12 | B = "${WORKDIR}/build" | 12 | B = "${WORKDIR}/build" |
| 13 | OECMAKE_SOURCEPATH = "${S}/${ESW_COMPONENT_SRC}" | 13 | OECMAKE_SOURCEPATH = "${S}/${ESW_COMPONENT_SRC}" |
| 14 | LICFILENAME = "license.txt" | 14 | LICFILENAME = "license.txt" |
diff --git a/meta-xilinx-standalone-sdt/classes-recipe/esw_apps_common.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/esw_apps_common.bbclass index 85b753a5..734a95f5 100644 --- a/meta-xilinx-standalone-sdt/classes-recipe/esw_apps_common.bbclass +++ b/meta-xilinx-standalone-sdt/classes-recipe/esw_apps_common.bbclass | |||
| @@ -21,10 +21,10 @@ do_install() { | |||
| 21 | 21 | ||
| 22 | do_deploy() { | 22 | do_deploy() { |
| 23 | # We need to deploy the stripped elf, hence why not doing it from ${D} | 23 | # We need to deploy the stripped elf, hence why not doing it from ${D} |
| 24 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/${ESW_EXECUTABLE_NAME}.elf ${DEPLOYDIR}/${APP_IMAGE_NAME}.elf | 24 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/${ESW_EXECUTABLE_NAME}.elf ${DEPLOYDIR}/${APP_IMAGE_NAME}.elf |
| 25 | ln -sf ${APP_IMAGE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}-${BB_CURRENT_MC}.elf | 25 | ln -sf ${APP_IMAGE_NAME}.elf ${DEPLOYDIR}/${BPN}-${MACHINE}-${BB_CURRENT_MC}.elf |
| 26 | ${OBJCOPY} -O binary ${WORKDIR}/package/${base_libdir}/firmware/${ESW_EXECUTABLE_NAME}.elf ${WORKDIR}/package/${base_libdir}/firmware/${ESW_EXECUTABLE_NAME}.bin | 26 | ${OBJCOPY} -O binary ${PKGD}/${base_libdir}/firmware/${ESW_EXECUTABLE_NAME}.elf ${PKGD}/${base_libdir}/firmware/${ESW_EXECUTABLE_NAME}.bin |
| 27 | install -m 0644 ${WORKDIR}/package/${base_libdir}/firmware/${ESW_EXECUTABLE_NAME}.bin ${DEPLOYDIR}/${APP_IMAGE_NAME}.bin | 27 | install -m 0644 ${PKGD}/${base_libdir}/firmware/${ESW_EXECUTABLE_NAME}.bin ${DEPLOYDIR}/${APP_IMAGE_NAME}.bin |
| 28 | ln -sf ${APP_IMAGE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}-${BB_CURRENT_MC}.bin | 28 | ln -sf ${APP_IMAGE_NAME}.bin ${DEPLOYDIR}/${BPN}-${MACHINE}-${BB_CURRENT_MC}.bin |
| 29 | } | 29 | } |
| 30 | 30 | ||
diff --git a/meta-xilinx-standalone-sdt/classes-recipe/esw_examples.bbclass b/meta-xilinx-standalone-sdt/classes-recipe/esw_examples.bbclass index 9a94f3cd..2696cd00 100644 --- a/meta-xilinx-standalone-sdt/classes-recipe/esw_examples.bbclass +++ b/meta-xilinx-standalone-sdt/classes-recipe/esw_examples.bbclass | |||
| @@ -29,7 +29,7 @@ do_install() { | |||
| 29 | 29 | ||
| 30 | do_deploy() { | 30 | do_deploy() { |
| 31 | install -d ${DEPLOYDIR}/${BPN}/ | 31 | install -d ${DEPLOYDIR}/${BPN}/ |
| 32 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 32 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 33 | } | 33 | } |
| 34 | addtask deploy before do_build after do_package | 34 | addtask deploy before do_build after do_package |
| 35 | 35 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/esw-conf_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/esw-conf_2024.1.bb index f99db010..dbcbbc11 100644 --- a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/esw-conf_2024.1.bb +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/esw-conf_2024.1.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # Can't depend on esw since this is needed for setup! | 1 | # Can't depend on esw since this is needed for setup! |
| 2 | inherit xlnx-embeddedsw | 2 | inherit xlnx-embeddedsw |
| 3 | 3 | ||
| 4 | S = "${WORKDIR}/git" | 4 | S = "${UNPACKDIR}/git" |
| 5 | B = "${WORKDIR}/build" | 5 | B = "${WORKDIR}/build" |
| 6 | 6 | ||
| 7 | INHIBIT_DEFAULT_DEPS = "1" | 7 | INHIBIT_DEFAULT_DEPS = "1" |
diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/esw-conf_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/esw-conf_2024.2.bb index f99db010..dbcbbc11 100644 --- a/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/esw-conf_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-bsp/embeddedsw/esw-conf_2024.2.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # Can't depend on esw since this is needed for setup! | 1 | # Can't depend on esw since this is needed for setup! |
| 2 | inherit xlnx-embeddedsw | 2 | inherit xlnx-embeddedsw |
| 3 | 3 | ||
| 4 | S = "${WORKDIR}/git" | 4 | S = "${UNPACKDIR}/git" |
| 5 | B = "${WORKDIR}/build" | 5 | B = "${WORKDIR}/build" |
| 6 | 6 | ||
| 7 | INHIBIT_DEFAULT_DEPS = "1" | 7 | INHIBIT_DEFAULT_DEPS = "1" |
diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb index 69aebf06..d7e55c11 100644 --- a/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-bsp/image-selector/image-selector_2024.2.bb | |||
| @@ -10,26 +10,26 @@ ESW_EXECUTABLE_NAME = "imgsel" | |||
| 10 | SRC_URI:append = " git://github.com/Xilinx/image-selector.git;protocol=https;branch=main;destsuffix=image-selector;name=image-selector" | 10 | SRC_URI:append = " git://github.com/Xilinx/image-selector.git;protocol=https;branch=main;destsuffix=image-selector;name=image-selector" |
| 11 | SRCREV_image-selector = "809441712855a64a35496192c180e31328a78b7b" | 11 | SRCREV_image-selector = "809441712855a64a35496192c180e31328a78b7b" |
| 12 | 12 | ||
| 13 | OECMAKE_SOURCEPATH = "${WORKDIR}/${BPN}/${ESW_COMPONENT_SRC}" | ||
| 14 | |||
| 13 | do_configure:prepend() { | 15 | do_configure:prepend() { |
| 14 | ( | 16 | ( |
| 15 | cd ${S} | 17 | cd ${S} |
| 16 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${WORKDIR}/${BPN}/${ESW_COMPONENT_SRC} | 18 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${OECMAKE_SOURCEPATH} |
| 17 | install -m 0644 *.cmake ${WORKDIR}/${BPN}/${ESW_COMPONENT_SRC}/ | 19 | install -m 0644 *.cmake ${OECMAKE_SOURCEPATH}/ |
| 18 | install -m 0644 ${S}/cmake/UserConfig.cmake ${WORKDIR}/${BPN}/${ESW_COMPONENT_SRC} | 20 | install -m 0644 ${S}/cmake/UserConfig.cmake ${OECMAKE_SOURCEPATH} |
| 19 | ) | 21 | ) |
| 20 | } | 22 | } |
| 21 | 23 | ||
| 22 | OECMAKE_SOURCEPATH = "${WORKDIR}/${BPN}/${ESW_COMPONENT_SRC}" | ||
| 23 | |||
| 24 | do_compile:append () { | 24 | do_compile:append () { |
| 25 | cat > ${WORKDIR}/${PN}.bif << EOF | 25 | cat > ${S}/${PN}.bif << EOF |
| 26 | the_ROM_image: | 26 | the_ROM_image: |
| 27 | { | 27 | { |
| 28 | [bootloader,destination_cpu=a53-0] ${B}/${ESW_EXECUTABLE_NAME}.elf | 28 | [bootloader,destination_cpu=a53-0] ${B}/${ESW_EXECUTABLE_NAME}.elf |
| 29 | } | 29 | } |
| 30 | EOF | 30 | EOF |
| 31 | 31 | ||
| 32 | bootgen -image ${WORKDIR}/${PN}.bif -arch ${SOC_FAMILY} -w -o ${B}/${PN}.bin | 32 | bootgen -image ${S}/${PN}.bif -arch ${SOC_FAMILY} -w -o ${B}/${PN}.bin |
| 33 | 33 | ||
| 34 | printf "* ${PN}\nSRCREV: ${SRCREV}\nBRANCH: ${BRANCH}\n\n" > ${S}/${PN}.manifest | 34 | printf "* ${PN}\nSRCREV: ${SRCREV}\nBRANCH: ${BRANCH}\n\n" > ${S}/${PN}.manifest |
| 35 | } | 35 | } |
diff --git a/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.bb b/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.bb index 9c45c3ef..c4f59ad5 100644 --- a/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.bb +++ b/meta-xilinx-standalone-sdt/recipes-bsp/sdt-artifacts/sdt-artifacts.bb | |||
| @@ -23,8 +23,8 @@ SRC_URI[sha256sum] = "${@d.getVarFlag('SDT_URI', 'sha256sum') or 'undefined'}" | |||
| 23 | COMPATIBLE_HOST:xilinx-standalone = "${HOST_SYS}" | 23 | COMPATIBLE_HOST:xilinx-standalone = "${HOST_SYS}" |
| 24 | PACKAGE_ARCH ?= "${MACHINE_ARCH}" | 24 | PACKAGE_ARCH ?= "${MACHINE_ARCH}" |
| 25 | 25 | ||
| 26 | # Don't set S = "${WORKDIR}/git" as we need this to work for other protocols | 26 | # Don't set S = "${UNPACKDIR}/git" as we need this to work for other protocols |
| 27 | S = "${@d.getVarFlag('SDT_URI', 'S') or '${WORKDIR}'}" | 27 | S = "${@d.getVarFlag('SDT_URI', 'S') or '${UNPACKDIR}'}" |
| 28 | 28 | ||
| 29 | do_configure[noexec] = "1" | 29 | do_configure[noexec] = "1" |
| 30 | do_compile[noexec] = "1" | 30 | do_compile[noexec] = "1" |
| @@ -36,7 +36,7 @@ python () { | |||
| 36 | 36 | ||
| 37 | do_install() { | 37 | do_install() { |
| 38 | install -d ${D}${datadir}/sdt/${MACHINE} | 38 | install -d ${D}${datadir}/sdt/${MACHINE} |
| 39 | if [ "${S}" = "${WORKDIR}" ]; then | 39 | if [ "${S}" = "${UNPACKDIR}" ]; then |
| 40 | # If we just copying everything, then we'll copy build components. | 40 | # If we just copying everything, then we'll copy build components. |
| 41 | # This fallback is for the case where the user provides each of the | 41 | # This fallback is for the case where the user provides each of the |
| 42 | # files instead of a tarball. It shouldn't be used, but is here just | 42 | # files instead of a tarball. It shouldn't be used, but is here just |
| @@ -62,7 +62,7 @@ FILES:${PN} = "${datadir}/sdt/${MACHINE}" | |||
| 62 | 62 | ||
| 63 | do_deploy() { | 63 | do_deploy() { |
| 64 | install -d ${DEPLOYDIR}/system-dt${IMAGE_VERSION_SUFFIX} | 64 | install -d ${DEPLOYDIR}/system-dt${IMAGE_VERSION_SUFFIX} |
| 65 | if [ "${S}" = "${WORKDIR}" ]; then | 65 | if [ "${S}" = "${UNPACKDIR}" ]; then |
| 66 | # If we just copying everything, then we'll copy build components. | 66 | # If we just copying everything, then we'll copy build components. |
| 67 | # This fallback is for the case where the user provides each of the | 67 | # This fallback is for the case where the user provides each of the |
| 68 | # files instead of a tarball. It shouldn't be used, but is here just | 68 | # files instead of a tarball. It shouldn't be used, but is here just |
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/aiefal_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/aiefal_2024.2.bb index 7d7b76ac..5af321c9 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/aiefal_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/aiefal_2024.2.bb | |||
| @@ -4,7 +4,7 @@ COMPATIBLE_HOST = "aarch64-xilinx-elf" | |||
| 4 | 4 | ||
| 5 | require ../../meta-xilinx-core/recipes-bsp/ai-engine/aie-rt-2024.2.inc | 5 | require ../../meta-xilinx-core/recipes-bsp/ai-engine/aie-rt-2024.2.inc |
| 6 | 6 | ||
| 7 | S = "${WORKDIR}/git" | 7 | S = "${UNPACKDIR}/git" |
| 8 | B = "${WORKDIR}/build" | 8 | B = "${WORKDIR}/build" |
| 9 | 9 | ||
| 10 | EXTRA_OECMAKE += "-DYOCTO=ON" | 10 | EXTRA_OECMAKE += "-DYOCTO=ON" |
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/aienginev2_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/aienginev2_2024.2.bb index 68853d57..5796a2c3 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/aienginev2_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/aienginev2_2024.2.bb | |||
| @@ -4,7 +4,7 @@ COMPATIBLE_HOST = "aarch64-xilinx-elf" | |||
| 4 | 4 | ||
| 5 | require ../../meta-xilinx-core/recipes-bsp/ai-engine/aie-rt-2024.2.inc | 5 | require ../../meta-xilinx-core/recipes-bsp/ai-engine/aie-rt-2024.2.inc |
| 6 | 6 | ||
| 7 | S = "${WORKDIR}/git" | 7 | S = "${UNPACKDIR}/git" |
| 8 | B = "${WORKDIR}/build" | 8 | B = "${WORKDIR}/build" |
| 9 | 9 | ||
| 10 | EXTRA_OECMAKE += "-DYOCTO=ON" | 10 | EXTRA_OECMAKE += "-DYOCTO=ON" |
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/clockps-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-drivers/clockps-example_2024.1.bb index f9c5bce6..afb64c6a 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/clockps-example_2024.1.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/clockps-example_2024.1.bb | |||
| @@ -33,7 +33,7 @@ do_install() { | |||
| 33 | 33 | ||
| 34 | do_deploy() { | 34 | do_deploy() { |
| 35 | install -d ${DEPLOYDIR}/${BPN}/ | 35 | install -d ${DEPLOYDIR}/${BPN}/ |
| 36 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 36 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 37 | } | 37 | } |
| 38 | addtask deploy before do_build after do_package | 38 | addtask deploy before do_build after do_package |
| 39 | 39 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/clockps-example_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/clockps-example_2024.2.bb index f9c5bce6..afb64c6a 100644 --- a/meta-xilinx-standalone-sdt/recipes-drivers/clockps-example_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-drivers/clockps-example_2024.2.bb | |||
| @@ -33,7 +33,7 @@ do_install() { | |||
| 33 | 33 | ||
| 34 | do_deploy() { | 34 | do_deploy() { |
| 35 | install -d ${DEPLOYDIR}/${BPN}/ | 35 | install -d ${DEPLOYDIR}/${BPN}/ |
| 36 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 36 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 37 | } | 37 | } |
| 38 | addtask deploy before do_build after do_package | 38 | addtask deploy before do_build after do_package |
| 39 | 39 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilffs-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilffs-example_2024.1.bb index cae39d17..74fbcc69 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilffs-example_2024.1.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilffs-example_2024.1.bb | |||
| @@ -25,7 +25,7 @@ do_install() { | |||
| 25 | 25 | ||
| 26 | do_deploy() { | 26 | do_deploy() { |
| 27 | install -d ${DEPLOYDIR}/${BPN}/ | 27 | install -d ${DEPLOYDIR}/${BPN}/ |
| 28 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 28 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 29 | } | 29 | } |
| 30 | addtask deploy before do_build after do_package | 30 | addtask deploy before do_build after do_package |
| 31 | 31 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilffs-example_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilffs-example_2024.2.bb index cae39d17..74fbcc69 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilffs-example_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilffs-example_2024.2.bb | |||
| @@ -25,7 +25,7 @@ do_install() { | |||
| 25 | 25 | ||
| 26 | do_deploy() { | 26 | do_deploy() { |
| 27 | install -d ${DEPLOYDIR}/${BPN}/ | 27 | install -d ${DEPLOYDIR}/${BPN}/ |
| 28 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 28 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 29 | } | 29 | } |
| 30 | addtask deploy before do_build after do_package | 30 | addtask deploy before do_build after do_package |
| 31 | 31 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilfpga-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilfpga-example_2024.1.bb index a3fb1560..10b3a77f 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilfpga-example_2024.1.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilfpga-example_2024.1.bb | |||
| @@ -22,7 +22,7 @@ do_install() { | |||
| 22 | 22 | ||
| 23 | do_deploy() { | 23 | do_deploy() { |
| 24 | install -d ${DEPLOYDIR}/${BPN}/ | 24 | install -d ${DEPLOYDIR}/${BPN}/ |
| 25 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 25 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 26 | } | 26 | } |
| 27 | addtask deploy before do_build after do_package | 27 | addtask deploy before do_build after do_package |
| 28 | 28 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilfpga-example_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilfpga-example_2024.2.bb index a3fb1560..10b3a77f 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilfpga-example_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilfpga-example_2024.2.bb | |||
| @@ -22,7 +22,7 @@ do_install() { | |||
| 22 | 22 | ||
| 23 | do_deploy() { | 23 | do_deploy() { |
| 24 | install -d ${DEPLOYDIR}/${BPN}/ | 24 | install -d ${DEPLOYDIR}/${BPN}/ |
| 25 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 25 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 26 | } | 26 | } |
| 27 | addtask deploy before do_build after do_package | 27 | addtask deploy before do_build after do_package |
| 28 | 28 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox-example_2024.1.bb index 600369ad..027a209f 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox-example_2024.1.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox-example_2024.1.bb | |||
| @@ -31,7 +31,7 @@ do_install() { | |||
| 31 | 31 | ||
| 32 | do_deploy() { | 32 | do_deploy() { |
| 33 | install -d ${DEPLOYDIR}/${BPN}/ | 33 | install -d ${DEPLOYDIR}/${BPN}/ |
| 34 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 34 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 35 | } | 35 | } |
| 36 | addtask deploy before do_build after do_package | 36 | addtask deploy before do_build after do_package |
| 37 | 37 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox-example_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox-example_2024.2.bb index 600369ad..027a209f 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox-example_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilmailbox-example_2024.2.bb | |||
| @@ -31,7 +31,7 @@ do_install() { | |||
| 31 | 31 | ||
| 32 | do_deploy() { | 32 | do_deploy() { |
| 33 | install -d ${DEPLOYDIR}/${BPN}/ | 33 | install -d ${DEPLOYDIR}/${BPN}/ |
| 34 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 34 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 35 | } | 35 | } |
| 36 | addtask deploy before do_build after do_package | 36 | addtask deploy before do_build after do_package |
| 37 | 37 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilnvm-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilnvm-example_2024.1.bb index bd001f64..1921cda4 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilnvm-example_2024.1.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilnvm-example_2024.1.bb | |||
| @@ -26,7 +26,7 @@ do_install() { | |||
| 26 | 26 | ||
| 27 | do_deploy() { | 27 | do_deploy() { |
| 28 | install -d ${DEPLOYDIR}/${BPN}/ | 28 | install -d ${DEPLOYDIR}/${BPN}/ |
| 29 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 29 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 30 | } | 30 | } |
| 31 | addtask deploy before do_build after do_package | 31 | addtask deploy before do_build after do_package |
| 32 | 32 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilnvm-example_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilnvm-example_2024.2.bb index bd001f64..1921cda4 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilnvm-example_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilnvm-example_2024.2.bb | |||
| @@ -26,7 +26,7 @@ do_install() { | |||
| 26 | 26 | ||
| 27 | do_deploy() { | 27 | do_deploy() { |
| 28 | install -d ${DEPLOYDIR}/${BPN}/ | 28 | install -d ${DEPLOYDIR}/${BPN}/ |
| 29 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 29 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 30 | } | 30 | } |
| 31 | addtask deploy before do_build after do_package | 31 | addtask deploy before do_build after do_package |
| 32 | 32 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilpuf-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilpuf-example_2024.1.bb index bbe2920b..aae1de1a 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilpuf-example_2024.1.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilpuf-example_2024.1.bb | |||
| @@ -26,7 +26,7 @@ do_install() { | |||
| 26 | 26 | ||
| 27 | do_deploy() { | 27 | do_deploy() { |
| 28 | install -d ${DEPLOYDIR}/${BPN}/ | 28 | install -d ${DEPLOYDIR}/${BPN}/ |
| 29 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 29 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 30 | } | 30 | } |
| 31 | addtask deploy before do_build after do_package | 31 | addtask deploy before do_build after do_package |
| 32 | 32 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilpuf-example_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilpuf-example_2024.2.bb index bbe2920b..aae1de1a 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilpuf-example_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilpuf-example_2024.2.bb | |||
| @@ -26,7 +26,7 @@ do_install() { | |||
| 26 | 26 | ||
| 27 | do_deploy() { | 27 | do_deploy() { |
| 28 | install -d ${DEPLOYDIR}/${BPN}/ | 28 | install -d ${DEPLOYDIR}/${BPN}/ |
| 29 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 29 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 30 | } | 30 | } |
| 31 | addtask deploy before do_build after do_package | 31 | addtask deploy before do_build after do_package |
| 32 | 32 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilsecure-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilsecure-example_2024.1.bb index a2b4b7a5..4bc3423c 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilsecure-example_2024.1.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilsecure-example_2024.1.bb | |||
| @@ -26,7 +26,7 @@ do_install() { | |||
| 26 | 26 | ||
| 27 | do_deploy() { | 27 | do_deploy() { |
| 28 | install -d ${DEPLOYDIR}/${BPN}/ | 28 | install -d ${DEPLOYDIR}/${BPN}/ |
| 29 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 29 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 30 | } | 30 | } |
| 31 | addtask deploy before do_build after do_package | 31 | addtask deploy before do_build after do_package |
| 32 | 32 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilsecure-example_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilsecure-example_2024.2.bb index a2b4b7a5..4bc3423c 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilsecure-example_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilsecure-example_2024.2.bb | |||
| @@ -26,7 +26,7 @@ do_install() { | |||
| 26 | 26 | ||
| 27 | do_deploy() { | 27 | do_deploy() { |
| 28 | install -d ${DEPLOYDIR}/${BPN}/ | 28 | install -d ${DEPLOYDIR}/${BPN}/ |
| 29 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 29 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 30 | } | 30 | } |
| 31 | addtask deploy before do_build after do_package | 31 | addtask deploy before do_build after do_package |
| 32 | 32 | ||
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilskey-example_2024.1.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilskey-example_2024.1.bb index a42d6fd2..d5d729c1 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilskey-example_2024.1.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilskey-example_2024.1.bb | |||
| @@ -1,29 +1,29 @@ | |||
| 1 | inherit esw deploy | 1 | inherit esw deploy |
| 2 | 2 | ||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilskey/examples/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilskey/examples/" |
| 4 | 4 | ||
| 5 | DEPENDS += "xilskey xilsecure" | 5 | DEPENDS += "xilskey xilsecure" |
| 6 | 6 | ||
| 7 | do_configure:prepend() { | 7 | do_configure:prepend() { |
| 8 | ( | 8 | ( |
| 9 | cd ${S} | 9 | cd ${S} |
| 10 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 10 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
| 11 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | 11 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ |
| 12 | ) | 12 | ) |
| 13 | } | 13 | } |
| 14 | 14 | ||
| 15 | ESW_CUSTOM_LINKER_FILE ?= "None" | 15 | ESW_CUSTOM_LINKER_FILE ?= "None" |
| 16 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | 16 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" |
| 17 | 17 | ||
| 18 | do_install() { | 18 | do_install() { |
| 19 | install -d ${D}/${base_libdir}/firmware | 19 | install -d ${D}/${base_libdir}/firmware |
| 20 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | 20 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | do_deploy() { | 23 | do_deploy() { |
| 24 | install -d ${DEPLOYDIR}/${BPN}/ | 24 | install -d ${DEPLOYDIR}/${BPN}/ |
| 25 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 25 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 26 | } | 26 | } |
| 27 | addtask deploy before do_build after do_package | 27 | addtask deploy before do_build after do_package |
| 28 | 28 | ||
| 29 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | 29 | FILES:${PN} = "${base_libdir}/firmware/*.elf" |
diff --git a/meta-xilinx-standalone-sdt/recipes-libraries/xilskey-example_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-libraries/xilskey-example_2024.2.bb index a42d6fd2..d5d729c1 100644 --- a/meta-xilinx-standalone-sdt/recipes-libraries/xilskey-example_2024.2.bb +++ b/meta-xilinx-standalone-sdt/recipes-libraries/xilskey-example_2024.2.bb | |||
| @@ -1,29 +1,29 @@ | |||
| 1 | inherit esw deploy | 1 | inherit esw deploy |
| 2 | 2 | ||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilskey/examples/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilskey/examples/" |
| 4 | 4 | ||
| 5 | DEPENDS += "xilskey xilsecure" | 5 | DEPENDS += "xilskey xilsecure" |
| 6 | 6 | ||
| 7 | do_configure:prepend() { | 7 | do_configure:prepend() { |
| 8 | ( | 8 | ( |
| 9 | cd ${S} | 9 | cd ${S} |
| 10 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} | 10 | lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} |
| 11 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | 11 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ |
| 12 | ) | 12 | ) |
| 13 | } | 13 | } |
| 14 | 14 | ||
| 15 | ESW_CUSTOM_LINKER_FILE ?= "None" | 15 | ESW_CUSTOM_LINKER_FILE ?= "None" |
| 16 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | 16 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" |
| 17 | 17 | ||
| 18 | do_install() { | 18 | do_install() { |
| 19 | install -d ${D}/${base_libdir}/firmware | 19 | install -d ${D}/${base_libdir}/firmware |
| 20 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware | 20 | install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | do_deploy() { | 23 | do_deploy() { |
| 24 | install -d ${DEPLOYDIR}/${BPN}/ | 24 | install -d ${DEPLOYDIR}/${BPN}/ |
| 25 | install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ | 25 | install -Dm 0644 ${PKGD}/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ |
| 26 | } | 26 | } |
| 27 | addtask deploy before do_build after do_package | 27 | addtask deploy before do_build after do_package |
| 28 | 28 | ||
| 29 | FILES:${PN} = "${base_libdir}/firmware/*.elf" | 29 | FILES:${PN} = "${base_libdir}/firmware/*.elf" |
