summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2015-12-13 15:00:31 -0500
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:25:11 -0500
commitc740608ce561a446b5482c34e4d03f6fe35742de (patch)
treef3201947deb164f9beb3819cc0907b167bf737a6 /Makefile.inc
parent013e6167a8547f50a9e4e62612237fbafeed702e (diff)
Use BOARD instead of PLATFORM_CONFIG
Change-Id: I14db0087cd705df0db8a911071bc3949b5c79314 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 1b36b2591..f9028749c 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -18,11 +18,11 @@ ifndef KERNEL_TYPE
KERNEL_TYPE = micro
endif
-ifdef PLATFORM_CONFIG
-KBUILD_DEFCONFIG_PATH=$(ZEPHYR_BASE)/configs/$(PLATFORM_CONFIG)_defconfig
+ifdef BOARD
+KBUILD_DEFCONFIG_PATH=$(ZEPHYR_BASE)/configs/$(BOARD)_defconfig
export KBUILD_DEFCONFIG_PATH
else
-$(error PLATFORM_CONFIG is not defined!)
+$(error BOARD is not defined!)
endif
SOURCE_DIR ?= $(PROJECT_BASE)/src/
@@ -58,7 +58,7 @@ DOTCONFIG = $(O)/.config
all: $(DOTCONFIG)
$(Q)$(call zephyrmake,$(O),$@)
-ifeq ($(findstring qemu_,$(PLATFORM_CONFIG)),)
+ifeq ($(findstring qemu_,$(BOARD)),)
qemu:
@echo "Emulation not available for this platform"
else