]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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)
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

index 1d07860f6c423661417d11fcfde21a8207f6de43..890df5c6adfbc16769a4abcb27bb3860fc625e71 100644 (file)
@@ -39,4 +39,4 @@ subdir-$(CONFIG_SECURITY_SELINUX) += selinux
 subdir-$(CONFIG_DTC)         += dtc
 
 # Let clean descend into subdirs
-subdir-        += basic kconfig package selinux
+subdir-        += basic kconfig package