zynq: limit SDHCI-driver build to selected boards

This patch introduces the spec value 'zync_sdhci' restrict the build of
the driver to the boards that actually support it.

Fixes #37
This commit is contained in:
Norman Feske
2016-08-26 16:19:18 +02:00
parent ef756be840
commit 4492597403
4 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
#
# Pull in CPU specifics
#
SPECS += zynq cadence_gem
SPECS += zynq cadence_gem zynq_sdhci
REP_INC_DIR += include/spec/parallella
REP_INC_DIR += include/spec/xilinx

View File

@@ -1,7 +1,7 @@
#
# Pull in CPU specifics
#
SPECS += zynq cadence_gem zynq_uart1
SPECS += zynq cadence_gem zynq_uart1 zynq_sdhci
REP_INC_DIR += include/spec/zc702
REP_INC_DIR += include/spec/xilinx

View File

@@ -1,7 +1,7 @@
#
# Pull in CPU specifics
#
SPECS += zynq cadence_gem zynq_uart1
SPECS += zynq cadence_gem zynq_uart1 zynq_sdhci
REP_INC_DIR += include/spec/zc706
REP_INC_DIR += include/spec/xilinx

View File

@@ -1,5 +1,5 @@
TARGET = sd_card_drv
REQUIRES = zynq
REQUIRES = zynq_sdhci
SRC_CC = main.cc
LIBS = base server
INC_DIR += $(PRG_DIR)