diff options
author | Richard Purdie <richard@openedhand.com> | 2007-05-28 22:50:06 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-05-28 22:50:06 +0000 |
commit | 01bb4a6cfe38a2df33e11d2d9b25f6837ec312ce (patch) | |
tree | 37160f918af3f056e5f1df88045e821728bf3f51 /meta/conf/distro/include | |
parent | 80fbf41494fe65ad27051ccc5e182dd6fcff8428 (diff) | |
download | poky-01bb4a6cfe38a2df33e11d2d9b25f6837ec312ce.tar.gz |
conf: Add POKYLIBC to poky to select libc implemention
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1801 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf/distro/include')
-rw-r--r-- | meta/conf/distro/include/poky-eabi.inc | 5 | ||||
-rw-r--r-- | meta/conf/distro/include/poky-eabi2.inc | 5 | ||||
-rw-r--r-- | meta/conf/distro/include/poky-eabi3.inc | 5 | ||||
-rw-r--r-- | meta/conf/distro/include/poky-eabi5.inc | 8 | ||||
-rw-r--r-- | meta/conf/distro/include/poky-glibc.inc | 9 | ||||
-rw-r--r-- | meta/conf/distro/include/poky-oabi.inc | 5 | ||||
-rw-r--r-- | meta/conf/distro/include/poky-uclibc.inc | 14 |
7 files changed, 35 insertions, 16 deletions
diff --git a/meta/conf/distro/include/poky-eabi.inc b/meta/conf/distro/include/poky-eabi.inc index bb83718031..e3c7f90639 100644 --- a/meta/conf/distro/include/poky-eabi.inc +++ b/meta/conf/distro/include/poky-eabi.inc | |||
@@ -16,6 +16,5 @@ PREFERRED_VERSION_glibc-intermediate ?= "2.5" | |||
16 | PREFERRED_VERSION_glibc-initial ?= "2.5" | 16 | PREFERRED_VERSION_glibc-initial ?= "2.5" |
17 | PREFERRED_VERSION_elfutils ?= "0.108" | 17 | PREFERRED_VERSION_elfutils ?= "0.108" |
18 | 18 | ||
19 | #Use the ARM EABI when building for an ARM cpu. We can't use overrides | 19 | GLIBCTARGETOS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" |
20 | #here because this breaks all places where ":=" is used. | 20 | UCLIBCTARGETOS = "linux${@['-uclibc','-uclibcgnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" |
21 | TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}" | ||
diff --git a/meta/conf/distro/include/poky-eabi2.inc b/meta/conf/distro/include/poky-eabi2.inc index 51c6781d17..c3094bb7f9 100644 --- a/meta/conf/distro/include/poky-eabi2.inc +++ b/meta/conf/distro/include/poky-eabi2.inc | |||
@@ -15,6 +15,5 @@ PREFERRED_VERSION_glibc ?= "2.4" | |||
15 | PREFERRED_VERSION_glibc-intermediate ?= "2.4" | 15 | PREFERRED_VERSION_glibc-intermediate ?= "2.4" |
16 | PREFERRED_VERSION_elfutils ?= "0.108" | 16 | PREFERRED_VERSION_elfutils ?= "0.108" |
17 | 17 | ||
18 | #Use the ARM EABI when building for an ARM cpu. We can't use overrides | 18 | GLIBCTARGETOS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" |
19 | #here because this breaks all places where ":=" is used. | 19 | UCLIBCTARGETOS = "linux${@['-uclibc','-uclibcgnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" |
20 | TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}" | ||
diff --git a/meta/conf/distro/include/poky-eabi3.inc b/meta/conf/distro/include/poky-eabi3.inc index 263647920f..128d53e39e 100644 --- a/meta/conf/distro/include/poky-eabi3.inc +++ b/meta/conf/distro/include/poky-eabi3.inc | |||
@@ -15,6 +15,5 @@ PREFERRED_VERSION_glibc ?= "2.4" | |||
15 | PREFERRED_VERSION_glibc-intermediate ?= "2.4" | 15 | PREFERRED_VERSION_glibc-intermediate ?= "2.4" |
16 | PREFERRED_VERSION_elfutils ?= "0.108" | 16 | PREFERRED_VERSION_elfutils ?= "0.108" |
17 | 17 | ||
18 | #Use the ARM EABI when building for an ARM cpu. We can't use overrides | 18 | GLIBCTARGETOS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" |
19 | #here because this breaks all places where ":=" is used. | 19 | UCLIBCTARGETOS = "linux${@['-uclibc','-uclibcgnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" |
20 | TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}" | ||
diff --git a/meta/conf/distro/include/poky-eabi5.inc b/meta/conf/distro/include/poky-eabi5.inc index 85a68e7de9..74972ad822 100644 --- a/meta/conf/distro/include/poky-eabi5.inc +++ b/meta/conf/distro/include/poky-eabi5.inc | |||
@@ -8,9 +8,6 @@ PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc-intermediate" | |||
8 | PREFERRED_VERSION_gcc ?= "3.4.4+csl-arm-2005q3" | 8 | PREFERRED_VERSION_gcc ?= "3.4.4+csl-arm-2005q3" |
9 | PREFERRED_VERSION_gcc-cross ?= "3.4.4+csl-arm-2005q3" | 9 | PREFERRED_VERSION_gcc-cross ?= "3.4.4+csl-arm-2005q3" |
10 | PREFERRED_VERSION_gcc-cross-initial ?= "3.4.4+csl-arm-2005q3" | 10 | PREFERRED_VERSION_gcc-cross-initial ?= "3.4.4+csl-arm-2005q3" |
11 | #PREFERRED_VERSION_gcc ?= "4.1.0" | ||
12 | #PREFERRED_VERSION_gcc-cross ?= "4.1.0" | ||
13 | #PREFERRED_VERSION_gcc-cross-initial ?= "4.1.0" | ||
14 | PREFERRED_VERSION_binutils ?= "2.16.91.0.7" | 11 | PREFERRED_VERSION_binutils ?= "2.16.91.0.7" |
15 | PREFERRED_VERSION_binutils-cross ?= "2.16.91.0.7" | 12 | PREFERRED_VERSION_binutils-cross ?= "2.16.91.0.7" |
16 | PREFERRED_VERSION_linux-libc-headers ?= "2.6.15.99" | 13 | PREFERRED_VERSION_linux-libc-headers ?= "2.6.15.99" |
@@ -18,6 +15,5 @@ PREFERRED_VERSION_glibc ?= "2.4" | |||
18 | PREFERRED_VERSION_glibc-intermediate ?= "2.4" | 15 | PREFERRED_VERSION_glibc-intermediate ?= "2.4" |
19 | PREFERRED_VERSION_elfutils ?= "0.108" | 16 | PREFERRED_VERSION_elfutils ?= "0.108" |
20 | 17 | ||
21 | #Use the ARM EABI when building for an ARM cpu. We can't use overrides | 18 | GLIBCTARGETOS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" |
22 | #here because this breaks all places where ":=" is used. | 19 | UCLIBCTARGETOS = "linux${@['-uclibc','-uclibcgnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" |
23 | TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}" | ||
diff --git a/meta/conf/distro/include/poky-glibc.inc b/meta/conf/distro/include/poky-glibc.inc new file mode 100644 index 0000000000..2744588e17 --- /dev/null +++ b/meta/conf/distro/include/poky-glibc.inc | |||
@@ -0,0 +1,9 @@ | |||
1 | # glibc: | ||
2 | PREFERRED_PROVIDER_virtual/libiconv ?= "glibc" | ||
3 | PREFERRED_PROVIDER_virtual/libintl ?= "glibc" | ||
4 | PREFERRED_PROVIDER_virtual/libc ?= "glibc" | ||
5 | |||
6 | TARGET_OS = "${GLIBCTARGETOS}" | ||
7 | |||
8 | CXXFLAGS += "-fvisibility-inlines-hidden" | ||
9 | |||
diff --git a/meta/conf/distro/include/poky-oabi.inc b/meta/conf/distro/include/poky-oabi.inc index 71d6092011..2244e449c7 100644 --- a/meta/conf/distro/include/poky-oabi.inc +++ b/meta/conf/distro/include/poky-oabi.inc | |||
@@ -8,4 +8,7 @@ PREFERRED_VERSION_gcc-cross ?= "3.4.4" | |||
8 | PREFERRED_VERSION_gcc-cross-initial ?= "3.4.4" | 8 | PREFERRED_VERSION_gcc-cross-initial ?= "3.4.4" |
9 | PREFERRED_VERSION_linux-libc-headers ?= "2.6.11.1" | 9 | PREFERRED_VERSION_linux-libc-headers ?= "2.6.11.1" |
10 | PREFERRED_VERSION_glibc ?= "2.3.5+cvs20050627" | 10 | PREFERRED_VERSION_glibc ?= "2.3.5+cvs20050627" |
11 | PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc" \ No newline at end of file | 11 | PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc" |
12 | |||
13 | GLIBCTARGETOS = "linux" | ||
14 | UCLIBCTARGETOS = "linux-uclibc" | ||
diff --git a/meta/conf/distro/include/poky-uclibc.inc b/meta/conf/distro/include/poky-uclibc.inc new file mode 100644 index 0000000000..55a8694aeb --- /dev/null +++ b/meta/conf/distro/include/poky-uclibc.inc | |||
@@ -0,0 +1,14 @@ | |||
1 | # uclibc: | ||
2 | #fix some iconv issues, needs to be adjusted when doing uclibc builds | ||
3 | PREFERRED_PROVIDER_virtual/libc = "uclibc" | ||
4 | PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv" | ||
5 | PREFERRED_PROVIDER_virtual/libintl ?= "gettext" | ||
6 | |||
7 | USE_NLS ?= "no" | ||
8 | USE_NLS_glib-2.0 = "yes" | ||
9 | |||
10 | TARGET_OS = "${UCLIBCTARGETOS}" | ||
11 | |||
12 | CXXFLAGS += "-fvisibility-inlines-hidden" | ||
13 | |||
14 | IMAGE_LINGUAS = "" | ||