Skip to content

Commit 7afb0dd

Browse files
Tinyu-Zhaolbuque
authored andcommitted
m5stack: Fixes issues with running under macOS.
Signed-off-by: Tinyu <[email protected]>
1 parent 34ff1de commit 7afb0dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

m5stack/include/files.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
# $(1) board type
66
# $(2) target dir
77
define base-files/install
8-
@cp ./fs/user/* $(2)/ -rf
8+
@cp -rf ./fs/user/* $(2)/
99
@ if [ -d ./fs/system/$(1) ]; then \
10-
cp ./fs/system/$(1) $(2)/res/ -rf ; \
10+
cp -rf ./fs/system/$(1) $(2)/res/;\
1111
fi
12-
@cp ./fs/system/common/img/avatar.jpg $(2)/res/img/ -rf
12+
@cp -rf ./fs/system/common/img/avatar.jpg $(2)/res/img/
1313
endef
1414

1515

0 commit comments

Comments
 (0)