| 
                Last change
                  on this file since 1016 was
                  1007,
                  checked in by cfuguet, 10 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
           | 
      
      
        
  | Line |   | 
|---|
| 1 | RM             := rm -f | 
|---|
| 2 | SOCLIB_CC      := soclib-cc | 
|---|
| 3 | SOCLIB_CC_MODE := -m release | 
|---|
| 4 | SOCLIB_CC_ARGS := $(SOCLIB_CC_MODE) | 
|---|
| 5 | SOCLIB_CC_ARGS += -v | 
|---|
| 6 | #SOCLIB_CC_ARGS += -t envsystemc | 
|---|
| 7 | #SOCLIB_CC_ARGS += -bcaba:reconf:vci_xicu | 
|---|
| 8 | #SOCLIB_CC_ARGS += -bcaba:vci_iopic | 
|---|
| 9 | #SOCLIB_CC_ARGS += -bcaba:vci_block_device_tsar | 
|---|
| 10 |  | 
|---|
| 11 | TAGS           := cscope.out | 
|---|
| 12 | TARGET         := simul.x | 
|---|
| 13 |  | 
|---|
| 14 | objs           := $(wildcard *.o) | 
|---|
| 15 | objs           += $(wildcard term[0-9]) | 
|---|
| 16 | objs           += $(wildcard $(TARGET)) | 
|---|
| 17 | objs           := $(strip $(objs)) | 
|---|
| 18 |  | 
|---|
| 19 | extra_objs     := $(wildcard scripts/*.pyc) | 
|---|
| 20 | extra_objs     += $(wildcard hard_config.h) | 
|---|
| 21 | extra_objs     += $(wildcard $(TAGS)) | 
|---|
| 22 | extra_objs     := $(strip $(extra_objs)) | 
|---|
| 23 |  | 
|---|
| 24 | all: $(TARGET) | 
|---|
| 25 | tags: $(TAGS) | 
|---|
| 26 |  | 
|---|
| 27 | .PHONY: $(TARGET) | 
|---|
| 28 | $(TARGET): top.desc top.cpp | 
|---|
| 29 |         $(SOCLIB_CC) $(SOCLIB_CC_ARGS) -P -p $< -I. -o $@ | 
|---|
| 30 |  | 
|---|
| 31 | .PHONY: $(TAGS) | 
|---|
| 32 | $(TAGS): top.desc | 
|---|
| 33 |         $(SOCLIB_CC) -p $< --tags --tags-type=cscope --tags-output=$@ | 
|---|
| 34 |  | 
|---|
| 35 | .PHONY: clean | 
|---|
| 36 | clean: | 
|---|
| 37 |         $(SOCLIB_CC) $(SOCLIB_CC_MODE) -x -p top.desc -I. | 
|---|
| 38 | ifneq ($(objs),) | 
|---|
| 39 |         $(RM) $(objs) | 
|---|
| 40 | endif | 
|---|
| 41 |  | 
|---|
| 42 | .PHONY: distclean | 
|---|
| 43 | distclean: clean | 
|---|
| 44 | ifneq ($(extra_objs),) | 
|---|
| 45 |         $(RM) $(extra_objs) | 
|---|
| 46 | endif | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.