When using obj-?, it erroneously tries to link a built-in.o. Instead use the extra-? variable. Signed-off-by: Jan Luebbe <jlu@xxxxxxxxxxxxxx> --- scripts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile b/scripts/Makefile index f062fc0..e375530 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -30,7 +30,7 @@ subdir- += basic kconfig setupmbr quiet_cmd_csingle = CC $@ cmd_csingle = $(CC) -Wp,-MD,$(depfile) $(CFLAGS) -o $@ $< -obj-$(CONFIG_BAREBOXENV_TARGET) += bareboxenv-target +extra-$(CONFIG_BAREBOXENV_TARGET) += bareboxenv-target scripts/bareboxenv-target: scripts/bareboxenv.c FORCE $(call if_changed_dep,csingle) -- 1.8.2.rc2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox