From 12df6b06712503ef90e50e3d410eb21b2812cb42 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 12 Feb 2023 03:35:45 +0000 Subject: Fix multicall dependencies Signed-off-by: Laurent Bercot --- package/targets.mak | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/targets.mak b/package/targets.mak index c8fe852..3d3b611 100644 --- a/package/targets.mak +++ b/package/targets.mak @@ -5,7 +5,8 @@ LIB_DEFS := EXECLINE=execline ifeq ($(MULTICALL),1) BIN_TARGETS := execline -BIN_SYMLINKS := cd umask $(notdir $(wildcard src/execline/deps-exe/*)) +CONTENTS := $(notdir $(wildcard src/execline/deps-exe/*)) +BIN_SYMLINKS := cd umask $(CONTENTS) EXTRA_TEMP := src/multicall/execline.c define symlink_definition @@ -13,7 +14,7 @@ SYMLINK_TARGET_$(1) := execline endef $(foreach name,$(BIN_SYMLINKS),$(eval $(call symlink_definition,$(name)))) -src/multicall/execline.c: tools/gen-multicall.sh src/execline/deps-exe +src/multicall/execline.c: tools/gen-multicall.sh $(CONTENTS:%=src/$(package)/%.c) ./tools/gen-multicall.sh > src/multicall/execline.c src/multicall/execline.o: src/multicall/execline.c src/include/execline/config.h src/include/execline/execline.h -- cgit v1.2.3