Skip to content

Commit a7731f9

Browse files
committed
support makefile: depend on trim script, simpler directory
1 parent ee2015b commit a7731f9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/tutorials/dynamic-apps-and-policies/support/AppLoaderSupport.mk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
# foreach (arch1, ...) {
33
# $(1)=archX
44

5-
SUPPORT_MK_DIR := $(filter %AppLoaderSupport.mk,$(MAKEFILE_LIST))
6-
HELPER_DIR := $(abspath $(dir $(SUPPORT_MK_DIR)))
5+
HELPER_DIR := $(TOCK_USERLAND_BASE_DIR)/examples/tutorials/dynamic-apps-and-policies/support
76

87
# Change this to link from the dyn app loader example when that is merged.
98

@@ -60,7 +59,7 @@ endef
6059
#$(info $(foreach app, $(APPS_TO_EMBED),$(call EMBED_RULES_PER_APP,$(notdir $(app)),$(app))))
6160
$(foreach app, $(APPS_TO_EMBED),$(eval $(call EMBED_RULES_PER_APP,$(notdir $(app)),$(app))))
6261

63-
$(BUILDDIR)/%.xxd: $(BUILDDIR)/%.embed
62+
$(BUILDDIR)/%.xxd: $(BUILDDIR)/%.embed | $(HELPER_DIR)/trim_format.py
6463
@mkdir -p $(@D)
6564
@python3 $(HELPER_DIR)/trim_format.py \
6665
"$<" "$@" \

0 commit comments

Comments
 (0)