ISSM team wanted to integrate "samples/application_development/static_lib" app into their IDE. Al-ashi, Mahmoud <mahmoud.al-ashi@intel.com> found it failed to "make flash" this app. Also this patch added "make flash" build targets. Signed-off-by: Sharron LIU <sharron.liu@intel.com>
22 lines
421 B
Makefile
22 lines
421 B
Makefile
#
|
|
# Copyright (c) 2016 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
BOARD ?= qemu_x86
|
|
CONF_FILE = prj.conf
|
|
|
|
export SOURCE_DIR = $(CURDIR)
|
|
export LDFLAGS_zephyr += -L$(O)/mylib/lib
|
|
export ALL_LIBS += mylib
|
|
|
|
include ${ZEPHYR_BASE}/Makefile.inc
|
|
|
|
all qemu flash zephyr : all-mylib
|
|
clean pristine mrproper : clean-mylib
|
|
all-mylib: outputexports
|
|
|
|
all-mylib clean-mylib:
|
|
$(MAKE) -C ../mylib O=$(O) $(@:-mylib=)
|