Skip to content

Commit 383cbca

Browse files
authored
Optimized pseudo logic to Makefile
Signed-off-by: Jay Dev Jha <[email protected]>
1 parent 32b9af9 commit 383cbca

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Makefile

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
EXTENSIONS := "../extensions/rv*" "../extensions/unratified/rv*"
1+
EXTENSIONS := "rv*" "unratified/rv*"
22
ISASIM_H := ../riscv-isa-sim/riscv/encoding.h
33
PK_H := ../riscv-pk/machine/encoding.h
44
ENV_H := ../riscv-tests/env/encoding.h
55
OPENOCD_H := ../riscv-openocd/src/target/riscv/encoding.h
66
INSTALL_HEADER_FILES := $(ISASIM_H) $(PK_H) $(ENV_H) $(OPENOCD_H)
7+
PSEUDO_FLAG := $(if $(PSEUDO),-pseudo,)
78

8-
ifdef PSEUDO
9-
PSEUDO_FLAG := -pseudo
10-
else
11-
PSEUDO_FLAG :=
12-
endif
139

1410
default: everything
1511

0 commit comments

Comments
 (0)