1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

makefiles,buildtests: fix parameters for size command on macOS

This commit is contained in:
smlng 2017-08-24 13:28:04 +02:00
parent a1c8a14705
commit 2c4a8c4f96

View File

@ -114,13 +114,13 @@ info-objsize:
*) echo "Usage: $(MAKE) info-objsize SORTROW=[text|data|bss|dec]" ; return ;; \
esac; \
echo -e ' text\t data\t bss\t dec\t hex\tfilename'; \
$(SIZE) -dB $(BASELIBS) | \
$(SIZE) -d -B $(BASELIBS) | \
tail -n+2 | \
sed -e 's#$(BINDIR)##' | \
sort -rnk$${SORTROW}
info-buildsize:
@$(SIZE) -dB $(BINDIR)/$(APPLICATION).elf || echo ''
@$(SIZE) -d -B $(BINDIR)/$(APPLICATION).elf || echo ''
info-buildsizes: SHELL=bash
info-buildsizes: