@@ -44,7 +44,6 @@ core: clean print_info
44
44
@echo ----------------------------------------------------------
45
45
@echo " Packaging $@ ..."
46
46
@git --git-dir=$(PACKAGE_FOLDER ) /.git show HEAD --pretty=short --no-patch > $(PACKAGE_FOLDER ) /package_version.txt
47
- @sed -i ' s/{runtime.hardware.path}\/tools/{runtime.tools.STM32Tools.path}\/tools/g' $(PACKAGE_FOLDER ) /platform.txt
48
47
@tar --mtime=' $(PACKAGE_DATE)' \
49
48
--exclude=.git \
50
49
--exclude=.gitattributes \
@@ -73,7 +72,7 @@ tools: clean print_info
73
72
--exclude=linux \
74
73
--exclude=linux64 \
75
74
--exclude=macosx \
76
- --transform " s|$( PACKAGE_FOLDER) |$( PACKAGE_NAME) /tools |" \
75
+ --transform " s|$( PACKAGE_FOLDER) |$( PACKAGE_NAME) |" \
77
76
-cjf " $( PACKAGE_NAME) -$( PACKAGE_VERSION) -windows.tar.bz2" " $( PACKAGE_FOLDER) "
78
77
@tar --mtime=' $(PACKAGE_DATE)' \
79
78
--exclude=.git \
@@ -82,7 +81,7 @@ tools: clean print_info
82
81
--exclude=.gitignore \
83
82
--exclude=macosx \
84
83
--exclude=win \
85
- --transform " s|$( PACKAGE_FOLDER) |$( PACKAGE_NAME) /tools |" \
84
+ --transform " s|$( PACKAGE_FOLDER) |$( PACKAGE_NAME) |" \
86
85
-cjf " $( PACKAGE_NAME) -$( PACKAGE_VERSION) -linux.tar.bz2" " $( PACKAGE_FOLDER) "
87
86
@tar --mtime=' $(PACKAGE_DATE)' \
88
87
--exclude=.git \
@@ -92,7 +91,7 @@ tools: clean print_info
92
91
--exclude=linux \
93
92
--exclude=linux64 \
94
93
--exclude=win \
95
- --transform " s|$( PACKAGE_FOLDER) |$( PACKAGE_NAME) /tools |" \
94
+ --transform " s|$( PACKAGE_FOLDER) |$( PACKAGE_NAME) |" \
96
95
-cjf " $( PACKAGE_NAME) -$( PACKAGE_VERSION) -mac.tar.bz2" " $( PACKAGE_FOLDER) "
97
96
@-$(RM ) $(PACKAGE_FOLDER ) /package_version.txt
98
97
$(MAKE ) PACKAGE_NAME=$(PACKAGE_NAME ) PACKAGE_VERSION=$(PACKAGE_VERSION ) --no-builtin-rules postpackaging_tools -C .
0 commit comments