summaryrefslogtreecommitdiff
path: root/linux-uml
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-05-21 09:06:34 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-05-21 09:06:34 +0000
commit2a565128ea0a920bad2969176edeef410879b0c2 (patch)
tree550e1c6d117b26ba0b9cb2036d5519d32376a084 /linux-uml
parentb6d95867a7e437e5e25cc9091469d5d7309bfea3 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into gandalf.tm.informatik.uni-frankfurt.de:/usr/local/projects/packages 2004/05/21 10:59:54+02:00 uni-frankfurt.de!mickeyl patch the hell out of linux-uml to get it to work BKrev: 40adc69axkLCrxzsUep1hk2661QJmA
Diffstat (limited to 'linux-uml')
-rw-r--r--linux-uml/linux-uml-2.4.26/02-config_cleanup.patch0
-rw-r--r--linux-uml/linux-uml-2.4.26/07-mconsole_dir_cleanup.patch0
-rw-r--r--linux-uml/linux-uml-2.4.26/10-flock.patch0
-rw-r--r--linux-uml/linux-uml-2.4.26/11-usr1_process_tkill.patch0
-rw-r--r--linux-uml/linux-uml-2.4.26/12-hostfs.patch0
-rw-r--r--linux-uml/linux-uml-2.4.26/13-hostfs_access.patch0
-rw-r--r--linux-uml/linux-uml-2.4.26/disable-aio-check.patch0
-rw-r--r--linux-uml/linux-uml_2.4.26.oe52
8 files changed, 52 insertions, 0 deletions
diff --git a/linux-uml/linux-uml-2.4.26/02-config_cleanup.patch b/linux-uml/linux-uml-2.4.26/02-config_cleanup.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/linux-uml/linux-uml-2.4.26/02-config_cleanup.patch
diff --git a/linux-uml/linux-uml-2.4.26/07-mconsole_dir_cleanup.patch b/linux-uml/linux-uml-2.4.26/07-mconsole_dir_cleanup.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/linux-uml/linux-uml-2.4.26/07-mconsole_dir_cleanup.patch
diff --git a/linux-uml/linux-uml-2.4.26/10-flock.patch b/linux-uml/linux-uml-2.4.26/10-flock.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/linux-uml/linux-uml-2.4.26/10-flock.patch
diff --git a/linux-uml/linux-uml-2.4.26/11-usr1_process_tkill.patch b/linux-uml/linux-uml-2.4.26/11-usr1_process_tkill.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/linux-uml/linux-uml-2.4.26/11-usr1_process_tkill.patch
diff --git a/linux-uml/linux-uml-2.4.26/12-hostfs.patch b/linux-uml/linux-uml-2.4.26/12-hostfs.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/linux-uml/linux-uml-2.4.26/12-hostfs.patch
diff --git a/linux-uml/linux-uml-2.4.26/13-hostfs_access.patch b/linux-uml/linux-uml-2.4.26/13-hostfs_access.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/linux-uml/linux-uml-2.4.26/13-hostfs_access.patch
diff --git a/linux-uml/linux-uml-2.4.26/disable-aio-check.patch b/linux-uml/linux-uml-2.4.26/disable-aio-check.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/linux-uml/linux-uml-2.4.26/disable-aio-check.patch
diff --git a/linux-uml/linux-uml_2.4.26.oe b/linux-uml/linux-uml_2.4.26.oe
index e69de29bb2..2265ad85eb 100644
--- a/linux-uml/linux-uml_2.4.26.oe
+++ b/linux-uml/linux-uml_2.4.26.oe
@@ -0,0 +1,52 @@
+DESCRIPTION = "User Mode Linux Kernel"
+LICENSE = "GPL"
+UMLR = "1"
+PR = "2"
+DEPENDS = "virtual/libc"
+
+SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${PV}.tar.bz2 \
+ http://mirror.usermodelinux.org/uml/uml-patch-${PV}-${UMLR}.bz2;patch=1 \
+ file://${FILESDIR}/01-CONFIG_X86_CMPXCHG.patch-2;patch=1 \
+ file://${FILESDIR}/02-config_cleanup.patch;patch=1 \
+ file://${FILESDIR}/07-mconsole_dir_cleanup.patch;patch=1 \
+ file://${FILESDIR}/10-flock.patch;patch=1 \
+ file://${FILESDIR}/11-usr1_process_tkill.patch;patch=1 \
+ file://${FILESDIR}/12-hostfs.patch;patch=1 \
+ file://${FILESDIR}/13-hostfs_access.patch;patch=1 \
+ file://${FILESDIR}/fix-includes.patch;patch=1 \
+ file://${FILESDIR}/fix-arg-max.patch;patch=1 \
+ file://${FILESDIR}/disable-aio-check.patch;patch=1 "
+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 ${FILESDIR}/defconfig .config
+ oe_runmake oldconfig
+ install -d arch/um/include/linux/
+ #install -m 0644 ${FILESDIR}/aio_abi.h arch/um/include/linux/
+}
+
+do_compile() {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake dep
+ oe_runmake HAVE_AIO_ABI= HAVE_AIO_LIBC= STAGING_LIBDIR=${STAGING_LIBDIR} ${KERNEL_IMAGETYPE}
+ oe_runmake modules
+}
+
+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}
+}
+