lkml.org 
[lkml]   [2004]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][SELINUX] 2/7 Add netif controls
James Morris <jmorris@redhat.com> wrote:
>
> --- linux-2.6.1-rc2.pending/security/selinux/Makefile 2004-01-07 13:25:53.441124248 -0500
> +++ linux-2.6.1-rc2.w1/security/selinux/Makefile 2004-01-07 13:26:07.264022848 -0500
> @@ -6,5 +6,9 @@
>
> selinux-objs := avc.o hooks.o selinuxfs.o
>
> +ifeq ($(CONFIG_SECURITY_NETWORK),y)
> + selinux-objs += netif.o
> +endif
> +

The selinux makefiles seem a little unusual. Can this not use the usual

obj-$(CONFIG_FOO) += bar.o

?

Similarly, security/Makefile uses:

ifeq ($(CONFIG_SECURITY_SELINUX),y)
obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o
endif

why the `ifeq'?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.039 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site