kbuild: do not add "selinux" to subdir- twice
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 17 Apr 2014 02:47:47 +0000 (11:47 +0900)
committerMichal Marek <mmarek@suse.cz>
Mon, 9 Jun 2014 21:24:59 +0000 (23:24 +0200)
commitc43cecadb0bf0ccd6e9c96a920c753ae47dce567
tree102f45ae3057bd86c1c4f3b84b33057026ac8c46
parentd4bc590f8716f7dde6b7bca319097ac30a8cb0b4
kbuild: do not add "selinux" to subdir- twice

scripts/Makefile adds "selinux" to subdir-y or subdir- twice.

  subdir-$(CONFIG_MODVERSIONS) += genksyms
  subdir-y                     += mod
  subdir-$(CONFIG_SECURITY_SELINUX) += selinux    <--- here
  subdir-$(CONFIG_DTC)         += dtc

  # Let clean descend into subdirs
  subdir- += basic kconfig package selinux        <--- again

The latter is redundant.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/Makefile