summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/nvddk/Makefile
blob: f1b5da42d5c82db16a8852d73f46d40420948429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ccflags-y += -DNV_IS_AVP=0
ccflags-y += -DNV_OAL=0
ccflags-y += -DNV_USE_FUSE_CLOCK_ENABLE=0
ifeq ($(CONFIG_MACH_TEGRA_GENERIC_DEBUG),y)
ccflags-y += -DNV_DEBUG=1
else
ccflags-y += -DNV_DEBUG=0
endif

ccflags-y += -Iarch/arm/mach-tegra/include/hwinc
ccflags-y += -Iarch/arm/mach-tegra/nvddk/

ifneq ($(filter y,$(CONFIG_USB_TEGRA) $(CONFIG_USB_TEGRA_HCD)),)
obj-y				+= nvddk_usbphy.o
obj-y				+= nvddk_usbphy_ap16.o
obj-y				+= nvddk_usbphy_ap20.o
endif

obj-$(CONFIG_MTD_NAND_TEGRA)	+= nvddk_nand.o

obj-$(CONFIG_TEGRA_SNOR)	+= nvsnor_controller.o