]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blob - packages/ti/drv/adcbuf/src/makefile
modified adcbuf driver to use CSL library for its functionality.
[processor-sdk/pdk.git] / packages / ti / drv / adcbuf / src / makefile
1 #
2 # This file is the makefile for building adcbuff.
3 #
4 include $(PDK_INSTALL_PATH)/ti/build/Rules.make
6 MODULE_NAME = adcbuf
8 SRCDIR = src soc/$(SOC)
9 INCDIR = . src soc/$(SOC)
11 # List all the external components/interfaces, whose interface header files
12 # need to be included for this component
13 INCLUDE_EXTERNAL_INTERFACES = pdk
15 # Common source files and CFLAGS across all platforms and cores
16 SRCS_COMMON += adcbuf.c adcbuf_mmwave.c
17 ifeq ($(SOC),$(filter $(SOC), awr294x))
18   SRCS_COMMON += adcbuf_soc.c
19 endif
20 CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS) $(ADCBUF_CFLAGS)
22 PACKAGE_SRCS_COMMON = adcbuf.h adcbuf_component.mk makefile src soc/$(SOC) soc/adcbuf_soc.h
23 PACKAGE_SRCS_COMMON += config_mk.bld package.bld package.xdc package.xs
24 PACKAGE_SRCS_COMMON += Settings.xdc
26 # Include common make files
27 ifeq ($(MAKERULEDIR), )
28 #Makerule path not defined, define this and assume relative path from ROOTDIR
29   MAKERULEDIR := $(ROOTDIR)/ti/build/makerules
30   export MAKERULEDIR
31 endif
32 include $(MAKERULEDIR)/common.mk
34 # OBJs and libraries are built by using rule defined in rules_<target>.mk
35 #     and need not be explicitly specified here
37 # Nothing beyond this point