diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-01-16 08:43:57 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-17 14:53:26 +0000 |
commit | a9095e5cb295e84ace2170bf8eb43180a0de6271 (patch) | |
tree | fb0e33c13c011e32aafb12d0efbb148c63840baf /meta/recipes-devtools/m4 | |
parent | f290935151eea6d020815889b8698877dacae2cd (diff) | |
download | poky-a9095e5cb295e84ace2170bf8eb43180a0de6271.tar.gz |
m4: refactor .bb and .inc files
The orignal had common code in the m4_1.4.16.bb file that was
in the m4.inc file. m4-native was then including the m4.bb file
and picking up the BBCLASSEXTEND, which causes the fetch to fail.
(From OE-Core rev: 4677da625f8ceb02c96f365bb948b8901bd694a4)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/m4')
-rw-r--r-- | meta/recipes-devtools/m4/m4-native_1.4.16.bb | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/m4/m4.inc | 19 | ||||
-rw-r--r-- | meta/recipes-devtools/m4/m4_1.4.16.bb | 19 |
3 files changed, 22 insertions, 19 deletions
diff --git a/meta/recipes-devtools/m4/m4-native_1.4.16.bb b/meta/recipes-devtools/m4/m4-native_1.4.16.bb index fa871b38ae..39ed4e8b10 100644 --- a/meta/recipes-devtools/m4/m4-native_1.4.16.bb +++ b/meta/recipes-devtools/m4/m4-native_1.4.16.bb | |||
@@ -1,4 +1,5 @@ | |||
1 | require m4_${PV}.bb | 1 | require m4.inc |
2 | |||
2 | inherit native | 3 | inherit native |
3 | 4 | ||
4 | INHIBIT_AUTOTOOLS_DEPS = "1" | 5 | INHIBIT_AUTOTOOLS_DEPS = "1" |
diff --git a/meta/recipes-devtools/m4/m4.inc b/meta/recipes-devtools/m4/m4.inc new file mode 100644 index 0000000000..bc1dacb0c5 --- /dev/null +++ b/meta/recipes-devtools/m4/m4.inc | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "Traditional Unix macro processor" | ||
2 | DESCRIPTION = "GNU m4 is an implementation of the traditional Unix macro processor. It is mostly SVR4 \ | ||
3 | compatible although it has some extensions (for example, handling more than 9 positional parameters to macros). \ | ||
4 | GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc." | ||
5 | LICENSE = "GPLv3" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\ | ||
7 | file://examples/COPYING;md5=fbc986d45b3dae6725c29870dd6b669d" | ||
8 | |||
9 | PR = "r2" | ||
10 | SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \ | ||
11 | file://ac_config_links.patch" | ||
12 | |||
13 | SRC_URI[md5sum] = "a5dfb4f2b7370e9d34293d23fd09b280" | ||
14 | SRC_URI[sha256sum] = "e9176a35bb13a1b08482359aa554ee8072794f58f00e4827bf0e06b570c827da" | ||
15 | |||
16 | inherit autotools | ||
17 | |||
18 | EXTRA_OEMAKE += "'infodir=${infodir}'" | ||
19 | |||
diff --git a/meta/recipes-devtools/m4/m4_1.4.16.bb b/meta/recipes-devtools/m4/m4_1.4.16.bb index 58b049179a..bb4ca355d5 100644 --- a/meta/recipes-devtools/m4/m4_1.4.16.bb +++ b/meta/recipes-devtools/m4/m4_1.4.16.bb | |||
@@ -1,20 +1,3 @@ | |||
1 | SUMMARY = "Traditional Unix macro processor" | 1 | require m4.inc |
2 | DESCRIPTION = "GNU m4 is an implementation of the traditional Unix macro processor. It is mostly SVR4 \ | ||
3 | compatible although it has some extensions (for example, handling more than 9 positional parameters to macros). \ | ||
4 | GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc." | ||
5 | LICENSE = "GPLv3" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\ | ||
7 | file://examples/COPYING;md5=fbc986d45b3dae6725c29870dd6b669d" | ||
8 | |||
9 | PR = "r1" | ||
10 | SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \ | ||
11 | file://ac_config_links.patch" | ||
12 | |||
13 | SRC_URI[md5sum] = "a5dfb4f2b7370e9d34293d23fd09b280" | ||
14 | SRC_URI[sha256sum] = "e9176a35bb13a1b08482359aa554ee8072794f58f00e4827bf0e06b570c827da" | ||
15 | |||
16 | inherit autotools | ||
17 | |||
18 | EXTRA_OEMAKE += "'infodir=${infodir}'" | ||
19 | 2 | ||
20 | BBCLASSEXTEND = "nativesdk" | 3 | BBCLASSEXTEND = "nativesdk" |