@@ -179,6 +179,12 @@ tisdk_image_build () {
return 1
fi
+ # Copy the U-Boot uEnv.txt file if is exists
+ if [ -e ${DEPLOY_DIR_IMAGE}/uEnv.txt ]
+ then
+ cp ${DEPLOY_DIR_IMAGE}/uEnv.txt ${prebuilt_dir}/
+ fi
+
# Copy the Kernel image if it exists
if [ -e ${DEPLOY_DIR_IMAGE}/zImage-${MACHINE}.bin ]
then
@@ -1,4 +1,4 @@
-SUMMARY = "Install a uEnv.txt file into the SDK prebuilt-binaries directory"
+SUMMARY = "Add a uEnv.txt file into the deploy directory"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
@@ -6,20 +6,14 @@ SRC_URI = "\
file://uEnv.txt \
"
-PR = "r3"
+PR = "r4"
PV = "1.0"
PACKAGE_ARCH = "${MACHINE_ARCH}"
S = "${WORKDIR}"
-do_install () {
- install -d ${D}/board-support/prebuilt-images
-
- install -m 0644 ${S}/uEnv.txt ${D}/board-support/prebuilt-images/
-}
-
-FILES:${PN} += "board-support/*"
+inherit nopackages
# deploy files for wic image
inherit deploy
The "prebuilt-images" dir is not part of any normal filesystem, it is for our "TI-SDK" bundle, so this file should be placed there by that bbclass, not as part of normal package building. Signed-off-by: Andrew Davis <afd@ti.com> --- meta-arago-distro/classes/tisdk-bundle.bbclass | 6 ++++++ .../recipes-tisdk/tisdk-uenv/tisdk-uenv.bb | 12 +++--------- 2 files changed, 9 insertions(+), 9 deletions(-)