diff options
author | Andrew G Morgan <morgan@kernel.org> | 2014-01-05 16:57:29 -0800 |
---|---|---|
committer | Andrew G Morgan <morgan@kernel.org> | 2014-01-05 16:57:29 -0800 |
commit | d1f32b2ab8de169f3d6a28475bc46eb22cd6f746 (patch) | |
tree | edb3494201df228a034dba78cca9313d22f3f31e | |
parent | c3290668646b767058e55b29f7b8f4be4af2e660 (diff) | |
download | libcap-d1f32b2ab8de169f3d6a28475bc46eb22cd6f746.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/Makefile | 2 |
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 $@ $^ |