Skip to content

Commit 11dd4f1

Browse files
authored
Merge pull request #13 from wolfSSL/quickfix-wsl
Minor makefile fix partition offset during build
2 parents e6723ec + 0c14005 commit 11dd4f1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ wolfboot.hex: wolfboot.elf
135135
align: wolfboot-align.bin
136136

137137
wolfboot-align.bin: wolfboot.bin
138-
@cat include/target.h |grep WOLFBOOT_PARTITION_BOOT_ADDRESS | head -1 | sed -e "s/.*[ ]//g" > .wolfboot-offset
138+
@cat include/target.h |grep WOLFBOOT_PARTITION_BOOT_ADDRESS | tr -d "\n\r" | sed -e "s/.*[ ]//g" > .wolfboot-offset
139139
@printf "%d" `cat .wolfboot-offset` > .wolfboot-offset
140140
@printf "%d" $(ARCH_FLASH_OFFSET) >.wolfboot-arch-offset
141141
@expr `cat .wolfboot-offset` - `cat .wolfboot-arch-offset` >.wolfboot-partition-size

lib/wolfssl

Submodule wolfssl updated 582 files

0 commit comments

Comments
 (0)