mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-03 19:56:36 +07:00
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>
This commit is contained in:
parent
842857dedc
commit
3df8094727
@ -13,10 +13,10 @@ else
|
|||||||
cc-ver := $(cc-version)
|
cc-ver := $(cc-version)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
obj-$(CONFIG_GCOV_KERNEL) := base.o fs.o
|
obj-y := base.o fs.o
|
||||||
|
|
||||||
ifeq ($(call if-lt, $(cc-ver), 0407),1)
|
ifeq ($(call if-lt, $(cc-ver), 0407),1)
|
||||||
obj-$(CONFIG_GCOV_KERNEL) += gcc_3_4.o
|
obj-y += gcc_3_4.o
|
||||||
else
|
else
|
||||||
obj-$(CONFIG_GCOV_KERNEL) += gcc_4_7.o
|
obj-y += gcc_4_7.o
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user