# # Makefile for the Elvees boards. # # Note! Dependencies are done automagically by 'make dep', which also # removes any old dependencies. DON'T put your own dependencies here # unless it's something special (ie not a .c file). # obj-y := prom.o setup.o irq.o periph.o obj-$(CONFIG_MULTICORE_GPIO) += gpio.o obj-$(CONFIG_MULTICORE_I2C) += i2c.o obj-$(CONFIG_MULTICORE_LPORT) += lport.o obj-$(CONFIG_MULTICORE_SPI) += spi.o obj-$(CONFIG_MULTICORE_I2S) += i2s.o pcm.o tlv320aic32-link.o # uda1380-link.o # Ethernet: ifndef CONFIG_MCT06 ifdef CONFIG_NVCOM01 ifdef CONFIG_MULTICORE_NEW_ETH_DRV obj-$(CONFIG_MULTICORE_ETH) += common/ obj-$(CONFIG_MULTICORE_ETH) += emac/ else # !CONFIG_MULTICORE_NEW_ETH_DRV: obj-$(CONFIG_MULTICORE_ETH) += eth.o endif # !CONFIG_MULTICORE_NEW_ETH_DRV else # !CONFIG_NVCOM01: obj-$(CONFIG_MULTICORE_ETH) += eth.o endif # !CONFIG_NVCOM01 else # !CONFIG_MCT06: obj-$(CONFIG_MULTICORE_ETH) += eth1.o endif # !CONFIG_MCT06 # Spacewire: ifdef CONFIG_MULTICORE_SPW ifdef CONFIG_MCT04 obj-$(CONFIG_MULTICORE_SPW) += common/ obj-$(CONFIG_MULTICORE_SPW) += swic/ else # !CONFIG_MCT04: obj-$(CONFIG_MULTICORE_SWIC_NET) += spw-net.o obj-$(CONFIG_MULTICORE_SWIC_CHAR) += spw.o endif # !CONFIG_MCT04 else # !CONFIG_MULTICORE_SPW obj-$(CONFIG_MULTICORE_GSPW_SWITCH) += gspw_sw/ endif # !CONFIG_MULTICORE_SPW #obj-$(CONFIG_MULTICORE_MAX3421) += max3421-hcd.o