source: branches/reconfiguration/platforms/tsar_generic_iob/Makefile

Last change on this file was 1007, checked in by cfuguet, 9 years ago

reconf: update the reconfiguration/tsar_generic_iob to comply with new
constructor parameters of the NIC and CHBUF_DMA peripherals.

  • Property svn:executable set to *
File size: 1.1 KB
RevLine 
[1007]1RM             := rm -f
2SOCLIB_CC      := soclib-cc
[986]3SOCLIB_CC_MODE := -m release
4SOCLIB_CC_ARGS := $(SOCLIB_CC_MODE)
[974]5SOCLIB_CC_ARGS += -v
[1001]6#SOCLIB_CC_ARGS += -t envsystemc
[986]7#SOCLIB_CC_ARGS += -bcaba:reconf:vci_xicu
8#SOCLIB_CC_ARGS += -bcaba:vci_iopic
9#SOCLIB_CC_ARGS += -bcaba:vci_block_device_tsar
[904]10
[1007]11TAGS           := cscope.out
12TARGET         := simul.x
13
14objs           := $(wildcard *.o)
15objs           += $(wildcard term[0-9])
16objs           += $(wildcard $(TARGET))
17objs           := $(strip $(objs))
18
19extra_objs     := $(wildcard scripts/*.pyc)
20extra_objs     += $(wildcard hard_config.h)
21extra_objs     += $(wildcard $(TAGS))
22extra_objs     := $(strip $(extra_objs))
23
24all: $(TARGET)
[756]25tags: $(TAGS)
26
[1007]27.PHONY: $(TARGET)
28$(TARGET): top.desc top.cpp
29        $(SOCLIB_CC) $(SOCLIB_CC_ARGS) -P -p $< -I. -o $@
[747]30
[1007]31.PHONY: $(TAGS)
[756]32$(TAGS): top.desc
[1007]33        $(SOCLIB_CC) -p $< --tags --tags-type=cscope --tags-output=$@
[756]34
[1007]35.PHONY: clean
[747]36clean:
[1007]37        $(SOCLIB_CC) $(SOCLIB_CC_MODE) -x -p top.desc -I.
38ifneq ($(objs),)
39        $(RM) $(objs)
40endif
[747]41
[1007]42.PHONY: distclean
[776]43distclean: clean
[1007]44ifneq ($(extra_objs),)
45        $(RM) $(extra_objs)
46endif
Note: See TracBrowser for help on using the repository browser.