From d436d3bf491cf18c24ec834010210594798cf450 Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Mon, 13 Dec 2010 09:23:27 -0800 Subject: eglibc: organize the recipes lic and other meta data in common file Signed-off-by: Nitin A Kamble --- meta/recipes-core/eglibc/eglibc-common.inc | 11 +++++++++++ meta/recipes-core/eglibc/eglibc-initial.inc | 3 ++- meta/recipes-core/eglibc/eglibc.inc | 9 ++------- 3 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 meta/recipes-core/eglibc/eglibc-common.inc (limited to 'meta/recipes-core/eglibc') diff --git a/meta/recipes-core/eglibc/eglibc-common.inc b/meta/recipes-core/eglibc/eglibc-common.inc new file mode 100644 index 000000000..a9b14766d --- /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 a240ae2d5..d49ec8a87 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 2857a408f..469825493 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 -- cgit v1.2.3