]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cross-canadian.bbclass: merged /usr support
authorPeter de Ridder <peter.de.ridder@jotron.com>
Wed, 4 Mar 2026 16:03:36 +0000 (17:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Mar 2026 10:40:55 +0000 (10:40 +0000)
Use ${root_prefix} instead of ${base_prefix} while setting
${target_base_prefix}, otherwise we might loose the root prefix configuration
change in case of 'usrmerge' distro feature is enabled.

Signed-off-by: Peter de Ridder <peter.de.ridder@jotron.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/cross-canadian.bbclass

index 6d3d2f762315518fcaf703d01713c848194f5032..fe991f44bb529fa1b78c4ba99841ced8b93b9bc6 100644 (file)
@@ -141,7 +141,7 @@ EXTRANATIVEPATH += "chrpath-native"
 # Path mangling needed by the cross packaging
 # Note that we use := here to ensure that libdir and includedir are
 # target paths.
-target_base_prefix := "${base_prefix}"
+target_base_prefix := "${root_prefix}"
 target_prefix := "${prefix}"
 target_exec_prefix := "${exec_prefix}"
 target_base_libdir = "${target_base_prefix}/${baselib}"