summaryrefslogtreecommitdiff
path: root/scripts/Makefile.build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.build')
-rw-r--r--scripts/Makefile.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 4bccbe923690..2db7cc59c2bd 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -106,7 +106,7 @@ cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
quiet_cmd_cc_lst_c = MKLST $@
cmd_cc_lst_c = $(CC) $(c_flags) -g -c -o $*.o $< && \
- $(CONFIG_SHELL) $(src)/scripts/makelst $*.o \
+ $(CONFIG_SHELL) $(srctree)/scripts/makelst $*.o \
System.map $(OBJDUMP) > $@
%.lst: %.c FORCE
@@ -286,7 +286,7 @@ targets += $(host-csingle) $(host-cmulti) $(host-cobjs)\
.PHONY: $(subdir-ym)
$(subdir-ym):
- $(Q)$(MAKE) -f scripts/Makefile.build obj=$@
+ $(Q)$(MAKE) $(build)=$@
# Add FORCE to the prequisites of a target to force it to be always rebuilt.
# ---------------------------------------------------------------------------