File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
features/FEATURE_UVISOR/importer Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -89,12 +89,13 @@ rsync:
89
89
# Copying licenses
90
90
cp $(UVISOR_DIR ) /LICENSE* $(TARGET_SUPPORTED )
91
91
92
- TARGET_M% : $(TARGET_SUPPORTED ) /* /* /* _cortex_m%* .a
92
+ TARGET_M% : TARGET_LIBS_FIND=$(wildcard $(TARGET_SUPPORTED ) /* /* /* _cortex_m$(subst TARGET_M,,$@ ) * .a)
93
+ TARGET_M% : rsync
93
94
@printf " #\n# Copying $@ files...\n"
94
- mkdir $(foreach file,$^ ,$(dir $(file ) ) $@ )
95
- $(foreach file,$^ ,mv $(file ) $(dir $(file ) ) $@ /lib$(notdir $(file ) ) ;)
95
+ mkdir $(foreach file,$( TARGET_LIBS_FIND ) ,$(dir $(file ) ) $@ )
96
+ $(foreach file,$( TARGET_LIBS_FIND ) ,mv $(file ) $(dir $(file ) ) $@ /lib$(notdir $(file ) ) ;)
96
97
97
- publish : rsync TARGET_M3 TARGET_M4
98
+ publish : TARGET_M3 TARGET_M4
98
99
#
99
100
# Rename release directorires to TARGET_RELEASE filters...
100
101
$(foreach dir, $(TARGET_LIST_RELEASE ) ,mv $(dir ) $(dir $(dir ) ) TARGET_RELEASE;)
You can’t perform that action at this time.
0 commit comments