aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Geiselbrecht <travisg@gmail.com>2024-05-10 16:15:54 -0700
committerTravis Geiselbrecht <travisg@gmail.com>2024-05-10 16:15:54 -0700
commit356e9adc0109d24d1163c27a3238e219dfbfe38d (patch)
treefb4cae2bac093b0a356c50ef2ef754bfc82164f0
parent3c71b665f6c30317bdc2e32571eaf45fbfc036b8 (diff)
downloadlk-356e9adc0109d24d1163c27a3238e219dfbfe38d.tar.gz
[make] remove an undefine, unsupported on older gnu makes
It wasn't really that important anyway, was just a general nicety in the riscv rules.mk
-rw-r--r--arch/riscv/rules.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/riscv/rules.mk b/arch/riscv/rules.mk
index 0c9a7406..7f61687b 100644
--- a/arch/riscv/rules.mk
+++ b/arch/riscv/rules.mk
@@ -179,8 +179,6 @@ else
$(error SUBARCH not set or set to something unknown)
endif
-undefine RISCV_MARCH_EXTENSIONS
-
# test to see if -misa-spec=2.2 is a valid switch.
# misa-spec is added to make sure the compiler picks up the zicsr extension by default.
MISA_SPEC := $(shell $(TOOLCHAIN_PREFIX)gcc $(ARCH_COMPILEFLAGS) -misa-spec=2.2 -E - < /dev/null > /dev/null 2>1 && echo supported)