Skip to content

Commit 3294606

Browse files
iabdalkaderdpgeorge
authored andcommitted
extmod/libmetal: Fix libmetal rules for mkdir dependencies.
Dependency on auto-generated libmetal should be an order only prerequisite. Signed-off-by: iabdalkader <[email protected]>
1 parent 65244d2 commit 3294606

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

extmod/libmetal/libmetal.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
# This replicates the basic functionality of the pre-processor, including adding a "micropython"
55
# platform that is almost identical to the built-in "generic" platform with a few small changes
66
# provided by the files in extmod/libmetal.
7-
$(BUILD)/openamp: $(BUILD)
7+
$(BUILD)/openamp: | $(BUILD)
88
$(MKDIR) -p $@
99

10-
$(BUILD)/openamp/metal: $(BUILD)/openamp
10+
$(BUILD)/openamp/metal: | $(BUILD)/openamp
1111
$(MKDIR) -p $@
1212

13-
$(BUILD)/openamp/metal/config.h: $(BUILD)/openamp/metal $(TOP)/$(LIBMETAL_DIR)/lib/config.h
13+
$(BUILD)/openamp/metal/config.h: $(TOP)/$(LIBMETAL_DIR)/lib/config.h | $(BUILD)/openamp/metal
1414
@$(ECHO) "GEN $@"
1515
@for file in $(TOP)/$(LIBMETAL_DIR)/lib/*.c $(TOP)/$(LIBMETAL_DIR)/lib/*.h; do $(SED) -e "s/@PROJECT_SYSTEM@/micropython/g" -e "s/@PROJECT_PROCESSOR@/arm/g" $$file > $(BUILD)/openamp/metal/$$(basename $$file); done
1616
$(MKDIR) -p $(BUILD)/openamp/metal/processor/arm

0 commit comments

Comments
 (0)