Browse Source

tools: disable python during binutils build

Python support in binutils build causes problems, apparently. Disable
it; we don't really need it.
H. Peter Anvin 2 months ago
parent
commit
852b0377fb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/Makefile

+ 2 - 2
tools/Makefile

@@ -7,7 +7,7 @@ binutils  = $(tooldir)/binutils
 
 all_config = --prefix=$(prefix)
 
-z80_config = $(all_config) --target=z80-none-elf
+z80_config = $(all_config) --target=z80-none-elf --with-python=no
 
 include ../riscv-opts.mk
 export riscv_target_flags
@@ -30,7 +30,7 @@ riscv_config = $(all_config) \
 export riscv_config
 
 riscv_binutils_configargs := \
-	--disable-gold --disable-gprof --disable-sim
+	--disable-gold --disable-gprof --disable-sim --with-python=no
 export riscv_binutils_configargs
 
 # The tools don't seem to build correctly without buildin rules (sigh)