mirror of https://github.com/openXC7/prjxray.git
fuzzers: fix clean in parts fuzzers
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
This commit is contained in:
parent
f4b1bd1540
commit
2eb77e4663
|
|
@ -54,7 +54,7 @@ $(BUILD_DIR)/cmt_regions.csv: output_cmt.tcl
|
|||
cd $(BUILD_DIR)/ && ${XRAY_VIVADO} -mode batch -source ${FUZDIR}/output_cmt.tcl
|
||||
|
||||
clean:
|
||||
rm -rf build_* run.*.ok
|
||||
rm -rf ${BUILD_DIR} ${RUN_OK}
|
||||
|
||||
pushdb: database
|
||||
${XRAY_MERGEDB} gtp_common_mid_left $(BUILD_DIR)/segbits_gtp_common.db
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ $(BUILD_DIR)/cmt_regions.csv: output_cmt.tcl
|
|||
cd $(BUILD_DIR)/ && ${XRAY_VIVADO} -mode batch -source ${FUZDIR}/output_cmt.tcl
|
||||
|
||||
clean:
|
||||
rm -rf build_* run.*.ok
|
||||
rm -rf ${BUILD_DIR} ${RUN_OK}
|
||||
|
||||
pushdb: database
|
||||
${XRAY_MERGEDB} gtp_common_mid_left $(BUILD_DIR)/segbits_gtp_common.db
|
||||
|
|
|
|||
|
|
@ -7,7 +7,10 @@
|
|||
# SPDX-License-Identifier: ISC
|
||||
|
||||
N := 1
|
||||
|
||||
BUILD_DIR = build_${XRAY_PART}
|
||||
RUN_OK = run.${XRAY_PART}.ok
|
||||
|
||||
SPECIMENS := $(addprefix $(BUILD_DIR)/specimen_,$(shell seq -f '%03.0f' $(N)))
|
||||
SPECIMENS_OK := $(addsuffix /OK,$(SPECIMENS))
|
||||
MAX_VIVADO_PROCESS ?= 4
|
||||
|
|
@ -24,13 +27,13 @@ $(SPECIMENS_OK):
|
|||
touch $@
|
||||
|
||||
run:
|
||||
rm -rf $(BUILD_DIR) run.${XRAY_PART}.ok
|
||||
rm -rf $(BUILD_DIR) $(RUN_OK)
|
||||
$(MAKE) database
|
||||
$(MAKE) pushdb
|
||||
touch run.${XRAY_PART}.ok
|
||||
touch $(RUN_OK)
|
||||
|
||||
clean:
|
||||
rm -rf build_* run.*.ok
|
||||
rm -rf ${BUILD_DIR} ${RUN_OK}
|
||||
|
||||
.PHONY: database pushdb run clean
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,10 @@
|
|||
# SPDX-License-Identifier: ISC
|
||||
|
||||
N := 1
|
||||
|
||||
BUILD_DIR = build_${XRAY_PART}
|
||||
RUN_OK = run.${XRAY_PART}.ok
|
||||
|
||||
SPECIMENS := $(addprefix $(BUILD_DIR)/specimen_,$(shell seq -f '%03.0f' $(N)))
|
||||
SPECIMENS_OK := $(addsuffix /OK,$(SPECIMENS))
|
||||
|
||||
|
|
@ -22,13 +25,13 @@ $(SPECIMENS_OK):
|
|||
touch $@
|
||||
|
||||
run:
|
||||
rm -rf $(BUILD_DIR) run.${XRAY_PART}.ok
|
||||
rm -rf $(BUILD_DIR) $(RUN_OK)
|
||||
$(MAKE) database
|
||||
$(MAKE) pushdb
|
||||
touch run.${XRAY_PART}.ok
|
||||
touch $(RUN_OK)
|
||||
|
||||
clean:
|
||||
rm -rf build_* run.*.ok
|
||||
rm -rf ${BUILD_DIR} ${RUN_OK}
|
||||
|
||||
.PHONY: database pushdb run clean
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,10 @@
|
|||
# SPDX-License-Identifier: ISC
|
||||
|
||||
N := 1
|
||||
|
||||
BUILD_DIR = build_${XRAY_PART}
|
||||
RUN_OK = run.${XRAY_PART}.ok
|
||||
|
||||
SPECIMENS := $(addprefix $(BUILD_DIR)/specimen_,$(shell seq -f '%03.0f' $(N)))
|
||||
SPECIMENS_OK := $(addsuffix /OK,$(SPECIMENS))
|
||||
MAX_VIVADO_PROCESS ?= 4
|
||||
|
|
@ -34,10 +37,10 @@ run:
|
|||
$(MAKE) pushdb
|
||||
# Clean up intermediate files after successful pushdb.
|
||||
find $(BUILD_DIR) -name "*.json5" -delete
|
||||
touch run.${XRAY_PART}.ok
|
||||
touch ${RUN_OK}
|
||||
|
||||
clean:
|
||||
rm -rf build_* run.*.ok
|
||||
rm -rf ${BUILD_DIR} ${RUN_OK}
|
||||
|
||||
.PHONY: database pushdb run clean
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@
|
|||
# SPDX-License-Identifier: ISC
|
||||
N := 1
|
||||
BUILD_DIR = build_${XRAY_PART}
|
||||
RUN_OK = run.${XRAY_PART}.ok
|
||||
|
||||
SPECIMENS := $(addprefix $(BUILD_DIR)/specimen_,$(shell seq -f '%03.0f' $(N)))
|
||||
SPECIMENS_OK := $(addsuffix /OK,$(SPECIMENS))
|
||||
|
||||
|
|
@ -21,12 +23,12 @@ $(SPECIMENS_OK):
|
|||
touch $@
|
||||
|
||||
run:
|
||||
rm -rf $(BUILD_DIR) run.${XRAY_PART}.ok
|
||||
rm -rf $(BUILD_DIR) $(RUN_OK)
|
||||
$(MAKE) database
|
||||
$(MAKE) pushdb
|
||||
touch run.$(XRAY_PART).ok
|
||||
touch $(RUN_OK)
|
||||
|
||||
clean:
|
||||
rm -rf build_* run.*.ok
|
||||
rm -rf ${BUILD_DIR} ${RUN_OK}
|
||||
|
||||
.PHONY: database pushdb run clean
|
||||
|
|
|
|||
Loading…
Reference in New Issue