diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-02-12 03:35:45 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-02-12 03:35:45 +0000 |
commit | 12df6b06712503ef90e50e3d410eb21b2812cb42 (patch) | |
tree | 9029831aec89e6647fffbbed5d368411a71ca3c9 | |
parent | 0eb40dcbcef826b4cdfb9a1bf7170f7ced2c13ba (diff) | |
download | execline-12df6b06712503ef90e50e3d410eb21b2812cb42.tar.gz execline-12df6b06712503ef90e50e3d410eb21b2812cb42.tar.xz execline-12df6b06712503ef90e50e3d410eb21b2812cb42.zip |
Fix multicall dependencies
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r-- | package/targets.mak | 5 |
1 files 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 |