DESTDIR in the Rules.make points to the path where
the files should be installed.

setup scripts update this to the targetNFS location but
it cannot be used for installing files in the SD card.
When DESTDIR is defined conditionally, it allows following

DESTDIR=/path/to/sd/card make install #custom installation
make install #NFS installation

Signed-off-by: Nikhil Devshatwar <[email protected]>
---
 .../recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Rules.make        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Rules.make
 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Rules.make
index 96f248a..3382d93 100644
--- 
a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Rules.make
+++ 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Rules.make
@@ -14,7 +14,7 @@ UBOOT_MACHINE=__UBOOT_MACHINE__
 export TI_SDK_PATH=__SDK__INSTALL_DIR__
 
 #root of the target file system for installing applications
-DESTDIR=__DESTDIR__
+DESTDIR ?=__DESTDIR__
 
 #Points to the root of the Linux libraries and headers matching the
 #demo file system.
-- 
1.9.1

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

Reply via email to