bitbake: Allow seting of baselib
PATCH 1/2 bitbake: Allow seting of baselib
Allow for baselib to be set to something other than 'lib'. This is useful for the 64-bit arch cases in which we want baselib set to 'lib64'.
Signed-off-by Kumar Gala <[email protected]>
--- meta/conf/bitbake.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/conf/bitbake.conf +1 -1
@@ -7,7 +7,7 @@ # # Used by multilib code to change the library paths -baselib = "lib" +baselib = "${@d.getVar('BASE_LIB', True) or 'lib'}" # Path prefixes export base_prefix = ""
Signature · 1 line
1.7.3.4
PATCH 2/2 arch-powerpc64: set BASE_LIB to 'lib64'
Default baselib location on ppc64 to 'lib64'. This matches what other Linux ppc64 distro's have done to date and keeps thing in sync for the multilib case.
Signed-off-by Kumar Gala <[email protected]>
--- .../machine/include/powerpc/arch-powerpc64.inc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
meta/conf/machine/include/powerpc/arch-powerpc64.inc +1 -0
@@ -10,3 +10,4 @@ TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", [ "m64" ], "powerpc64", "", AVAILTUNES += "powerpc64" TUNE_FEATURES_tune-powerpc64 ?= "m64 fpu-hard" BASE_LIB_tune-powerpc64 = "lib64" +BASE_LIB = "lib64"
Signature · 1 line
1.7.3.4
Quoted 13 lines · Kumar Gala
Allow for baselib to be set to something other than 'lib'. This is useful for the 64-bit arch cases in which we want baselib set to 'lib64'.
Signed-off-by Kumar Gala <[email protected]>--- meta/conf/bitbake.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta/conf/bitbake.conf +0
-0
meta/conf/bitbake.conf line 13
Quoted 8 lines
meta/conf/bitbake.conf +1
-1@@ -7,7 +7,7 @@ # # Used by multilib code to change the library paths -baselib = "lib" +baselib = "${@d.getVar('BASE_LIB', True) or 'lib'}" # Path prefixes export base_prefix = ""
Can you not do:
baselib_powerpc64 = "lib64"
here?
Cheers,
Richard