diff options
| author | Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> | 2021-06-09 15:33:12 +0530 |
|---|---|---|
| committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-09-27 21:34:41 -0700 |
| commit | d4a8d63bf691c30f9bc0f2ea1ea5391063400eff (patch) | |
| tree | e46dfc3ad57d7df3e0d1e44b79b7d7ca99e06eda | |
| parent | 7aacf2c28b1375acc0555dc13f1c918a19e18a16 (diff) | |
| download | meta-xilinx-d4a8d63bf691c30f9bc0f2ea1ea5391063400eff.tar.gz | |
recipes-applications: Update custom linker support for empty application and hello world recipes
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
2 files changed, 6 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb index 059ef89e..5faa1d34 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/empty-application/empty-application_git.bb | |||
| @@ -16,6 +16,9 @@ do_configure_prepend() { | |||
| 16 | 16 | ||
| 17 | CUSTOM_APP_IMAGE_NAME ??= "custom-application" | 17 | CUSTOM_APP_IMAGE_NAME ??= "custom-application" |
| 18 | 18 | ||
| 19 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
| 20 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
| 21 | |||
| 19 | inherit image-artifact-names | 22 | inherit image-artifact-names |
| 20 | 23 | ||
| 21 | CUSTOM_APP_BASE_NAME ?= "${CUSTOM_APP_IMAGE_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" | 24 | CUSTOM_APP_BASE_NAME ?= "${CUSTOM_APP_IMAGE_NAME}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
diff --git a/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb b/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb index ae99df0f..55ef1293 100644 --- a/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-applications/hello-world/hello-world_git.bb | |||
| @@ -22,6 +22,9 @@ do_install() { | |||
| 22 | HELLO_WORLD_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" | 22 | HELLO_WORLD_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" |
| 23 | HELLO_WORLD_BASE_NAME[vardepsexclude] = "DATETIME" | 23 | HELLO_WORLD_BASE_NAME[vardepsexclude] = "DATETIME" |
| 24 | 24 | ||
| 25 | ESW_CUSTOM_LINKER_FILE ?= "None" | ||
| 26 | EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" | ||
| 27 | |||
| 25 | do_deploy() { | 28 | do_deploy() { |
| 26 | 29 | ||
| 27 | # We need to deploy the stripped elf, hence why not doing it from ${D} | 30 | # We need to deploy the stripped elf, hence why not doing it from ${D} |
