summaryrefslogtreecommitdiff
path: root/linux-uml
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
committerChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
commit06f7d17e81de21a95e35b03453242bc62b05a6aa (patch)
treebc9c53bce2c6a2fdce3caf5bb45bc3f8634b56be /linux-uml
parent4b022a36ced4930af6bcdeb7d75a5ed10c4ac9cd (diff)
First pass of .oe cleanups.
BKrev: 40529f4crFtRY5_1DubNmWhDeHSmPw
Diffstat (limited to 'linux-uml')
-rw-r--r--linux-uml/linux-uml_2.4.21.oe16
-rw-r--r--linux-uml/linux-uml_2.4.23.oe30
-rw-r--r--linux-uml/linux-uml_2.4.24.oe30
3 files changed, 68 insertions, 8 deletions
diff --git a/linux-uml/linux-uml_2.4.21.oe b/linux-uml/linux-uml_2.4.21.oe
index 84e170c8b7..d4986c1b0d 100644
--- a/linux-uml/linux-uml_2.4.21.oe
+++ b/linux-uml/linux-uml_2.4.21.oe
@@ -1,18 +1,18 @@
-DESCRIPTION=User Mode Linux Kernel
-PN=linux-uml
-PV=2.4.21
-LICENSE=GPL
-KV=2.4.21
+DESCRIPTION = "User Mode Linux Kernel"
+PN = "linux-uml"
+PV = "2.4.21"
+LICENSE = "GPL"
+KV = "2.4.21"
SRC_URI = ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
http://kernels.usermodelinux.org/patches/uml-patch-${KV}.bz2;patch=1 \
file://${FILESDIR}/fix-includes.patch;patch=1
-S=${WORKDIR}/linux-${KV}
+S = "${WORKDIR}/linux-${KV}"
inherit kernel
TARGET_ARCH_i686=i386
-ARCH=um
-SUBARCH=${TARGET_ARCH}
+ARCH = "um"
+SUBARCH = "${TARGET_ARCH}"
TARGET_OS_linux=Linux
KERNEL_IMAGETYPE=linux
diff --git a/linux-uml/linux-uml_2.4.23.oe b/linux-uml/linux-uml_2.4.23.oe
index e69de29bb2..3ce1592bfb 100644
--- a/linux-uml/linux-uml_2.4.23.oe
+++ b/linux-uml/linux-uml_2.4.23.oe
@@ -0,0 +1,30 @@
+DESCRIPTION = "User Mode Linux Kernel"
+LICENSE = "GPL"
+
+SRC_URI = ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 \
+ http://mirror.usermodelinux.org/uml/uml-patch-2.4.23-1.bz2;patch=1 \
+ file://${FILESDIR}/fix-includes.patch;patch=1
+S = "${WORKDIR}/linux-${PV}"
+
+inherit kernel
+TARGET_ARCH_i686=i386
+ARCH = "um"
+SUBARCH = "${TARGET_ARCH}"
+TARGET_OS_linux=Linux
+KERNEL_IMAGETYPE=linux
+
+do_configure_prepend () {
+ install -m 0644 ${FILESDIR}/defconfig .config
+ oe_runmake oldconfig
+}
+
+do_compile() {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake dep
+ oe_runmake STAGING_LIBDIR=${STAGING_LIBDIR} ${KERNEL_IMAGETYPE}
+ oe_runmake modules
+}
+
+do_install_append () {
+ install -m 0755 linux ${D}/boot/linux-${PV}
+}
diff --git a/linux-uml/linux-uml_2.4.24.oe b/linux-uml/linux-uml_2.4.24.oe
index e69de29bb2..04bc6208a9 100644
--- a/linux-uml/linux-uml_2.4.24.oe
+++ b/linux-uml/linux-uml_2.4.24.oe
@@ -0,0 +1,30 @@
+DESCRIPTION = "User Mode Linux Kernel"
+LICENSE = "GPL"
+
+SRC_URI = ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 \
+ http://mirror.usermodelinux.org/uml/uml-patch-${PV}-1.bz2;patch=1 \
+ file://${FILESDIR}/fix-includes.patch;patch=1
+S = "${WORKDIR}/linux-${PV}"
+
+inherit kernel
+TARGET_ARCH_i686=i386
+ARCH = "um"
+SUBARCH = "${TARGET_ARCH}"
+TARGET_OS_linux=Linux
+KERNEL_IMAGETYPE=linux
+
+do_configure_prepend () {
+ install -m 0644 ${FILESDIR}/defconfig .config
+ oe_runmake oldconfig
+}
+
+do_compile() {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake dep
+ oe_runmake STAGING_LIBDIR=${STAGING_LIBDIR} ${KERNEL_IMAGETYPE}
+ oe_runmake modules
+}
+
+do_install_append () {
+ install -m 0755 linux ${D}/boot/linux-${PV}
+}