summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/libcap/libcap2/make.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-06-28 14:51:58 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-06-28 14:57:03 +0200
commit15a5642b2a4df41dc0adf9d250cd5085eaf1d69b (patch)
tree1fba23ff174965b022128979ef445e09a65b5c6f /meta-oe/recipes-core/libcap/libcap2/make.patch
parent705e4e484f69dca56db5728e7fb1f14de95fc183 (diff)
downloadmeta-openembedded-15a5642b2a4df41dc0adf9d250cd5085eaf1d69b.tar.gz
libcap2: drop, it's in oe-core already
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-core/libcap/libcap2/make.patch')
-rw-r--r--meta-oe/recipes-core/libcap/libcap2/make.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/meta-oe/recipes-core/libcap/libcap2/make.patch b/meta-oe/recipes-core/libcap/libcap2/make.patch
deleted file mode 100644
index 57a2cae513..0000000000
--- a/meta-oe/recipes-core/libcap/libcap2/make.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1--- a/Make.Rules
2+++ b/Make.Rules
3@@ -47,25 +47,18 @@
4 KERNEL_HEADERS := $(topdir)/libcap/include
5 IPATH += -fPIC -I$(topdir)/libcap/include -I$(KERNEL_HEADERS)
6
7-CC := gcc
8-CFLAGS := -O2
9-BUILD_CC := $(CC)
10-BUILD_CFLAGS := $(CFLAGS) $(IPATH)
11-AR := ar
12-RANLIB := ranlib
13 DEBUG = -g #-DDEBUG
14 WARNINGS=-Wall -Wwrite-strings \
15 -Wpointer-arith -Wcast-qual -Wcast-align \
16 -Wstrict-prototypes -Wmissing-prototypes \
17 -Wnested-externs -Winline -Wshadow
18 LD=$(CC) -Wl,-x -shared
19-LDFLAGS := #-g
20
21-SYSTEM_HEADERS = /usr/include
22+SYSTEM_HEADERS ?= /usr/include
23 INCS=$(topdir)/libcap/include/sys/capability.h
24 LDFLAGS += -L$(topdir)/libcap
25 CFLAGS += -Dlinux $(WARNINGS) $(DEBUG)
26-PAM_CAP := $(shell if [ -f /usr/include/security/pam_modules.h ]; then echo yes ; else echo no ; fi)
27+PAM_CAP := $(shell if [ -f $(SYSTEM_HEADERS)/security/pam_modules.h ]; then echo yes ; else echo no ; fi)
28 INDENT := $(shell if [ -n "$(which indent 2>/dev/null)" ]; then echo "| indent -kr" ; fi)
29 DYNAMIC := $(shell if [ ! -d "$(topdir)/.git" ]; then echo yes; fi)
30 LIBATTR := yes