summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/test/bridgedma-proto/sparc-Makefile
blob: 11d5430522abc28b19bf8de77ead5e5ba3a90ea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
BASE = ../../../..

TARGET = sparc

ECOS = y
DEFS = -DCONFIG_BRIDGEDMA_PROTO

TARGET_PROGRAMS = test-bridgedma-proto \
		  test-bridgedma-proto-tx \
		  test-bridgedma-proto-rx \
		  test-bridgedma-proto-crc

test-bridgedma-proto_SOURCES = bridgedma-init-test.c
test-bridgedma-proto_MODULES = hal/phy lib

test-bridgedma-proto-tx_SOURCES = bridgedma-tx-test.c
test-bridgedma-proto-tx_MODULES = hal/phy lib

test-bridgedma-proto-rx_SOURCES = bridgedma-rx-test.c
test-bridgedma-proto-rx_MODULES = hal/phy lib

test-bridgedma-proto-crc_SOURCES = bridgedma-crc-test.c
test-bridgedma-proto-crc_MODULES = hal/phy lib

VARIANT = sparc
include $(BASE)/common/make/top.mk

all: $(TARGET_PROGRAMS:%=obj/sparc/%.lst)

%.lst: %.elf
	$(CROSS_COMPILE_sparc)objdump -DSt $< > $@