Don't hardcode toolchain path that is specific to ARMv7.
Kernel binary image is called Image.

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 meta-arago-distro/classes/tisdk-image.bbclass | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/classes/tisdk-image.bbclass 
b/meta-arago-distro/classes/tisdk-image.bbclass
index 4470e0e..dc715a6 100644
--- a/meta-arago-distro/classes/tisdk-image.bbclass
+++ b/meta-arago-distro/classes/tisdk-image.bbclass
@@ -378,7 +378,7 @@ sw_manifest_toolchain_host() {
 # Create the target side toolchain components table.  These are components on
 # the host but intended for the target.
 sw_manifest_toolchain_target() {
-    
opkg_dir="${IMAGE_ROOTFS}/${TISDK_TOOLCHAIN_PATH}/sysroots/*-linux-gnueabi*/var/lib/opkg/info"
+    
opkg_dir="${IMAGE_ROOTFS}/${TISDK_TOOLCHAIN_PATH}/sysroots/${ARMPKGARCH}*-linux*/var/lib/opkg/info"
 
     sw_manifest_table_header "GPLv3 Development Libraries Installed on Host" 
"This table describes GPLv3 software libraries and headers that are installed 
on the development host and used during the development of software to run on 
the target. Customers should be careful when linking against these libraries to 
make sure they are complying with the license(s) of the library"
 
@@ -746,6 +746,9 @@ tisdk_image_build () {
     elif [ -e ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ]
     then
         cp ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ${prebuilt_dir}/
+    elif [ -e ${DEPLOY_DIR_IMAGE}/Image-${MACHINE}.bin ]
+    then
+        cp ${DEPLOY_DIR_IMAGE}/Image-${MACHINE}.bin ${prebuilt_dir}/
     else
         echo "Could not find the Kernel image"
         return 1
-- 
2.7.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to