diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -846,6 +846,9 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types) | |||
846 | # Require designated initializers for all marked structures | 846 | # Require designated initializers for all marked structures |
847 | KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init) | 847 | KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init) |
848 | 848 | ||
849 | # change __FILE__ to the relative path from the srctree | ||
850 | KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=) | ||
851 | |||
849 | # use the deterministic mode of AR if available | 852 | # use the deterministic mode of AR if available |
850 | KBUILD_ARFLAGS := $(call ar-option,D) | 853 | KBUILD_ARFLAGS := $(call ar-option,D) |
851 | 854 | ||
@@ -1615,6 +1618,8 @@ clean: $(clean-dirs) | |||
1615 | -o -name '*.dwo' -o -name '*.lst' \ | 1618 | -o -name '*.dwo' -o -name '*.lst' \ |
1616 | -o -name '*.su' \ | 1619 | -o -name '*.su' \ |
1617 | -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \ | 1620 | -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \ |
1621 | -o -name '*.lex.c' -o -name '*.tab.[ch]' \ | ||
1622 | -o -name '*.asn1.[ch]' \ | ||
1618 | -o -name '*.symtypes' -o -name 'modules.order' \ | 1623 | -o -name '*.symtypes' -o -name 'modules.order' \ |
1619 | -o -name modules.builtin -o -name '.tmp_*.o.*' \ | 1624 | -o -name modules.builtin -o -name '.tmp_*.o.*' \ |
1620 | -o -name .cache.mk \ | 1625 | -o -name .cache.mk \ |