From ecf406813a2d61f9d8777c892975b168e7e0f78e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 21 Oct 2007 19:12:45 +0000 Subject: glibc-intermediate: Factor code into common .inc file git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2942 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/glibc/glibc-intermediate.inc | 12 ++++++++++++ meta/packages/glibc/glibc-intermediate_2.4.bb | 12 +----------- meta/packages/glibc/glibc-intermediate_2.5.bb | 12 +----------- meta/packages/glibc/glibc-intermediate_csl-2005q3-2.bb | 15 +++------------ 4 files changed, 17 insertions(+), 34 deletions(-) create mode 100644 meta/packages/glibc/glibc-intermediate.inc (limited to 'meta/packages') diff --git a/meta/packages/glibc/glibc-intermediate.inc b/meta/packages/glibc/glibc-intermediate.inc new file mode 100644 index 0000000000..c226d8658d --- /dev/null +++ b/meta/packages/glibc/glibc-intermediate.inc @@ -0,0 +1,12 @@ +SECTION = "libs" +PACKAGES = "" +PACKAGES_DYNAMIC = "" +PROVIDES = "virtual/${TARGET_PREFIX}libc-for-gcc" +DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial linux-libc-headers" + +do_install () { + : +} + +GLIBC_ADDONS = "nptl,ports" +GLIBC_EXTRA_OECONF = "" diff --git a/meta/packages/glibc/glibc-intermediate_2.4.bb b/meta/packages/glibc/glibc-intermediate_2.4.bb index 52bd026e9a..f29ffb30ae 100644 --- a/meta/packages/glibc/glibc-intermediate_2.4.bb +++ b/meta/packages/glibc/glibc-intermediate_2.4.bb @@ -1,15 +1,5 @@ -SECTION = "libs" require glibc_${PV}.bb +require glibc-intermediate.inc DEFAULT_PREFERENCE = "-1" -do_install () { - : -} - -PACKAGES = "" -PACKAGES_DYNAMIC = "" -PROVIDES = "virtual/${TARGET_PREFIX}libc-for-gcc" -DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial linux-libc-headers" -GLIBC_ADDONS = "nptl,ports" -GLIBC_EXTRA_OECONF = "" diff --git a/meta/packages/glibc/glibc-intermediate_2.5.bb b/meta/packages/glibc/glibc-intermediate_2.5.bb index 7610f560a7..1fd6341d8e 100644 --- a/meta/packages/glibc/glibc-intermediate_2.5.bb +++ b/meta/packages/glibc/glibc-intermediate_2.5.bb @@ -1,8 +1,5 @@ require glibc_${PV}.bb - -do_install () { - : -} +require glibc-intermediate.inc # gcc uses -Werror which break on a "you have no thumb interwork" _warning_ do_configure_prepend() { @@ -10,10 +7,3 @@ do_configure_prepend() { } - -PACKAGES = "" -PACKAGES_DYNAMIC = "" -PROVIDES = "virtual/${TARGET_PREFIX}libc-for-gcc" -DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial linux-libc-headers" -GLIBC_ADDONS = "nptl,ports" -GLIBC_EXTRA_OECONF = "" diff --git a/meta/packages/glibc/glibc-intermediate_csl-2005q3-2.bb b/meta/packages/glibc/glibc-intermediate_csl-2005q3-2.bb index 0e0c85f303..5d161b127e 100644 --- a/meta/packages/glibc/glibc-intermediate_csl-2005q3-2.bb +++ b/meta/packages/glibc/glibc-intermediate_csl-2005q3-2.bb @@ -1,17 +1,8 @@ -SECTION = "libs" - require glibc_${PV}.bb +require glibc-intermediate.inc DEFAULT_PREFERENCE = "-1" -do_install () { - : -} - -PACKAGES = "" -PACKAGES_DYNAMIC = "" -PROVIDES = "virtual/${TARGET_PREFIX}libc-for-gcc" -DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial linux-libc-headers" GLIBC_ADDONS = "nptl,libidn" -#GLIBC_ADDONS = "libidn" -GLIBC_EXTRA_OECONF = "" + + -- cgit v1.2.3