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:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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/xilinx
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
# \date 2015-03-12
|
||||
|
||||
TARGET = zynq_i2c_drv
|
||||
REQUIRES = zynq_i2c
|
||||
|
||||
SRC_CC = main.cc
|
||||
LIBS = base config
|
||||
|
||||
Reference in New Issue
Block a user