portability: echo -n fails on the mac

Change-Id: If5973f80b6fa97e19e31e8a6b7c16b6aa78d2450
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-08-25 10:44:41 -04:00
commit 9c72cf542e

View file

@ -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)"; \