summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/conf/bitbake.conf
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf90
1 files changed, 45 insertions, 45 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 821dae2ba6..f2ceb26c04 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -10,8 +10,8 @@
10baselib = "${BASELIB}" 10baselib = "${BASELIB}"
11baselib[vardepvalue] = "${baselib}" 11baselib[vardepvalue] = "${baselib}"
12BASELIB = "lib" 12BASELIB = "lib"
13BASELIB_libc-glibc_powerpc64 = "lib64" 13BASELIB:libc-glibc:powerpc64 = "lib64"
14BASELIB_libc-glibc_powerpc64le = "lib64" 14BASELIB:libc-glibc:powerpc64le = "lib64"
15 15
16# Path prefixes 16# Path prefixes
17export base_prefix = "" 17export base_prefix = ""
@@ -80,8 +80,8 @@ localstatedir_nativesdk = "/var"
80target_datadir := "${datadir}" 80target_datadir := "${datadir}"
81# Used to find env/perl/python 81# Used to find env/perl/python
82USRBINPATH = "${bindir}" 82USRBINPATH = "${bindir}"
83USRBINPATH_class-native = "/usr/bin" 83USRBINPATH:class-native = "/usr/bin"
84USRBINPATH_class-nativesdk = "/usr/bin" 84USRBINPATH:class-nativesdk = "/usr/bin"
85 85
86# Root home directory 86# Root home directory
87ROOT_HOME ??= "/home/root" 87ROOT_HOME ??= "/home/root"
@@ -121,7 +121,7 @@ TUNE_CCARGS ??= ""
121TUNE_CCARGS[vardepvalue] = "${TUNE_CCARGS}" 121TUNE_CCARGS[vardepvalue] = "${TUNE_CCARGS}"
122TUNE_LDARGS ??= "" 122TUNE_LDARGS ??= ""
123TUNE_ASARGS ??= "" 123TUNE_ASARGS ??= ""
124TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" 124TUNE_FEATURES ??= "${TUNE_FEATURES:tune-${DEFAULTTUNE}}"
125LIBCEXTENSION ??= "" 125LIBCEXTENSION ??= ""
126ABIEXTENSION ??= "" 126ABIEXTENSION ??= ""
127USE_NLS ??= "yes" 127USE_NLS ??= "yes"
@@ -150,7 +150,7 @@ SDK_AS_ARCH = "${BUILD_AS_ARCH}"
150TUNE_PKGARCH ??= "" 150TUNE_PKGARCH ??= ""
151PACKAGE_ARCH ??= "${TUNE_PKGARCH}" 151PACKAGE_ARCH ??= "${TUNE_PKGARCH}"
152MACHINE_ARCH = "${@[d.getVar('TUNE_PKGARCH'), d.getVar('MACHINE')][bool(d.getVar('MACHINE'))].replace('-', '_')}" 152MACHINE_ARCH = "${@[d.getVar('TUNE_PKGARCH'), d.getVar('MACHINE')][bool(d.getVar('MACHINE'))].replace('-', '_')}"
153PACKAGE_EXTRA_ARCHS ??= "${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}}" 153PACKAGE_EXTRA_ARCHS ??= "${PACKAGE_EXTRA_ARCHS:tune-${DEFAULTTUNE}}"
154PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}" 154PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"
155# MACHINE_ARCH shouldn't be included here as a variable dependency 155# MACHINE_ARCH shouldn't be included here as a variable dependency
156# since machine specific packages are handled using multimachine 156# since machine specific packages are handled using multimachine
@@ -239,25 +239,25 @@ DESCRIPTION ?= "${SUMMARY}."
239#SUMMARY_${PN} ?= "${SUMMARY}" 239#SUMMARY_${PN} ?= "${SUMMARY}"
240#DESCRIPTION_${PN} ?= "${DESCRIPTION}" 240#DESCRIPTION_${PN} ?= "${DESCRIPTION}"
241 241
242SUMMARY_${PN}-src ?= "${SUMMARY} - Source files" 242SUMMARY:${PN}-src ?= "${SUMMARY} - Source files"
243DESCRIPTION_${PN}-src ?= "${DESCRIPTION} \ 243DESCRIPTION:${PN}-src ?= "${DESCRIPTION} \
244This package contains sources for debugging purposes." 244This package contains sources for debugging purposes."
245 245
246SUMMARY_${PN}-dbg ?= "${SUMMARY} - Debugging files" 246SUMMARY:${PN}-dbg ?= "${SUMMARY} - Debugging files"
247DESCRIPTION_${PN}-dbg ?= "${DESCRIPTION} \ 247DESCRIPTION:${PN}-dbg ?= "${DESCRIPTION} \
248This package contains ELF symbols and related sources for debugging purposes." 248This package contains ELF symbols and related sources for debugging purposes."
249 249
250SUMMARY_${PN}-dev ?= "${SUMMARY} - Development files" 250SUMMARY:${PN}-dev ?= "${SUMMARY} - Development files"
251DESCRIPTION_${PN}-dev ?= "${DESCRIPTION} \ 251DESCRIPTION:${PN}-dev ?= "${DESCRIPTION} \
252This package contains symbolic links, header files, and \ 252This package contains symbolic links, header files, and \
253related items necessary for software development." 253related items necessary for software development."
254 254
255SUMMARY_${PN}-staticdev ?= "${SUMMARY} - Development files (Static Libraries)" 255SUMMARY:${PN}-staticdev ?= "${SUMMARY} - Development files (Static Libraries)"
256DESCRIPTION_${PN}-staticdev ?= "${DESCRIPTION} \ 256DESCRIPTION:${PN}-staticdev ?= "${DESCRIPTION} \
257This package contains static libraries for software development." 257This package contains static libraries for software development."
258 258
259SUMMARY_${PN}-doc ?= "${SUMMARY} - Documentation files" 259SUMMARY:${PN}-doc ?= "${SUMMARY} - Documentation files"
260DESCRIPTION_${PN}-doc ?= "${DESCRIPTION} \ 260DESCRIPTION:${PN}-doc ?= "${DESCRIPTION} \
261This package contains documentation." 261This package contains documentation."
262 262
263LICENSE ??= "INVALID" 263LICENSE ??= "INVALID"
@@ -273,18 +273,18 @@ DEPCHAIN_POST = "-dev -dbg"
273 273
274DEPENDS = "" 274DEPENDS = ""
275PROVIDES = "" 275PROVIDES = ""
276PROVIDES_prepend = "${PN} " 276PROVIDES:prepend = "${PN} "
277 277
278MULTI_PROVIDER_WHITELIST = "virtual/libintl virtual/libintl-native virtual/nativesdk-libintl virtual/xserver virtual/update-alternatives-native virtual/update-alternatives" 278MULTI_PROVIDER_WHITELIST = "virtual/libintl virtual/libintl-native virtual/nativesdk-libintl virtual/xserver virtual/update-alternatives-native virtual/update-alternatives"
279 279
280SOLIBS = ".so.*" 280SOLIBS = ".so.*"
281SOLIBS_darwin = ".dylib" 281SOLIBS:darwin = ".dylib"
282 282
283SOLIBSDEV = ".so" 283SOLIBSDEV = ".so"
284# Due to the ordering of PACKAGES and the naming of the dev symlinks on darwin, 284# Due to the ordering of PACKAGES and the naming of the dev symlinks on darwin,
285# we can't make the symlinks end up in the -dev packages easily at this point. This hack 285# we can't make the symlinks end up in the -dev packages easily at this point. This hack
286# at least means builds aren't completely broken and symlinks don't take up much space. 286# at least means builds aren't completely broken and symlinks don't take up much space.
287SOLIBSDEV_darwin = ".dylibbroken" 287SOLIBSDEV:darwin = ".dylibbroken"
288 288
289PACKAGE_DEBUG_SPLIT_STYLE ?= "debug-with-srcpkg" 289PACKAGE_DEBUG_SPLIT_STYLE ?= "debug-with-srcpkg"
290 290
@@ -293,7 +293,7 @@ PACKAGES = "${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale
293PACKAGES_DYNAMIC = "^${PN}-locale-.*" 293PACKAGES_DYNAMIC = "^${PN}-locale-.*"
294FILES = "" 294FILES = ""
295 295
296FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \ 296FILES:${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
297 ${sysconfdir} ${sharedstatedir} ${localstatedir} \ 297 ${sysconfdir} ${sharedstatedir} ${localstatedir} \
298 ${base_bindir}/* ${base_sbindir}/* \ 298 ${base_bindir}/* ${base_sbindir}/* \
299 ${base_libdir}/*${SOLIBS} \ 299 ${base_libdir}/*${SOLIBS} \
@@ -304,36 +304,36 @@ FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS}
304 ${datadir}/idl ${datadir}/omf ${datadir}/sounds \ 304 ${datadir}/idl ${datadir}/omf ${datadir}/sounds \
305 ${libdir}/bonobo/servers" 305 ${libdir}/bonobo/servers"
306 306
307FILES_${PN}-bin = "${bindir}/* ${sbindir}/*" 307FILES:${PN}-bin = "${bindir}/* ${sbindir}/*"
308 308
309FILES_${PN}-doc = "${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc \ 309FILES:${PN}-doc = "${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc \
310 ${datadir}/gnome/help" 310 ${datadir}/gnome/help"
311SECTION_${PN}-doc = "doc" 311SECTION:${PN}-doc = "doc"
312 312
313FILES_SOLIBSDEV ?= "${base_libdir}/lib*${SOLIBSDEV} ${libdir}/lib*${SOLIBSDEV}" 313FILES_SOLIBSDEV ?= "${base_libdir}/lib*${SOLIBSDEV} ${libdir}/lib*${SOLIBSDEV}"
314FILES_${PN}-dev = "${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la \ 314FILES:${PN}-dev = "${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la \
315 ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig \ 315 ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig \
316 ${datadir}/aclocal ${base_libdir}/*.o \ 316 ${datadir}/aclocal ${base_libdir}/*.o \
317 ${libdir}/${BPN}/*.la ${base_libdir}/*.la \ 317 ${libdir}/${BPN}/*.la ${base_libdir}/*.la \
318 ${libdir}/cmake ${datadir}/cmake" 318 ${libdir}/cmake ${datadir}/cmake"
319SECTION_${PN}-dev = "devel" 319SECTION:${PN}-dev = "devel"
320ALLOW_EMPTY_${PN}-dev = "1" 320ALLOW_EMPTY:${PN}-dev = "1"
321RDEPENDS_${PN}-dev = "${PN} (= ${EXTENDPKGV})" 321RDEPENDS:${PN}-dev = "${PN} (= ${EXTENDPKGV})"
322 322
323FILES_${PN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a ${libdir}/${BPN}/*.a" 323FILES:${PN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a ${libdir}/${BPN}/*.a"
324SECTION_${PN}-staticdev = "devel" 324SECTION:${PN}-staticdev = "devel"
325RDEPENDS_${PN}-staticdev = "${PN}-dev (= ${EXTENDPKGV})" 325RDEPENDS:${PN}-staticdev = "${PN}-dev (= ${EXTENDPKGV})"
326 326
327FILES_${PN}-dbg = "/usr/lib/debug /usr/lib/debug-static /usr/src/debug" 327FILES:${PN}-dbg = "/usr/lib/debug /usr/lib/debug-static /usr/src/debug"
328SECTION_${PN}-dbg = "devel" 328SECTION:${PN}-dbg = "devel"
329ALLOW_EMPTY_${PN}-dbg = "1" 329ALLOW_EMPTY:${PN}-dbg = "1"
330 330
331# The files list for source packages are dynamically set based on 331# The files list for source packages are dynamically set based on
332# PACKAGE_DEBUG_SPLIT_STYLE 332# PACKAGE_DEBUG_SPLIT_STYLE
333FILES_${PN}-src = "" 333FILES:${PN}-src = ""
334SECTION_${PN}-src = "devel" 334SECTION:${PN}-src = "devel"
335 335
336FILES_${PN}-locale = "${datadir}/locale" 336FILES:${PN}-locale = "${datadir}/locale"
337 337
338# File manifest 338# File manifest
339 339
@@ -430,11 +430,11 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
430################################################################## 430##################################################################
431 431
432OLDEST_KERNEL = "3.2.0" 432OLDEST_KERNEL = "3.2.0"
433OLDEST_KERNEL_aarch64 = "3.14" 433OLDEST_KERNEL:aarch64 = "3.14"
434OLDEST_KERNEL_nios2 = "3.19" 434OLDEST_KERNEL:nios2 = "3.19"
435OLDEST_KERNEL_powerpc64le = "3.10.0" 435OLDEST_KERNEL:powerpc64le = "3.10.0"
436OLDEST_KERNEL_riscv32 = "5.4" 436OLDEST_KERNEL:riscv32 = "5.4"
437OLDEST_KERNEL_riscv64 = "4.15" 437OLDEST_KERNEL:riscv64 = "4.15"
438 438
439# SDK_OLDEST_KERNEL can't be set using overrides since there are 439# SDK_OLDEST_KERNEL can't be set using overrides since there are
440# none for the SDK architecture. Best to set it from a machine-sdk 440# none for the SDK architecture. Best to set it from a machine-sdk
@@ -469,7 +469,7 @@ EXTRA_IMAGEDEPENDS = ""
469# Toolchain info. 469# Toolchain info.
470################################################################## 470##################################################################
471 471
472PATH_prepend = "${COREBASE}/scripts:${STAGING_BINDIR_TOOLCHAIN}:${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${sbindir_native}:${STAGING_BINDIR_NATIVE}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}${base_bindir_native}:" 472PATH:prepend = "${COREBASE}/scripts:${STAGING_BINDIR_TOOLCHAIN}:${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${sbindir_native}:${STAGING_BINDIR_NATIVE}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}${base_bindir_native}:"
473export PATH 473export PATH
474 474
475################################################################## 475##################################################################
@@ -597,13 +597,13 @@ ASNEEDED ?= "-Wl,--as-needed"
597export LDFLAGS = "${TARGET_LDFLAGS}" 597export LDFLAGS = "${TARGET_LDFLAGS}"
598TARGET_LDFLAGS = "-Wl,-O1 ${TARGET_LINK_HASH_STYLE} ${ASNEEDED}" 598TARGET_LDFLAGS = "-Wl,-O1 ${TARGET_LINK_HASH_STYLE} ${ASNEEDED}"
599# mips does not support GNU hash style therefore we override 599# mips does not support GNU hash style therefore we override
600LINKER_HASH_STYLE_mipsarch_libc-musl = "sysv" 600LINKER_HASH_STYLE:mipsarch:libc-musl = "sysv"
601 601
602# Pass parallel make options to the compile task 602# Pass parallel make options to the compile task
603EXTRA_OEMAKE_prepend_task-compile = "${PARALLEL_MAKE} " 603EXTRA_OEMAKE:prepend:task-compile = "${PARALLEL_MAKE} "
604PARALLEL_MAKEINST ??= "${PARALLEL_MAKE}" 604PARALLEL_MAKEINST ??= "${PARALLEL_MAKE}"
605# Pass parallel make options to the install task 605# Pass parallel make options to the install task
606EXTRA_OEMAKE_prepend_task-install = "${PARALLEL_MAKEINST} " 606EXTRA_OEMAKE:prepend:task-install = "${PARALLEL_MAKEINST} "
607 607
608################################################################## 608##################################################################
609# Optimization flags. 609# Optimization flags.