diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2011-11-30 16:45:44 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-30 15:15:08 +0000 |
commit | 3648d3056899044ecb85d4b7c0fe173f8b511475 (patch) | |
tree | 7e05b75ed7e1d67fb3eb8ccc4e248db65aa8176a /meta/recipes-devtools/autoconf/autoconf_2.68.bb | |
parent | d8dddfad68d8f203a237d9372cc1d44a00080047 (diff) | |
download | poky-3648d3056899044ecb85d4b7c0fe173f8b511475.tar.gz |
autoconf: Extend to provide nativesdk recipe
As the same reason with automake, extend autoconf to provide
nativesdk recipe too.
This patch was only used for autoconf that running on target:
* path_prog_fixes.patch: replace '@PERL@' with '@bindir@/env perl'
It's unavailable for autoconf-native and autoconf-nativesdk, so
exclude it for those two recipes.
(From OE-Core rev: a16cf1b67f6559b182e6bb31abc1371162b04428)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/autoconf/autoconf_2.68.bb')
-rw-r--r-- | meta/recipes-devtools/autoconf/autoconf_2.68.bb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf_2.68.bb b/meta/recipes-devtools/autoconf/autoconf_2.68.bb index 21b5fb3f24..9028e8336b 100644 --- a/meta/recipes-devtools/autoconf/autoconf_2.68.bb +++ b/meta/recipes-devtools/autoconf/autoconf_2.68.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require autoconf.inc | 1 | require autoconf.inc |
2 | 2 | ||
3 | PR = "r3" | 3 | PR = "r4" |
4 | 4 | ||
5 | PARALLEL_MAKE = "" | 5 | PARALLEL_MAKE = "" |
6 | 6 | ||
@@ -14,7 +14,7 @@ SRC_URI += "file://autoreconf-include.patch \ | |||
14 | file://autoreconf-foreign.patch \ | 14 | file://autoreconf-foreign.patch \ |
15 | file://autoreconf-gnuconfigize.patch \ | 15 | file://autoreconf-gnuconfigize.patch \ |
16 | file://autoheader-nonfatal-warnings.patch \ | 16 | file://autoheader-nonfatal-warnings.patch \ |
17 | ${@['file://path_prog_fixes.patch', ''][bb.data.inherits_class('native', d)]} \ | 17 | ${@['file://path_prog_fixes.patch', ''][bb.data.inherits_class('native', d) or bb.data.inherits_class('nativesdk', d)]} \ |
18 | file://config_site.patch \ | 18 | file://config_site.patch \ |
19 | file://remove-usr-local-lib-from-m4.patch \ | 19 | file://remove-usr-local-lib-from-m4.patch \ |
20 | " | 20 | " |
@@ -25,8 +25,11 @@ SRC_URI[sha256sum] = "c491fb273fd6d4ca925e26ceed3d177920233c76d542b150ff35e57145 | |||
25 | DEPENDS_virtclass-native = "m4-native gnu-config-native" | 25 | DEPENDS_virtclass-native = "m4-native gnu-config-native" |
26 | RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native" | 26 | RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native" |
27 | 27 | ||
28 | DEPENDS_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk" | ||
29 | RDEPENDS_${PN}_virtclass-nativesdk = "m4-nativesdk gnu-config-nativesdk" | ||
30 | |||
28 | SRC_URI_append_virtclass-native = " file://fix_path_xtra.patch" | 31 | SRC_URI_append_virtclass-native = " file://fix_path_xtra.patch" |
29 | 32 | ||
30 | EXTRA_OECONF += "ac_cv_path_M4=m4" | 33 | EXTRA_OECONF += "ac_cv_path_M4=m4" |
31 | 34 | ||
32 | BBCLASSEXTEND = "native" | 35 | BBCLASSEXTEND = "native nativesdk" |