Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6886a4d authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Makefile: Add a check of CONFIG_TRIM_UNUSED_KSYMS before remaking vmlinux"

parents 4def0475 36a8a2af
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1364,8 +1364,10 @@ all: modules

PHONY += modules
modules: $(if $(KBUILD_BUILTIN),vmlinux) modules.order modules.builtin
ifdef CONFIG_TRIM_UNUSED_KSYMS
	$(Q)$(CONFIG_SHELL) $(srctree)/scripts/adjust_autoksyms.sh \
	  "$(MAKE) -f $(srctree)/Makefile vmlinux"
endif
	$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
	$(Q)$(CONFIG_SHELL) $(srctree)/scripts/modules-check.sh