Re: [PATCH][SELINUX] 2/7 Add netif controls

From: Andrew Morton
Date: Fri Jan 09 2004 - 15:58:56 EST


James Morris <jmorris@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/