aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew G Morgan <morgan@kernel.org>2014-01-05 16:57:29 -0800
committerJorge Lucangeli Obes <jorgelo@google.com>2015-09-03 14:13:03 -0700
commit180b512567edf98e7faf3a7fe4fb39175fc3f3db (patch)
treeedb3494201df228a034dba78cca9313d22f3f31e
parent7cef6f379932486d8effbf6eb0a80fbc73c64b6b (diff)
downloadlibcap-180b512567edf98e7faf3a7fe4fb39175fc3f3db.tar.gz
Fix libcap build issue - remove spurious /uapi
Thanks to Allan McRae for resolving it. Signed-off-by: Andrew G Morgan <morgan@kernel.org>
-rw-r--r--libcap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcap/Makefile b/libcap/Makefile
index 6aa1055..20ab00f 100644
--- a/libcap/Makefile
+++ b/libcap/Makefile
@@ -53,7 +53,7 @@ $(GPERF_OUTPUT): cap_names.list.h
cap_names.list.h: Makefile $(KERNEL_HEADERS)/linux/capability.h
@echo "=> making $@ from $(KERNEL_HEADERS)/linux/capability.h"
- perl -e 'while ($$l=<>) { if ($$l =~ /^\#define[ \t](CAP[_A-Z]+)[ \t]+([0-9]+)\s+$$/) { $$tok=$$1; $$val=$$2; $$tok =~ tr/A-Z/a-z/; print "{\"$$tok\",$$val},\n"; } }' $(KERNEL_HEADERS)/uapi/linux/capability.h | fgrep -v 0x > $@
+ perl -e 'while ($$l=<>) { if ($$l =~ /^\#define[ \t](CAP[_A-Z]+)[ \t]+([0-9]+)\s+$$/) { $$tok=$$1; $$val=$$2; $$tok =~ tr/A-Z/a-z/; print "{\"$$tok\",$$val},\n"; } }' $(KERNEL_HEADERS)/linux/capability.h | fgrep -v 0x > $@
$(STALIBNAME): $(OBJS)
$(AR) rcs $@ $^