Setting up new platforms to handle emulation, and make them the only ones able to run on QEMU from the Makefile "qemu" target to avoid confusion with other platforms. We have now platform qemu_x86 and platform qemu_cortex_m3, also modification to the sanity checks to have qemu support only on those platforms Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com> Change-Id: I9291918a1d58fea4f37750ada78234628f9a5d98 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
30 lines
969 B
Makefile
30 lines
969 B
Makefile
# Makefile - Bluetooth shell Makefile for microkernel
|
|
|
|
#
|
|
# Copyright (c) 2015 Intel Corporation
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
# DESCRIPTION
|
|
# Makefile for the console shell with Bluetooth commands
|
|
PLATFORM_CONFIG ?= qemu_x86
|
|
MDEF_FILE = prj.mdef
|
|
KERNEL_TYPE = micro
|
|
CONF_FILE = prj_$(ARCH).conf
|
|
QEMU_EXTRA_FLAGS = -serial unix:/tmp/bt-server-bredr
|
|
|
|
PRJ_INCPATH += ${ZEPHYR_BASE}/include/drivers
|
|
|
|
include $(ZEPHYR_BASE)/Makefile.inc
|
|
# console handler
|