bitbake.conf: use ${prefix} to define exec_prefix

Message ID 1468413952-16084-1-git-send-email-ross.burton@intel.com
State Accepted
Commit 2676ee77bacde03e75c2ceccfdc4c28a684569e6
Headers show

Commit Message

Ross Burton July 13, 2016, 12:45 p.m.
This was simply changing prefix will relocate everything which is generally the
intention, whilst still allowing the variables to be set independently.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.8.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 613fc4c..af3b181 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -15,7 +15,7 @@  BASELIB_powerpc64 = "lib64"
 # Path prefixes
 export base_prefix = ""
 export prefix = "/usr"
-export exec_prefix = "/usr"
+export exec_prefix = "${prefix}"
 
 # Base paths
 export base_bindir = "${base_prefix}/bin"