portability: echo -n fails on the mac
Change-Id: If5973f80b6fa97e19e31e8a6b7c16b6aa78d2450 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
bd2274813d
commit
9c72cf542e
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -883,7 +883,7 @@ define filechk_version.h
|
|||
expr $(VERSION_MAJOR) \* 65536 + 0$(VERSION_MINOR) \* 256 + 0$(PATCHLEVEL)); \
|
||||
echo '#define ZEPHYR_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';); \
|
||||
echo ;\
|
||||
echo -n "#define KERNELVERSION "; \
|
||||
echo "#define KERNELVERSION \\"; \
|
||||
echo "$(KERNEL_VERSION_HEX)$(VERSION_RESERVED_HEX)"; \
|
||||
echo "#define KERNEL_VERSION_NUMBER $(KERNEL_VERSION_HEX)"; \
|
||||
echo "#define KERNEL_VERSION_MAJOR $(VERSION_MAJOR)"; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue