diff options
Diffstat (limited to 'arch/um/scripts/Makefile.rules')
-rw-r--r-- | arch/um/scripts/Makefile.rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/um/scripts/Makefile.rules b/arch/um/scripts/Makefile.rules index 7459d09c233e..17f305b6bade 100644 --- a/arch/um/scripts/Makefile.rules +++ b/arch/um/scripts/Makefile.rules | |||
@@ -16,6 +16,11 @@ define unprofile | |||
16 | endef | 16 | endef |
17 | 17 | ||
18 | 18 | ||
19 | # The stubs and unmap.o can't try to call mcount or update basic block data | ||
20 | define unprofile | ||
21 | $(patsubst -pg,,$(patsubst -fprofile-arcs -ftest-coverage,,$(1))) | ||
22 | endef | ||
23 | |||
19 | quiet_cmd_make_link = SYMLINK $@ | 24 | quiet_cmd_make_link = SYMLINK $@ |
20 | cmd_make_link = ln -sf $(srctree)/arch/$(SUBARCH)/$($(notdir $@)-dir)/$(notdir $@) $@ | 25 | cmd_make_link = ln -sf $(srctree)/arch/$(SUBARCH)/$($(notdir $@)-dir)/$(notdir $@) $@ |
21 | 26 | ||