diff options
Diffstat (limited to 'meta/classes/siteconfig.bbclass')
-rw-r--r-- | meta/classes/siteconfig.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/siteconfig.bbclass b/meta/classes/siteconfig.bbclass index e7cc9ae0da..5edc0d6a0b 100644 --- a/meta/classes/siteconfig.bbclass +++ b/meta/classes/siteconfig.bbclass | |||
@@ -10,13 +10,15 @@ python siteconfig_do_siteconfig () { | |||
10 | sstate_install(shared_state, d) | 10 | sstate_install(shared_state, d) |
11 | } | 11 | } |
12 | 12 | ||
13 | EXTRASITECONFIG ?= "" | ||
14 | |||
13 | siteconfig_do_siteconfig_gencache () { | 15 | siteconfig_do_siteconfig_gencache () { |
14 | mkdir -p ${WORKDIR}/site_config | 16 | mkdir -p ${WORKDIR}/site_config |
15 | gen-site-config ${FILE_DIRNAME}/site_config \ | 17 | gen-site-config ${FILE_DIRNAME}/site_config \ |
16 | >${WORKDIR}/site_config/configure.ac | 18 | >${WORKDIR}/site_config/configure.ac |
17 | cd ${WORKDIR}/site_config | 19 | cd ${WORKDIR}/site_config |
18 | autoconf | 20 | autoconf |
19 | CONFIG_SITE="" ./configure ${CONFIGUREOPTS} --cache-file ${PN}_cache | 21 | CONFIG_SITE="" ${EXTRASITECONFIG} ./configure ${CONFIGUREOPTS} --cache-file ${PN}_cache |
20 | sed -n -e "/ac_cv_c_bigendian/p" -e "/ac_cv_sizeof_/p" \ | 22 | sed -n -e "/ac_cv_c_bigendian/p" -e "/ac_cv_sizeof_/p" \ |
21 | -e "/ac_cv_type_/p" -e "/ac_cv_header_/p" -e "/ac_cv_func_/p" \ | 23 | -e "/ac_cv_type_/p" -e "/ac_cv_header_/p" -e "/ac_cv_func_/p" \ |
22 | < ${PN}_cache > ${PN}_config | 24 | < ${PN}_cache > ${PN}_config |