Ignore:
Timestamp:
Jul 16, 2015, 3:17:49 PM (9 years ago)
Author:
cfuguet
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reconfiguration/platforms/tsar_generic_iob/Makefile

    r1001 r1007  
    1 TAGS := cscope.out
     1RM             := rm -f
     2SOCLIB_CC      := soclib-cc
    23SOCLIB_CC_MODE := -m release
    34SOCLIB_CC_ARGS := $(SOCLIB_CC_MODE)
     
    89#SOCLIB_CC_ARGS += -bcaba:vci_block_device_tsar
    910
    10 all: simul.x
     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)
    1125tags: $(TAGS)
    1226
    13 simul.x: top.cpp top.desc
    14         soclib-cc $(SOCLIB_CC_ARGS) -P -p top.desc -I. -o simul.x
     27.PHONY: $(TARGET)
     28$(TARGET): top.desc top.cpp
     29        $(SOCLIB_CC) $(SOCLIB_CC_ARGS) -P -p $< -I. -o $@
    1530
     31.PHONY: $(TAGS)
    1632$(TAGS): top.desc
    17         soclib-cc -p $< --tags --tags-type=cscope --tags-output=$@
     33        $(SOCLIB_CC) -p $< --tags --tags-type=cscope --tags-output=$@
    1834
     35.PHONY: clean
    1936clean:
    20         soclib-cc $(SOCLIB_CC_MODE) -x -p top.desc -I.
    21         rm -rf *.o *.x tty* term*
     37        $(SOCLIB_CC) $(SOCLIB_CC_MODE) -x -p top.desc -I.
     38ifneq ($(objs),)
     39        $(RM) $(objs)
     40endif
    2241
     42.PHONY: distclean
    2343distclean: clean
    24         rm -f $(TAGS) hard_config.h
    25         find . -name "*.pyc" -exec rm -f {} \;
    26 
    27 .PHONY: simul.x $(TAGS)
    28 
     44ifneq ($(extra_objs),)
     45        $(RM) $(extra_objs)
     46endif
Note: See TracChangeset for help on using the changeset viewer.