aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/apmd/apmd-3.2.2-14/unlinux.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/apmd/apmd-3.2.2-14/unlinux.patch')
-rw-r--r--meta/recipes-bsp/apmd/apmd-3.2.2-14/unlinux.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-bsp/apmd/apmd-3.2.2-14/unlinux.patch b/meta/recipes-bsp/apmd/apmd-3.2.2-14/unlinux.patch
new file mode 100644
index 0000000000..c64e7df524
--- /dev/null
+++ b/meta/recipes-bsp/apmd/apmd-3.2.2-14/unlinux.patch
@@ -0,0 +1,21 @@
+# copy OE commit message here:
+# commit 9456cdc1cf43e3ba9e6d88c63560c1b6fdee4359
+# Author: Michael Krelin <hacker@klever.net>
+# Date: Tue May 29 12:27:45 2007 +0000
+#
+# apmd: prevent build from interferring with host kernel headers. Closes #1257
+#
+# comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-13
+
+--- apmd-3.2.2.orig/Makefile
++++ apmd-3.2.2/Makefile
+@@ -43,8 +43,7 @@
+
+ CC=gcc
+ CFLAGS=-O -g
+-XTRACFLAGS=-Wall -pipe -I. -I/usr/src/linux/include -I/usr/X11R6/include \
+- -I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include \
++XTRACFLAGS=-Wall -pipe -I. \
+ -DVERSION=\"$(VERSION)\" \
+ -DDEFAULT_PROXY_NAME=\"$(PROXY_DIR)/apmd_proxy\"
+ LDFLAGS=