summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 58696c285f..313a0a0f53 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,7 @@ endif
export TOP = $(shell pwd)
export CROS_EC_DIR=$(TOP)/cros_ec
export CHIP_STUB_DIR=$(CROS_EC_DIR)/chip_stub
+export BOARD_DIR=$(TOP)/board
INCLUDES = -I$(TOP)/chip_interface -I$(CROS_EC_DIR)/include
@@ -42,11 +43,12 @@ export INCLUDES
export BUILD = ${TOP}/build
export CROS_EC_LIB = ${BUILD}/cros_ec.a
export CHIP_STUB_LIB = ${BUILD}/chip_stub.a
+export BOARD_LIB = ${BUILD}/board.a
ifeq ($(FIRMWARE_ARCH),)
-SUBDIRS = cros_ec cros_ec/test utility
+SUBDIRS = board cros_ec cros_ec/test utility
else
-SUBDIRS = cros_ec
+SUBDIRS = board cros_ec
endif
all: