We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e6723ec + 0c14005 commit 11dd4f1Copy full SHA for 11dd4f1
2 files changed
Makefile
@@ -135,7 +135,7 @@ wolfboot.hex: wolfboot.elf
135
align: wolfboot-align.bin
136
137
wolfboot-align.bin: wolfboot.bin
138
- @cat include/target.h |grep WOLFBOOT_PARTITION_BOOT_ADDRESS | head -1 | sed -e "s/.*[ ]//g" > .wolfboot-offset
+ @cat include/target.h |grep WOLFBOOT_PARTITION_BOOT_ADDRESS | tr -d "\n\r" | sed -e "s/.*[ ]//g" > .wolfboot-offset
139
@printf "%d" `cat .wolfboot-offset` > .wolfboot-offset
140
@printf "%d" $(ARCH_FLASH_OFFSET) >.wolfboot-arch-offset
141
@expr `cat .wolfboot-offset` - `cat .wolfboot-arch-offset` >.wolfboot-partition-size
lib/wolfssl
0 commit comments