From: Nitin A Kamble Date: Mon, 13 Dec 2010 17:23:27 +0000 (-0800) Subject: eglibc: organize the recipes lic and other meta data in common file X-Git-Tag: 2011-1~3423 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d436d3bf491cf18c24ec834010210594798cf450;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git eglibc: organize the recipes lic and other meta data in common file Signed-off-by: Nitin A Kamble --- diff --git a/meta/recipes-core/eglibc/eglibc-common.inc b/meta/recipes-core/eglibc/eglibc-common.inc new file mode 100644 index 00000000000..a9b14766d66 --- /dev/null +++ b/meta/recipes-core/eglibc/eglibc-common.inc @@ -0,0 +1,11 @@ +SUMMARY = "Embedded GLIBC (GNU C Library)" +DESCRIPTION = "Embedded GLIBC (EGLIBC) is a variant of the GNU C Library (GLIBC) that is designed to work well on embedded systems. EGLIBC strives to be source and binary compatible with GLIBC. EGLIBC's goals include reduced footprint, configurable components, better support for cross-compilation and cross-testing." +HOMEPAGE = "http://www.eglibc.org/home" +SECTION = "libs" +PRIORITY = "required" +LICENSE = "LGPL" +INC_PR = "r11" +LIC_FILES_CHKSUM = "file://LICENSES;md5=07a394b26e0902b9ffdec03765209770 \ + file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \ + file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \ + file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff " diff --git a/meta/recipes-core/eglibc/eglibc-initial.inc b/meta/recipes-core/eglibc/eglibc-initial.inc index a240ae2d522..d49ec8a87e3 100644 --- a/meta/recipes-core/eglibc/eglibc-initial.inc +++ b/meta/recipes-core/eglibc/eglibc-initial.inc @@ -1,4 +1,5 @@ -SECTION = "libs" +require eglibc-common.inc + DEPENDS = "linux-libc-headers virtual/${TARGET_PREFIX}gcc-initial" PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc index 2857a408f98..4698254932a 100644 --- a/meta/recipes-core/eglibc/eglibc.inc +++ b/meta/recipes-core/eglibc/eglibc.inc @@ -1,10 +1,5 @@ -SUMMARY = "Embedded GLIBC (GNU C Library)" -DESCRIPTION = "Embedded GLIBC (EGLIBC) is a variant of the GNU C Library (GLIBC) that is designed to work well on embedded systems. EGLIBC strives to be source and binary compatible with GLIBC. EGLIBC's goals include reduced footprint, configurable components, better support for cross-compilation and cross-testing." -HOMEPAGE = "http://www.eglibc.org/home" -SECTION = "libs" -PRIORITY = "required" -LICENSE = "LGPL" -INC_PR = "r11" +require eglibc-common.inc + # nptl needs unwind support in gcc, which can't be built without glibc. DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers" #this leads to circular deps, so lets not add it yet