summaryrefslogtreecommitdiff
path: root/linux-uml/linux-uml_2.6.7.oe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-07-21 13:49:48 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-07-21 13:49:48 +0000
commit912618e0156ebdc50d3d21ad8d43d0531a2ddf67 (patch)
tree7ebff069a3d2d3f121d3cbce0501c1fc1c097630 /linux-uml/linux-uml_2.6.7.oe
parent833f1cf60f1309d94e08063b9949f7c3b50d72d4 (diff)
linux-uml 2.6.7 finally builds
BKrev: 40fe747cFx8N9E67PIECZid-C0VqpA
Diffstat (limited to 'linux-uml/linux-uml_2.6.7.oe')
-rw-r--r--linux-uml/linux-uml_2.6.7.oe61
1 files changed, 61 insertions, 0 deletions
diff --git a/linux-uml/linux-uml_2.6.7.oe b/linux-uml/linux-uml_2.6.7.oe
index e69de29bb2..05f83147ef 100644
--- a/linux-uml/linux-uml_2.6.7.oe
+++ b/linux-uml/linux-uml_2.6.7.oe
@@ -0,0 +1,61 @@
+DESCRIPTION = "User Mode Linux Kernel"
+LICENSE = "GPL"
+UMLR = "1"
+PR = "1"
+
+SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+ file://Main-uml-patch-no-skas.patch;patch=1 \
+ file://Ghash.patch;patch=1 \
+ file://disable-UnitAtATime.patch;patch=1 \
+ file://HostFs-2.6-fd_leak.patch;patch=1 \
+ file://LegacyTerminalSupport.patch;patch=1 \
+ file://MakeHelp.patch;patch=1 \
+ file://H-02-Fixdep-improve.patch;patch=1 \
+ file://fix-warnings.patch;patch=1 \
+ file://NR_tkill_undefined.patch;patch=1 \
+ file://Move_away_from_user.patch;patch=1 \
+ file://Add_os_make_pty_raw.patch;patch=1 \
+ file://Hostaudio_clean.patch;patch=1 \
+ file://um-sysemu.patch;patch=1 \
+ file://sysemu_cmdParam.patch;patch=1 \
+ file://proc_sysemu.patch;patch=1 \
+ file://EINTR_safety.patch;patch=1 \
+ file://Export_strncpy.patch;patch=1 \
+ file://fix-arg-max.patch;patch=1 \
+ file://defconfig"
+S = "${WORKDIR}/linux-${PV}"
+
+inherit kernel
+
+COMPATIBLE_HOST = 'i.86.*-linux'
+
+export OS = "Linux"
+ARCH = "um"
+SUBARCH = "${TARGET_ARCH}"
+KERNEL_IMAGETYPE = "linux"
+
+do_configure() {
+ install -m 0644 ${WORKDIR}/defconfig .config
+ oe_runmake oldconfig
+}
+
+do_compile() {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ install -d arch/um/include/linux/
+ install -m 0644 include/linux/inet.h arch/um/include/linux/
+ oe_runmake ${KERNEL_IMAGETYPE}
+}
+
+do_stage_prepend() {
+ install -d arch/um/boot/
+ ln -sf ${S}/linux arch/um/boot/linux
+}
+
+do_install() {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ #oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install
+ install -d ${D}/boot
+ install -m 0755 linux ${D}/boot/linux-${PV}
+ install -m 0644 System.map ${D}/boot/System.map-${PV}
+ install -m 0644 .config ${D}/boot/config-${PV}
+}