link in external application library

When building an application and external build process of an
application specific library can be started by the application which
generates a .a file that will be linked at the final stage with the
Zephyr kernel.

Change-Id: I06fa1a10605ab032801ead8f5ee8d0c85c0bea5c
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-01-31 04:48:46 -05:00
parent b5c7b1baca
commit fe9eae95e8

View file

@ -752,6 +752,7 @@ quiet_cmd_create-lnk = LINK $@
echo "-u _OffsetAbsSyms -u _ConfigAbsSyms"; \
echo "-e __start"; \
echo "--start-group"; \
echo "--whole-archive $(KBUILD_ZEPHYR_APP) --no-whole-archive"; \
echo "$(KBUILD_ZEPHYR_MAIN)"; \
echo "$(objtree)/arch/$(ARCH)/core/offsets/offsets.o"; \
echo "--end-group"; \