diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/conf/bitbake.conf | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-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.conf | 90 |
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 @@ | |||
10 | baselib = "${BASELIB}" | 10 | baselib = "${BASELIB}" |
11 | baselib[vardepvalue] = "${baselib}" | 11 | baselib[vardepvalue] = "${baselib}" |
12 | BASELIB = "lib" | 12 | BASELIB = "lib" |
13 | BASELIB_libc-glibc_powerpc64 = "lib64" | 13 | BASELIB:libc-glibc:powerpc64 = "lib64" |
14 | BASELIB_libc-glibc_powerpc64le = "lib64" | 14 | BASELIB:libc-glibc:powerpc64le = "lib64" |
15 | 15 | ||
16 | # Path prefixes | 16 | # Path prefixes |
17 | export base_prefix = "" | 17 | export base_prefix = "" |
@@ -80,8 +80,8 @@ localstatedir_nativesdk = "/var" | |||
80 | target_datadir := "${datadir}" | 80 | target_datadir := "${datadir}" |
81 | # Used to find env/perl/python | 81 | # Used to find env/perl/python |
82 | USRBINPATH = "${bindir}" | 82 | USRBINPATH = "${bindir}" |
83 | USRBINPATH_class-native = "/usr/bin" | 83 | USRBINPATH:class-native = "/usr/bin" |
84 | USRBINPATH_class-nativesdk = "/usr/bin" | 84 | USRBINPATH:class-nativesdk = "/usr/bin" |
85 | 85 | ||
86 | # Root home directory | 86 | # Root home directory |
87 | ROOT_HOME ??= "/home/root" | 87 | ROOT_HOME ??= "/home/root" |
@@ -121,7 +121,7 @@ TUNE_CCARGS ??= "" | |||
121 | TUNE_CCARGS[vardepvalue] = "${TUNE_CCARGS}" | 121 | TUNE_CCARGS[vardepvalue] = "${TUNE_CCARGS}" |
122 | TUNE_LDARGS ??= "" | 122 | TUNE_LDARGS ??= "" |
123 | TUNE_ASARGS ??= "" | 123 | TUNE_ASARGS ??= "" |
124 | TUNE_FEATURES ??= "${TUNE_FEATURES_tune-${DEFAULTTUNE}}" | 124 | TUNE_FEATURES ??= "${TUNE_FEATURES:tune-${DEFAULTTUNE}}" |
125 | LIBCEXTENSION ??= "" | 125 | LIBCEXTENSION ??= "" |
126 | ABIEXTENSION ??= "" | 126 | ABIEXTENSION ??= "" |
127 | USE_NLS ??= "yes" | 127 | USE_NLS ??= "yes" |
@@ -150,7 +150,7 @@ SDK_AS_ARCH = "${BUILD_AS_ARCH}" | |||
150 | TUNE_PKGARCH ??= "" | 150 | TUNE_PKGARCH ??= "" |
151 | PACKAGE_ARCH ??= "${TUNE_PKGARCH}" | 151 | PACKAGE_ARCH ??= "${TUNE_PKGARCH}" |
152 | MACHINE_ARCH = "${@[d.getVar('TUNE_PKGARCH'), d.getVar('MACHINE')][bool(d.getVar('MACHINE'))].replace('-', '_')}" | 152 | MACHINE_ARCH = "${@[d.getVar('TUNE_PKGARCH'), d.getVar('MACHINE')][bool(d.getVar('MACHINE'))].replace('-', '_')}" |
153 | PACKAGE_EXTRA_ARCHS ??= "${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}}" | 153 | PACKAGE_EXTRA_ARCHS ??= "${PACKAGE_EXTRA_ARCHS:tune-${DEFAULTTUNE}}" |
154 | PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}" | 154 | PACKAGE_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 | ||
242 | SUMMARY_${PN}-src ?= "${SUMMARY} - Source files" | 242 | SUMMARY:${PN}-src ?= "${SUMMARY} - Source files" |
243 | DESCRIPTION_${PN}-src ?= "${DESCRIPTION} \ | 243 | DESCRIPTION:${PN}-src ?= "${DESCRIPTION} \ |
244 | This package contains sources for debugging purposes." | 244 | This package contains sources for debugging purposes." |
245 | 245 | ||
246 | SUMMARY_${PN}-dbg ?= "${SUMMARY} - Debugging files" | 246 | SUMMARY:${PN}-dbg ?= "${SUMMARY} - Debugging files" |
247 | DESCRIPTION_${PN}-dbg ?= "${DESCRIPTION} \ | 247 | DESCRIPTION:${PN}-dbg ?= "${DESCRIPTION} \ |
248 | This package contains ELF symbols and related sources for debugging purposes." | 248 | This package contains ELF symbols and related sources for debugging purposes." |
249 | 249 | ||
250 | SUMMARY_${PN}-dev ?= "${SUMMARY} - Development files" | 250 | SUMMARY:${PN}-dev ?= "${SUMMARY} - Development files" |
251 | DESCRIPTION_${PN}-dev ?= "${DESCRIPTION} \ | 251 | DESCRIPTION:${PN}-dev ?= "${DESCRIPTION} \ |
252 | This package contains symbolic links, header files, and \ | 252 | This package contains symbolic links, header files, and \ |
253 | related items necessary for software development." | 253 | related items necessary for software development." |
254 | 254 | ||
255 | SUMMARY_${PN}-staticdev ?= "${SUMMARY} - Development files (Static Libraries)" | 255 | SUMMARY:${PN}-staticdev ?= "${SUMMARY} - Development files (Static Libraries)" |
256 | DESCRIPTION_${PN}-staticdev ?= "${DESCRIPTION} \ | 256 | DESCRIPTION:${PN}-staticdev ?= "${DESCRIPTION} \ |
257 | This package contains static libraries for software development." | 257 | This package contains static libraries for software development." |
258 | 258 | ||
259 | SUMMARY_${PN}-doc ?= "${SUMMARY} - Documentation files" | 259 | SUMMARY:${PN}-doc ?= "${SUMMARY} - Documentation files" |
260 | DESCRIPTION_${PN}-doc ?= "${DESCRIPTION} \ | 260 | DESCRIPTION:${PN}-doc ?= "${DESCRIPTION} \ |
261 | This package contains documentation." | 261 | This package contains documentation." |
262 | 262 | ||
263 | LICENSE ??= "INVALID" | 263 | LICENSE ??= "INVALID" |
@@ -273,18 +273,18 @@ DEPCHAIN_POST = "-dev -dbg" | |||
273 | 273 | ||
274 | DEPENDS = "" | 274 | DEPENDS = "" |
275 | PROVIDES = "" | 275 | PROVIDES = "" |
276 | PROVIDES_prepend = "${PN} " | 276 | PROVIDES:prepend = "${PN} " |
277 | 277 | ||
278 | MULTI_PROVIDER_WHITELIST = "virtual/libintl virtual/libintl-native virtual/nativesdk-libintl virtual/xserver virtual/update-alternatives-native virtual/update-alternatives" | 278 | MULTI_PROVIDER_WHITELIST = "virtual/libintl virtual/libintl-native virtual/nativesdk-libintl virtual/xserver virtual/update-alternatives-native virtual/update-alternatives" |
279 | 279 | ||
280 | SOLIBS = ".so.*" | 280 | SOLIBS = ".so.*" |
281 | SOLIBS_darwin = ".dylib" | 281 | SOLIBS:darwin = ".dylib" |
282 | 282 | ||
283 | SOLIBSDEV = ".so" | 283 | SOLIBSDEV = ".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. |
287 | SOLIBSDEV_darwin = ".dylibbroken" | 287 | SOLIBSDEV:darwin = ".dylibbroken" |
288 | 288 | ||
289 | PACKAGE_DEBUG_SPLIT_STYLE ?= "debug-with-srcpkg" | 289 | PACKAGE_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 | |||
293 | PACKAGES_DYNAMIC = "^${PN}-locale-.*" | 293 | PACKAGES_DYNAMIC = "^${PN}-locale-.*" |
294 | FILES = "" | 294 | FILES = "" |
295 | 295 | ||
296 | FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \ | 296 | FILES:${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 | ||
307 | FILES_${PN}-bin = "${bindir}/* ${sbindir}/*" | 307 | FILES:${PN}-bin = "${bindir}/* ${sbindir}/*" |
308 | 308 | ||
309 | FILES_${PN}-doc = "${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc \ | 309 | FILES:${PN}-doc = "${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc \ |
310 | ${datadir}/gnome/help" | 310 | ${datadir}/gnome/help" |
311 | SECTION_${PN}-doc = "doc" | 311 | SECTION:${PN}-doc = "doc" |
312 | 312 | ||
313 | FILES_SOLIBSDEV ?= "${base_libdir}/lib*${SOLIBSDEV} ${libdir}/lib*${SOLIBSDEV}" | 313 | FILES_SOLIBSDEV ?= "${base_libdir}/lib*${SOLIBSDEV} ${libdir}/lib*${SOLIBSDEV}" |
314 | FILES_${PN}-dev = "${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la \ | 314 | FILES:${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" |
319 | SECTION_${PN}-dev = "devel" | 319 | SECTION:${PN}-dev = "devel" |
320 | ALLOW_EMPTY_${PN}-dev = "1" | 320 | ALLOW_EMPTY:${PN}-dev = "1" |
321 | RDEPENDS_${PN}-dev = "${PN} (= ${EXTENDPKGV})" | 321 | RDEPENDS:${PN}-dev = "${PN} (= ${EXTENDPKGV})" |
322 | 322 | ||
323 | FILES_${PN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a ${libdir}/${BPN}/*.a" | 323 | FILES:${PN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a ${libdir}/${BPN}/*.a" |
324 | SECTION_${PN}-staticdev = "devel" | 324 | SECTION:${PN}-staticdev = "devel" |
325 | RDEPENDS_${PN}-staticdev = "${PN}-dev (= ${EXTENDPKGV})" | 325 | RDEPENDS:${PN}-staticdev = "${PN}-dev (= ${EXTENDPKGV})" |
326 | 326 | ||
327 | FILES_${PN}-dbg = "/usr/lib/debug /usr/lib/debug-static /usr/src/debug" | 327 | FILES:${PN}-dbg = "/usr/lib/debug /usr/lib/debug-static /usr/src/debug" |
328 | SECTION_${PN}-dbg = "devel" | 328 | SECTION:${PN}-dbg = "devel" |
329 | ALLOW_EMPTY_${PN}-dbg = "1" | 329 | ALLOW_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 |
333 | FILES_${PN}-src = "" | 333 | FILES:${PN}-src = "" |
334 | SECTION_${PN}-src = "devel" | 334 | SECTION:${PN}-src = "devel" |
335 | 335 | ||
336 | FILES_${PN}-locale = "${datadir}/locale" | 336 | FILES:${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 | ||
432 | OLDEST_KERNEL = "3.2.0" | 432 | OLDEST_KERNEL = "3.2.0" |
433 | OLDEST_KERNEL_aarch64 = "3.14" | 433 | OLDEST_KERNEL:aarch64 = "3.14" |
434 | OLDEST_KERNEL_nios2 = "3.19" | 434 | OLDEST_KERNEL:nios2 = "3.19" |
435 | OLDEST_KERNEL_powerpc64le = "3.10.0" | 435 | OLDEST_KERNEL:powerpc64le = "3.10.0" |
436 | OLDEST_KERNEL_riscv32 = "5.4" | 436 | OLDEST_KERNEL:riscv32 = "5.4" |
437 | OLDEST_KERNEL_riscv64 = "4.15" | 437 | OLDEST_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 | ||
472 | PATH_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}:" | 472 | PATH: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}:" |
473 | export PATH | 473 | export PATH |
474 | 474 | ||
475 | ################################################################## | 475 | ################################################################## |
@@ -597,13 +597,13 @@ ASNEEDED ?= "-Wl,--as-needed" | |||
597 | export LDFLAGS = "${TARGET_LDFLAGS}" | 597 | export LDFLAGS = "${TARGET_LDFLAGS}" |
598 | TARGET_LDFLAGS = "-Wl,-O1 ${TARGET_LINK_HASH_STYLE} ${ASNEEDED}" | 598 | TARGET_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 |
600 | LINKER_HASH_STYLE_mipsarch_libc-musl = "sysv" | 600 | LINKER_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 |
603 | EXTRA_OEMAKE_prepend_task-compile = "${PARALLEL_MAKE} " | 603 | EXTRA_OEMAKE:prepend:task-compile = "${PARALLEL_MAKE} " |
604 | PARALLEL_MAKEINST ??= "${PARALLEL_MAKE}" | 604 | PARALLEL_MAKEINST ??= "${PARALLEL_MAKE}" |
605 | # Pass parallel make options to the install task | 605 | # Pass parallel make options to the install task |
606 | EXTRA_OEMAKE_prepend_task-install = "${PARALLEL_MAKEINST} " | 606 | EXTRA_OEMAKE:prepend:task-install = "${PARALLEL_MAKEINST} " |
607 | 607 | ||
608 | ################################################################## | 608 | ################################################################## |
609 | # Optimization flags. | 609 | # Optimization flags. |