diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-08-15 15:46:22 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-20 15:31:25 +0100 |
commit | a8d686ba22264e84d4e094744e766bbfd707408d (patch) | |
tree | 33a64665cd30a6fe75ed49a3a6df8fc130f7ce94 /meta/conf | |
parent | 1cf5a36aa9f0b9e69b289b09f3d3f519a62d3c17 (diff) | |
download | poky-a8d686ba22264e84d4e094744e766bbfd707408d.tar.gz |
default-distrovars.inc: Add 'DISTRO_FEATURES_DEFAULT' variable
When making distributions based on the default distro-less config, it
is useful to be able to reuse the default DISTRO_FEATURES options
without the need of duplication. The new variable,
DISTRO_FEATURES_DEFAULT, allow this reuse and customization.
So distros can include 'default-distrovars.inc' and use:
,----[ Use example ]
| DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} myfeature"
`----
(From OE-Core rev: 660ec04786162ff7f40aa78eb154dc4b5bf6ed9f)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/distro/include/default-distrovars.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc index 45f00ce18e..d275525000 100644 --- a/meta/conf/distro/include/default-distrovars.inc +++ b/meta/conf/distro/include/default-distrovars.inc | |||
@@ -9,6 +9,7 @@ LIMIT_BUILT_LOCALES ?= "POSIX en_US en_GB" | |||
9 | ENABLE_BINARY_LOCALE_GENERATION ?= "1" | 9 | ENABLE_BINARY_LOCALE_GENERATION ?= "1" |
10 | LOCALE_UTF8_ONLY ?= "0" | 10 | LOCALE_UTF8_ONLY ?= "0" |
11 | 11 | ||
12 | DISTRO_FEATURES_DEFAULT ?= "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11" | ||
12 | DISTRO_FEATURES_LIBC_DEFAULT ?= "ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \ | 13 | DISTRO_FEATURES_LIBC_DEFAULT ?= "ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \ |
13 | libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \ | 14 | libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \ |
14 | libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales libc-locale-code \ | 15 | libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales libc-locale-code \ |
@@ -17,7 +18,7 @@ DISTRO_FEATURES_LIBC_DEFAULT ?= "ipv4 ipv6 libc-backtrace libc-big-macros libc-b | |||
17 | libc-posix-wchar-io" | 18 | libc-posix-wchar-io" |
18 | DISTRO_FEATURES_LIBC ?= "${DISTRO_FEATURES_LIBC_DEFAULT}" | 19 | DISTRO_FEATURES_LIBC ?= "${DISTRO_FEATURES_LIBC_DEFAULT}" |
19 | DISTRO_FEATURES_LIBC_class-nativesdk = "${DISTRO_FEATURES_LIBC_DEFAULT}" | 20 | DISTRO_FEATURES_LIBC_class-nativesdk = "${DISTRO_FEATURES_LIBC_DEFAULT}" |
20 | DISTRO_FEATURES ?= "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11 ${DISTRO_FEATURES_LIBC}" | 21 | DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC}" |
21 | 22 | ||
22 | IMAGE_FEATURES ?= "" | 23 | IMAGE_FEATURES ?= "" |
23 | 24 | ||