From b9c86cae75b9cf2161dbc9cc61882f45f150132f Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Mon, 16 Oct 2006 17:48:37 +0000 Subject: celinux-test: distro for CELF testlab --- conf/distro/celinux-test.conf | 66 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 conf/distro/celinux-test.conf (limited to 'conf/distro/celinux-test.conf') diff --git a/conf/distro/celinux-test.conf b/conf/distro/celinux-test.conf new file mode 100644 index 0000000000..7bed702675 --- /dev/null +++ b/conf/distro/celinux-test.conf @@ -0,0 +1,66 @@ +#@-------------------------------------------------------------------- +#@TYPE: Distribution +#@NAME: CELF Linux test +#@DESCRIPTION: A Linux Distribution for the CELF test project +#@-------------------------------------------------------------------- + +DISTRO_VERSION = "${DATE}" + +# fixed SRCDATE for many packages +require conf/distro/include/sane-srcdates.inc + +# DISTRO_TYPE control behaviour of some recipes +# dropbear allow password-less root logins for "debug" +# kernel can be set to export logs to screen/serial +DISTRO_TYPE = "debug" +# DISTRO_TYPE = "release" + +# fix it to one date but allow to override in local.conf if needed +SRCDATE ?= "20060927" + +# glibc provides iconv and intl +PREFERRED_PROVIDER_virtual/libiconv = "glibc" +PREFERRED_PROVIDER_virtual/libintl = "glibc" + +# +# base +# +# +PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" +PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross" +PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross" + +PREFERRED_VERSION_binutils = "2.16" +PREFERRED_VERSION_binutils-cross = "2.16" + +PREFERRED_VERSION_gcc = "3.4.4" +PREFERRED_VERSION_gcc-cross = "3.4.4" +PREFERRED_VERSION_gcc-initial-cross = "3.4.4" + +PREFERRED_VERSION_linux-omap1_omap5912osk ?= "2.6.18+git" + +# 2.6.18 kernel does not support pcmcia-cs ioctl() calls +PCMCIA_MANAGER = "pcmciautils" + +# we want IPKG packages and Debian style naming +INHERIT += " package_ipk debian" + +# enable if build for many machines +#INHERIT += " multimachine" + +TARGET_OS = "linux" + +# use softfloat binaries to gain speed on ARM machines +TARGET_FPU = "soft" + +# set minimal version of BitBake needed +BB_MIN_VERSION = "1.6.0" + +# check for required tools and minimal BitBake version +INHERIT += "sanity" + +# we want images supporting the following features (for task-base) +DISTRO_FEATURES = "nfs pcmcia usbhost" + +# enable if want ltp iin bootstrap images +#DISTRO_EXTRA_RDEPENDS = "ltp" -- cgit v1.2.3 From e5c6d7d4acab50ef50d7a3903987c6341569dfac Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Mon, 16 Oct 2006 18:15:53 +0000 Subject: celinux-test: softfloat only for ARM machines --- conf/distro/celinux-test.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf/distro/celinux-test.conf') diff --git a/conf/distro/celinux-test.conf b/conf/distro/celinux-test.conf index 7bed702675..d8b25e5a13 100644 --- a/conf/distro/celinux-test.conf +++ b/conf/distro/celinux-test.conf @@ -51,7 +51,7 @@ INHERIT += " package_ipk debian" TARGET_OS = "linux" # use softfloat binaries to gain speed on ARM machines -TARGET_FPU = "soft" +TARGET_FPU_arm = "soft" # set minimal version of BitBake needed BB_MIN_VERSION = "1.6.0" -- cgit v1.2.3 From 5f0c265d6f5434246dbe14dd33abd73778a937a9 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 18 Oct 2006 06:40:29 +0000 Subject: celinux-test: override TARGET_CC_ARCH for omap5912osk - gcc 3.x use other mtune then gcc 4.x --- conf/distro/celinux-test.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf/distro/celinux-test.conf') diff --git a/conf/distro/celinux-test.conf b/conf/distro/celinux-test.conf index d8b25e5a13..a4a8671ea0 100644 --- a/conf/distro/celinux-test.conf +++ b/conf/distro/celinux-test.conf @@ -39,6 +39,9 @@ PREFERRED_VERSION_gcc-initial-cross = "3.4.4" PREFERRED_VERSION_linux-omap1_omap5912osk ?= "2.6.18+git" +# gcc 3.x use other -mtune name then gcc 4.x +TARGET_CC_ARCH_omap5912osk = "-march=armv5te -mtune=arm926ejs" + # 2.6.18 kernel does not support pcmcia-cs ioctl() calls PCMCIA_MANAGER = "pcmciautils" -- cgit v1.2.3 From c52bead29e80c30f359cc129895d3db2f603364b Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 18 Oct 2006 06:44:06 +0000 Subject: celinux-test: added more comments, restructured --- conf/distro/celinux-test.conf | 57 +++++++++++++++++++++++++++---------------- 1 file changed, 36 insertions(+), 21 deletions(-) (limited to 'conf/distro/celinux-test.conf') diff --git a/conf/distro/celinux-test.conf b/conf/distro/celinux-test.conf index a4a8671ea0..b15dbae66b 100644 --- a/conf/distro/celinux-test.conf +++ b/conf/distro/celinux-test.conf @@ -4,10 +4,23 @@ #@DESCRIPTION: A Linux Distribution for the CELF test project #@-------------------------------------------------------------------- -DISTRO_VERSION = "${DATE}" +# +# core distro settings +# -# fixed SRCDATE for many packages -require conf/distro/include/sane-srcdates.inc +# we want IPKG packages and Debian style naming +INHERIT += " package_ipk debian" + +# enable if build for many machines +#INHERIT += " multimachine" + +# we want images supporting the following features (for task-base) +DISTRO_FEATURES = "nfs pcmcia usbhost" + +# enable if want ltp iin bootstrap images +#DISTRO_EXTRA_RDEPENDS = "ltp" + +DISTRO_VERSION = "${DATE}" # DISTRO_TYPE control behaviour of some recipes # dropbear allow password-less root logins for "debug" @@ -15,16 +28,14 @@ require conf/distro/include/sane-srcdates.inc DISTRO_TYPE = "debug" # DISTRO_TYPE = "release" +# fixed SRCDATE for many packages +require conf/distro/include/sane-srcdates.inc + # fix it to one date but allow to override in local.conf if needed SRCDATE ?= "20060927" -# glibc provides iconv and intl -PREFERRED_PROVIDER_virtual/libiconv = "glibc" -PREFERRED_PROVIDER_virtual/libintl = "glibc" - -# -# base # +# toolchain # PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross" @@ -37,6 +48,15 @@ PREFERRED_VERSION_gcc = "3.4.4" PREFERRED_VERSION_gcc-cross = "3.4.4" PREFERRED_VERSION_gcc-initial-cross = "3.4.4" +# glibc provides iconv and intl +PREFERRED_PROVIDER_virtual/libiconv = "glibc" +PREFERRED_PROVIDER_virtual/libintl = "glibc" + +# +# omap5912osk settings +# + +# use latest booting kernel but allow to override it in local.conf PREFERRED_VERSION_linux-omap1_omap5912osk ?= "2.6.18+git" # gcc 3.x use other -mtune name then gcc 4.x @@ -45,25 +65,20 @@ TARGET_CC_ARCH_omap5912osk = "-march=armv5te -mtune=arm926ejs" # 2.6.18 kernel does not support pcmcia-cs ioctl() calls PCMCIA_MANAGER = "pcmciautils" -# we want IPKG packages and Debian style naming -INHERIT += " package_ipk debian" - -# enable if build for many machines -#INHERIT += " multimachine" - +# +# target system settings +# TARGET_OS = "linux" # use softfloat binaries to gain speed on ARM machines TARGET_FPU_arm = "soft" +# +# extra checking for needed tools +# + # set minimal version of BitBake needed BB_MIN_VERSION = "1.6.0" # check for required tools and minimal BitBake version INHERIT += "sanity" - -# we want images supporting the following features (for task-base) -DISTRO_FEATURES = "nfs pcmcia usbhost" - -# enable if want ltp iin bootstrap images -#DISTRO_EXTRA_RDEPENDS = "ltp" -- cgit v1.2.3 From ec925c3eec483f3f8eee45ffd12595d216146224 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 18 Oct 2006 08:23:22 +0000 Subject: celinux-test: typos --- conf/distro/celinux-test.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf/distro/celinux-test.conf') diff --git a/conf/distro/celinux-test.conf b/conf/distro/celinux-test.conf index b15dbae66b..5042ea8be4 100644 --- a/conf/distro/celinux-test.conf +++ b/conf/distro/celinux-test.conf @@ -17,7 +17,7 @@ INHERIT += " package_ipk debian" # we want images supporting the following features (for task-base) DISTRO_FEATURES = "nfs pcmcia usbhost" -# enable if want ltp iin bootstrap images +# enable if you want ltp in bootstrap images #DISTRO_EXTRA_RDEPENDS = "ltp" DISTRO_VERSION = "${DATE}" -- cgit v1.2.3 From dd7e7491156ae8daeb71fa9109d0d839303649ac Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 18 Oct 2006 08:34:55 +0000 Subject: celinux-test: one more typo missed --- conf/distro/celinux-test.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf/distro/celinux-test.conf') diff --git a/conf/distro/celinux-test.conf b/conf/distro/celinux-test.conf index 5042ea8be4..102f7b4dda 100644 --- a/conf/distro/celinux-test.conf +++ b/conf/distro/celinux-test.conf @@ -46,7 +46,7 @@ PREFERRED_VERSION_binutils-cross = "2.16" PREFERRED_VERSION_gcc = "3.4.4" PREFERRED_VERSION_gcc-cross = "3.4.4" -PREFERRED_VERSION_gcc-initial-cross = "3.4.4" +PREFERRED_VERSION_gcc-cross-initial = "3.4.4" # glibc provides iconv and intl PREFERRED_PROVIDER_virtual/libiconv = "glibc" -- cgit v1.2.3 From c26a79854d9d2571ba8d24cde133a5108e3d1535 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Mon, 23 Oct 2006 15:51:55 +0000 Subject: celinux-test: set fixed glibc version --- conf/distro/celinux-test.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf/distro/celinux-test.conf') diff --git a/conf/distro/celinux-test.conf b/conf/distro/celinux-test.conf index 102f7b4dda..1494344e8b 100644 --- a/conf/distro/celinux-test.conf +++ b/conf/distro/celinux-test.conf @@ -48,6 +48,8 @@ PREFERRED_VERSION_gcc = "3.4.4" PREFERRED_VERSION_gcc-cross = "3.4.4" PREFERRED_VERSION_gcc-cross-initial = "3.4.4" +PREFERRED_VERSION_glibc = "2.3.5+cvs20050627" + # glibc provides iconv and intl PREFERRED_PROVIDER_virtual/libiconv = "glibc" PREFERRED_PROVIDER_virtual/libintl = "glibc" -- cgit v1.2.3 From 3d23242b9787c3efbe4db9cf1477e8802d18b575 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Mon, 23 Oct 2006 15:52:37 +0000 Subject: celinux-test: set fixed toolchain stuff to not get sharprom crap info --- conf/distro/celinux-test.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf/distro/celinux-test.conf') diff --git a/conf/distro/celinux-test.conf b/conf/distro/celinux-test.conf index 1494344e8b..94fde2eac5 100644 --- a/conf/distro/celinux-test.conf +++ b/conf/distro/celinux-test.conf @@ -40,6 +40,8 @@ SRCDATE ?= "20060927" PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross" PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross" +PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}binutils:binutils-cross" +PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}libc-for-gcc:glibc" PREFERRED_VERSION_binutils = "2.16" PREFERRED_VERSION_binutils-cross = "2.16" -- cgit v1.2.3 From e3838bf63309b0a0fa6d145951d685d6fb66ca0e Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Mon, 23 Oct 2006 15:55:33 +0000 Subject: celinux-test: bump omap5912osk kernel to 2.6.18-omap1 --- conf/distro/celinux-test.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf/distro/celinux-test.conf') diff --git a/conf/distro/celinux-test.conf b/conf/distro/celinux-test.conf index 94fde2eac5..03dcd22d79 100644 --- a/conf/distro/celinux-test.conf +++ b/conf/distro/celinux-test.conf @@ -61,7 +61,7 @@ PREFERRED_PROVIDER_virtual/libintl = "glibc" # # use latest booting kernel but allow to override it in local.conf -PREFERRED_VERSION_linux-omap1_omap5912osk ?= "2.6.18+git" +PREFERRED_VERSION_linux-omap1_omap5912osk ?= "2.6.18-omap1" # gcc 3.x use other -mtune name then gcc 4.x TARGET_CC_ARCH_omap5912osk = "-march=armv5te -mtune=arm926ejs" -- cgit v1.2.3