summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c1a608a1bc4c..74567b0ec2f0 100644
--- a/Makefile
+++ b/Makefile
@@ -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
847KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init) 847KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init)
848 848
849# change __FILE__ to the relative path from the srctree
850KBUILD_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
850KBUILD_ARFLAGS := $(call ar-option,D) 853KBUILD_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 \