mirror of
https://github.com/micropython/micropython.git
synced 2025-07-21 04:51:12 +02:00
extmod/libmetal: Fix libmetal rules for mkdir dependencies.
Dependency on auto-generated libmetal should be an order only prerequisite. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
committed by
Damien George
parent
65244d291a
commit
3294606e23
@@ -4,13 +4,13 @@
|
||||
# This replicates the basic functionality of the pre-processor, including adding a "micropython"
|
||||
# platform that is almost identical to the built-in "generic" platform with a few small changes
|
||||
# provided by the files in extmod/libmetal.
|
||||
$(BUILD)/openamp: $(BUILD)
|
||||
$(BUILD)/openamp: | $(BUILD)
|
||||
$(MKDIR) -p $@
|
||||
|
||||
$(BUILD)/openamp/metal: $(BUILD)/openamp
|
||||
$(BUILD)/openamp/metal: | $(BUILD)/openamp
|
||||
$(MKDIR) -p $@
|
||||
|
||||
$(BUILD)/openamp/metal/config.h: $(BUILD)/openamp/metal $(TOP)/$(LIBMETAL_DIR)/lib/config.h
|
||||
$(BUILD)/openamp/metal/config.h: $(TOP)/$(LIBMETAL_DIR)/lib/config.h | $(BUILD)/openamp/metal
|
||||
@$(ECHO) "GEN $@"
|
||||
@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
|
||||
$(MKDIR) -p $(BUILD)/openamp/metal/processor/arm
|
||||
|
Reference in New Issue
Block a user