[make] split up specific make vars/targets into frags (#499)
* [make] split up specific make vars/targets into frags * [make] move dramsim and max-cycles into SIM_FLAGS * [misc] move ariane configs to configs/ folder
This commit is contained in:
Submodule generators/ariane updated: 145b5ed106...e02436d2aa
18
generators/tracegen/tracegen.mk
Normal file
18
generators/tracegen/tracegen.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
##############################################################
|
||||
# extra variables/targets ingested by the chipyard make system
|
||||
##############################################################
|
||||
|
||||
AXE_DIR=$(base_dir)/tools/axe/src
|
||||
AXE=$(AXE_DIR)/axe
|
||||
|
||||
$(AXE): $(wildcard $(AXE_DIR)/*.[ch]) $(AXE_DIR)/make.sh
|
||||
cd $(AXE_DIR) && ./make.sh
|
||||
|
||||
$(output_dir)/tracegen.out: $(sim)
|
||||
mkdir -p $(output_dir) && $(sim) $(PERMISSIVE_ON) $(SIM_FLAGS) $(EXTRA_SIM_FLAGS) $(VERBOSE_FLAGS) $(PERMISSIVE_OFF) none </dev/null 2> $@
|
||||
|
||||
$(output_dir)/tracegen.result: $(output_dir)/tracegen.out $(AXE)
|
||||
$(base_dir)/scripts/check-tracegen.sh $< > $@
|
||||
|
||||
.PHONY: tracegen
|
||||
tracegen: $(output_dir)/tracegen.result
|
||||
Reference in New Issue
Block a user