Update sim_common_files recipe to not use awk

Co-authored-by: John Wright <jwright6323@gmail.com>
This commit is contained in:
Abraham Gonzalez
2021-08-30 15:58:23 -07:00
committed by GitHub
parent 42912a196b
commit cda174d3e6

View File

@@ -173,7 +173,7 @@ harness_macro_temp: $(HARNESS_SMEMS_CONF) | top_macro_temp
# remove duplicate files and headers in list of simulation file inputs # remove duplicate files and headers in list of simulation file inputs
######################################################################################## ########################################################################################
$(sim_common_files): $(sim_files) $(sim_top_blackboxes) $(sim_harness_blackboxes) $(sim_common_files): $(sim_files) $(sim_top_blackboxes) $(sim_harness_blackboxes)
awk '{print}' $^ | sort -u | grep -v '.*\.\(svh\|h\)$$' > $@ sort -u $^ | grep -v '.*\.\(svh\|h\)$$' > $@
######################################################################################### #########################################################################################
# helper rule to just make verilog files # helper rule to just make verilog files