summaryrefslogtreecommitdiff
path: root/recipes/linux-uml/linux-uml-2.4.26/disable-aio-check.patch
diff options
context:
space:
mode:
authorLukas Gorris <lukas.gorris@gmail.com>2009-03-30 21:20:14 +0200
committerLukas Gorris <lukas.gorris@gmail.com>2009-03-30 21:20:14 +0200
commita93dfebb9e7a34ffba9b1ae5e8e496dfab4c3c43 (patch)
tree6c38a4617c92398269e6603a0509fc3006811368 /recipes/linux-uml/linux-uml-2.4.26/disable-aio-check.patch
parent4255898da29e7e0c521d064afedbc4075b3e8155 (diff)
parentd7fdcef3d8c8b80926d579c2db179b594429cebe (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/linux-uml/linux-uml-2.4.26/disable-aio-check.patch')
-rw-r--r--recipes/linux-uml/linux-uml-2.4.26/disable-aio-check.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/linux-uml/linux-uml-2.4.26/disable-aio-check.patch b/recipes/linux-uml/linux-uml-2.4.26/disable-aio-check.patch
new file mode 100644
index 0000000000..c71fba1316
--- /dev/null
+++ b/recipes/linux-uml/linux-uml-2.4.26/disable-aio-check.patch
@@ -0,0 +1,20 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- linux-2.4.26/arch/um/os-Linux/Makefile~disable-aio-check 2004-05-21 10:47:13.000000000 +0200
++++ linux-2.4.26/arch/um/os-Linux/Makefile 2004-05-21 10:52:28.000000000 +0200
+@@ -7,10 +7,8 @@
+
+ obj-y = aio.o file.o process.o time.o tty.o
+
+-HAVE_AIO_ABI = $(shell [ -e /usr/include/linux/aio_abi.h ] && \
+- echo -DHAVE_AIO_ABI)
+-HAVE_AIO_LIBC = $(shell objdump -T /lib/libc-*.so | grep io_submit && \
+- echo -DHAVE_AIO_LIBC)
++HAVE_AIO_ABI = $(shell echo -UHAVE_AIO_ABI)
++HAVE_AIO_LIBC = $(shell echo -UHAVE_AIO_LIBC)
+ CFLAGS_aio.o = $(HAVE_AIO_ABI) $(HAVE_AIO_LIBC)
+
+ include $(TOPDIR)/Rules.make