Skip to content

Commit

Permalink
Optimized pseudo logic to Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Dev Jha <[email protected]>
  • Loading branch information
IIITM-Jay authored Nov 9, 2024
1 parent 32b9af9 commit 383cbca
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
EXTENSIONS := "../extensions/rv*" "../extensions/unratified/rv*"
EXTENSIONS := "rv*" "unratified/rv*"
ISASIM_H := ../riscv-isa-sim/riscv/encoding.h
PK_H := ../riscv-pk/machine/encoding.h
ENV_H := ../riscv-tests/env/encoding.h
OPENOCD_H := ../riscv-openocd/src/target/riscv/encoding.h
INSTALL_HEADER_FILES := $(ISASIM_H) $(PK_H) $(ENV_H) $(OPENOCD_H)
PSEUDO_FLAG := $(if $(PSEUDO),-pseudo,)

ifdef PSEUDO
PSEUDO_FLAG := -pseudo
else
PSEUDO_FLAG :=
endif

default: everything

Expand Down

0 comments on commit 383cbca

Please sign in to comment.