File tree Expand file tree Collapse file tree 4 files changed +10
-16
lines changed
Expand file tree Collapse file tree 4 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ $(BUILD)/application.bin: $(BUILD)/application.axf
239239
240240$(BUILD ) /mcuimg.bin : $(BUILD ) /application.bin
241241 $(ECHO ) " Create $@ "
242- $(Q )$(SHELL ) $(APP_SIGN ) $(BOARD ) $( BTYPE )
242+ $(Q )$(SHELL ) $(APP_SIGN ) $(BUILD )
243243
244244MAKE_PINS = boards/make-pins.py
245245BOARD_PINS = boards/$(BOARD ) /pins.csv
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- if [ " $# " -ne 2 ]; then
4- echo " Usage: appsign.sh *board type* * build type *"
3+ if [ " $# " -ne 1 ]; then
4+ echo " Usage: appsign.sh *build dir *"
55 exit 1
66fi
77
8- BOARD=$1
9- BTYPE=$2
10-
118# Build location
12- # Based on build type and board type
13- BUILD=build/${BOARD} /${BTYPE}
9+ BUILD=$1
1410
1511# Generate the MD5 hash
1612echo -n ` md5sum --binary $BUILD /application.bin | awk ' { print $1 }' ` > __md5hash.bin
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- if [ " $# " -ne 2 ]; then
4- echo " Usage: bootgen.sh *board type* * build type *"
3+ if [ " $# " -ne 1 ]; then
4+ echo " Usage: bootgen.sh *build dir *"
55 exit 1
66fi
77
8- BOARD=$1
9- BTYPE=$2
8+ BUILD=$1
109
1110# Re-locator Path
1211RELOCATOR=bootmgr/relocator
1312
14- # Boot Manager Path
15- # First parameter passed is the board type
16- BOOTMGR=bootmgr/build/${BOARD} /${BTYPE}
13+ # Build location
14+ BOOTMGR=${BUILD}
1715
1816# Check for re-locator binary
1917if [ ! -f $RELOCATOR /relocator.bin ]; then
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ $(BUILD)/bootmgr.bin: $(BUILD)/bootmgr.axf
124124
125125$(BUILD ) /bootloader.bin : $(BUILD ) /bootmgr.bin
126126 $(ECHO ) " Create $@ "
127- $(Q )$(SHELL ) $(BOOT_GEN ) $(BOARD ) $( BTYPE )
127+ $(Q )$(SHELL ) $(BOOT_GEN ) $(BUILD )
128128
129129# Create an empty "qstrdefs.generated.h" needed by py/mkrules.mk
130130$(HEADER_BUILD ) /qstrdefs.generated.h : | $(HEADER_BUILD )
You can’t perform that action at this time.
0 commit comments