This is fine with me, as long as Jake takes the tisdk-setup-scripts patch.

On Mon, Dec 09, 2019 at 02:02:38PM +0530, Nikhil Devshatwar wrote:
> DESTDIR and EXEC_DIR in the Rules.make point to the paths where
> the files should be installed.
> 
> Initialize the conditionally so that command line override is
> allowed. This is useful when you want to switch between NFS rootfs
> and SD card rootfs.
> e.g. Following can be done now from installer.
> 
> $> 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      | 4 
> ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> 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..a2b7769 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.
> @@ -42,4 +42,4 @@ SDK_PATH_TARGET=$(TI_SDK_PATH)/__SDK_PATH_TARGET__
>  
>  # Set EXEC_DIR to install example binaries.
>  # This will be configured with the setup.sh script.
> -EXEC_DIR=__EXEC_DIR__
> +EXEC_DIR ?=__EXEC_DIR__
> -- 
> 1.9.1
> 
> _______________________________________________
> meta-arago mailing list
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to