Angstrom:
authorKoen Kooi <koen@openembedded.org>
Sun, 19 Feb 2006 21:08:06 +0000 (21:08 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 19 Feb 2006 21:08:06 +0000 (21:08 +0000)
* add main distro config file
* add 2006.9 release file
* add angstrom-version to brand the rootfs
NB: eabi is not enabled yet

conf/distro/angstrom-2006.9.conf [new file with mode: 0644]
conf/distro/angstrom.conf [new file with mode: 0644]
packages/angstrom/angstrom-version.bb [new file with mode: 0644]

diff --git a/conf/distro/angstrom-2006.9.conf b/conf/distro/angstrom-2006.9.conf
new file mode 100644 (file)
index 0000000..4ca9521
--- /dev/null
@@ -0,0 +1,64 @@
+DISTRO_VERSION = "2005.6RC-${DATE}"
+
+include conf/distro/angstrom.conf
+
+
+DISTRO_TYPE = "debug"
+#DISTRO_TYPE = "release"
+#!!!!! DON'T FORGET TO ENABLE ZAPROOTPASSWD !!!!!
+
+
+FEED_URIS += " \
+        base##http:///${ANGSTROM_URI}/releases/${DISTRO_VERSION}/feed/base \
+               ${MACHINE}##http://${ANGSTROM_URI}/releases/${DISTRO_VERSION}/feed/${MACHINE} \
+        updates##http://${ANGSTROM_URI}/releases/${DISTRO_VERSION}/feed/updates"
+
+#CVSDATE = 20050331
+
+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_PROVIDER_virtual/libiconv = "glibc"
+PREFERRED_PROVIDER_virtual/libintl = "glibc"
+
+#EABI stuff
+#PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-libc-for-gcc = "glibc-intermediate"
+
+PREFERRED_PROVIDER_x11=diet-x11
+
+#use EABI toolchain
+#PREFERRED_VERSION_gcc ?= "3.4.4+csl-arm-20051214"
+#PREFERRED_VERSION_gcc-cross ?= "3.4.4+csl-arm-20051214"
+#PREFERRED_VERSION_gcc-cross-initial ?= "3.4.4+csl-arm-20051214"
+#PREFERRED_VERSION_binutils ?= "2.16.91.0.4"
+#PREFERRED_VERSION_binutils-cross ?= "2.16.91.0.4"
+#PREFERRED_VERSION_glibc ?= "2.3.5+cvs20051214"
+#PREFERRED_VERSION_glibc-intermediate ?= "2.3.5+cvs20051214"
+
+#
+# Opie
+#
+
+PREFERRED_PROVIDERS += " virtual/libqpe:libqpe-opie"
+PREFERRED_VERSION_qte = "2.3.10"
+
+OPIE_VERSION = "1.2.1"
+include conf/distro/preferred-opie-versions.inc
+
+#
+# GPE
+#
+
+PREFERRED_PROVIDERS += "virtual/xserver:xserver-kdrive"
+PREFERRED_PROVIDERS += "virtual/gconf:gconf-dbus"
+PREFERRED_PROVIDER_x11 = "diet-x11"
+
+include conf/distro/preferred-gpe-versions-2.8.inc
+
+#
+# E
+#
+
+include conf/distro/preferred-e-versions.inc
+
diff --git a/conf/distro/angstrom.conf b/conf/distro/angstrom.conf
new file mode 100644 (file)
index 0000000..a8baa75
--- /dev/null
@@ -0,0 +1,22 @@
+#@TYPE: Distribution
+#@NAME: Angstrom 
+#@DESCRIPTION: Distribution configuration for Angstrom
+
+DISTRO = "angstrom"
+DISTRO_NAME = "Angstrom"
+
+#we'll use this till we get a real domain
+ANGSTROM_URI = "http://ewi546.ewi.utwente.nl/angstrom"
+
+INHERIT += "package_ipk debian"
+
+#EABI isn't working yet, so we'll use TARGET_OS = linux in the meantime
+#TARGET_OS = "none-linux-gnueabi"
+TARGET_OS = "linux"
+
+PARALLEL_INSTALL_MODULES = "1"
+
+BOOTSTRAP_EXTRA_DEPENDS += "angstrom-version"
+BOOTSTRAP_EXTRA_RDEPENDS += "angstrom-version"
+
+DISTRO_CHECK := "${@bb.data.getVar("DISTRO_VERSION",d,1) or bb.fatal('Remove this line or set a dummy DISTRO_VERSION if you really want to build an unversioned distro')}"
diff --git a/packages/angstrom/angstrom-version.bb b/packages/angstrom/angstrom-version.bb
new file mode 100644 (file)
index 0000000..f4322e0
--- /dev/null
@@ -0,0 +1,8 @@
+MAINTAINER = "Koen Kooi <koen@handhelds.org>"
+PV = ${DISTRO_VERSION}
+
+do_compile() {
+       mkdir -p ${D}${sysconfdir}
+       echo "Angstrom ${DISTRO_VERSION}" > ${D}${sysconfdir}/angstrom-version
+
+}