Skip to contentSkip to conversation

security/selinux: change to new flag variable

PATCH Applied matt mooney 2 participants 2 messages Sep 23, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/20 security/selinux: change to new flag variable

Replace EXTRA_CFLAGS with ccflags-y.

---
 security/selinux/Makefile    |    2 +-
 security/selinux/ss/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
security/selinux/Makefile +1 -1
index 58d80f3..aa9741c 100644
@@ -18,7 +18,7 @@ selinux-$(CONFIG_SECURITY_NETWORK_XFRM) += xfrm.o
 
 selinux-$(CONFIG_NETLABEL) += netlabel.o
 
-EXTRA_CFLAGS += -Isecurity/selinux -Isecurity/selinux/include
+ccflags-y := -Isecurity/selinux -Isecurity/selinux/include
 
 $(obj)/avc.o: $(obj)/flask.h
 
security/selinux/ss/Makefile +1 -1
index 15d4e62..6bee7c2 100644
@@ -2,7 +2,7 @@
 # Makefile for building the SELinux security server as part of the kernel tree.
 #
 
-EXTRA_CFLAGS += -Isecurity/selinux -Isecurity/selinux/include
+ccflags-y := -Isecurity/selinux -Isecurity/selinux/include
 obj-y := ss.o
 
 ss-y := ebitmap.o hashtab.o symtab.o sidtab.o avtab.o policydb.o services.o conditional.o mls.o
Signature · 1 line
1.7.2.1