xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/apmd/apmd/unlinux.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1copy OE commit message here:
2   commit 9456cdc1cf43e3ba9e6d88c63560c1b6fdee4359
3   Author: Michael Krelin <hacker@klever.net>
4   Date:   Tue May 29 12:27:45 2007 +0000
5
6   apmd: prevent build from interferring with host kernel headers. Closes #1257
7
8comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-13
9
10Upstream-Status: Pending
11
12Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13
14--- apmd-3.2.2.orig/Makefile
15+++ apmd-3.2.2/Makefile
16@@ -43,8 +43,7 @@
17
18 CC=gcc
19 CFLAGS=-O -g
20-XTRACFLAGS=-Wall -pipe -I. -I/usr/src/linux/include -I/usr/X11R6/include \
21-		-I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include \
22+XTRACFLAGS=-Wall -pipe -I. \
23 		-DVERSION=\"$(VERSION)\" \
24 		-DDEFAULT_PROXY_NAME=\"$(PROXY_DIR)/apmd_proxy\"
25 LDFLAGS=
26