diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-12-25 14:31:26 +0900 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2015-01-09 17:25:44 +0100 |
commit | 3df8094727bd1972eb8e231e56ecdbd6e8fb2210 (patch) | |
tree | 02cc2233312aaf8c308f4d84824deaa15e4514ca /kernel/gcov/Makefile | |
parent | 842857dedc40df7c86e990b7153a069d0040e552 (diff) |
kbuild,gcov: simplify kernel/gcov/Makefile
Kbuild descends into kernel/gcov/ directory only when
CONFIG_GCOV_KERNEL is enabled. (See kernel/Makefile)
CONFIG_GCOV_KERNEL check can be omitted in kernel/gcov/Makefile.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'kernel/gcov/Makefile')
-rw-r--r-- | kernel/gcov/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/gcov/Makefile b/kernel/gcov/Makefile index 42323c7ec106..69b3515c1806 100644 --- a/kernel/gcov/Makefile +++ b/kernel/gcov/Makefile @@ -13,10 +13,10 @@ else cc-ver := $(cc-version) endif -obj-$(CONFIG_GCOV_KERNEL) := base.o fs.o +obj-y := base.o fs.o ifeq ($(call if-lt, $(cc-ver), 0407),1) - obj-$(CONFIG_GCOV_KERNEL) += gcc_3_4.o + obj-y += gcc_3_4.o else - obj-$(CONFIG_GCOV_KERNEL) += gcc_4_7.o + obj-y += gcc_4_7.o endif |