samples: static_lib: conditional assign BOARD (?=)
The sample app "static_lib" is very important to Zephyr user, which demonstrate how to build and link a static lib. ISSM team wanted to integrate this app in their IDE for quark platforms. However they find the in "static_lib/hello_world/Makefile" BOARD is hardcoded as qemu_x86. This patch supports other BOARD passed from build command. I have verified this app working fine @Arduino101. Signed-off-by: Sharron LIU <sharron.liu@intel.com>
This commit is contained in:
parent
84628e8b53
commit
c282811983
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
BOARD = qemu_x86
|
||||
BOARD ?= qemu_x86
|
||||
CONF_FILE = prj.conf
|
||||
|
||||
export SOURCE_DIR = $(ZEPHYR_BASE)/samples/static_lib/hello_world
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue