zynq: build i2c driver for zedboard only

This patch makes the zynq i2c driver depend on a new 'zynq_i2c' spec
value, which is only enabled for the zedboard.

Issue #37
This commit is contained in:
Norman Feske
2016-08-26 16:11:02 +02:00
parent 701516110d
commit ef756be840
2 changed files with 2 additions and 1 deletions

View File

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

View File

@@ -3,6 +3,7 @@
# \date 2015-03-12 # \date 2015-03-12
TARGET = zynq_i2c_drv TARGET = zynq_i2c_drv
REQUIRES = zynq_i2c
SRC_CC = main.cc SRC_CC = main.cc
LIBS = base config LIBS = base config