linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 02/20] security/selinux: change to new flag variable
@ 2010-09-23  6:50 matt mooney
  2010-09-23 23:40 ` James Morris
  0 siblings, 1 reply; 2+ messages in thread
From: matt mooney @ 2010-09-23  6:50 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: James Morris, Eric Paris, linux-kernel, kernel-janitors

Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney <mfm@muteddisk.com>
---
 security/selinux/Makefile    |    2 +-
 security/selinux/ss/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/selinux/Makefile b/security/selinux/Makefile
index 58d80f3..aa9741c 100644
--- a/security/selinux/Makefile
+++ b/security/selinux/Makefile
@@ -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
 
diff --git a/security/selinux/ss/Makefile b/security/selinux/ss/Makefile
index 15d4e62..6bee7c2 100644
--- a/security/selinux/ss/Makefile
+++ b/security/selinux/ss/Makefile
@@ -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
-- 
1.7.2.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 02/20] security/selinux: change to new flag variable
  2010-09-23  6:50 [PATCH 02/20] security/selinux: change to new flag variable matt mooney
@ 2010-09-23 23:40 ` James Morris
  0 siblings, 0 replies; 2+ messages in thread
From: James Morris @ 2010-09-23 23:40 UTC (permalink / raw)
  To: matt mooney; +Cc: Stephen Smalley, Eric Paris, linux-kernel, kernel-janitors

On Wed, 22 Sep 2010, matt mooney wrote:

> Replace EXTRA_CFLAGS with ccflags-y.
> 
> Signed-off-by: matt mooney <mfm@muteddisk.com>

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next

(with a couple of fixups).

-- 
James Morris
<jmorris@namei.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-23 23:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-23  6:50 [PATCH 02/20] security/selinux: change to new flag variable matt mooney
2010-09-23 23:40 ` James Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).