diff --git a/Makefile b/Makefile index 227e094..db05dda 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ BUILD_DIR ?= $(CURDIR)/build PKG_DIR ?= $(CURDIR)/install +TOOL_PATCH_DIR ?= $(CURDIR)/toolchain-patches ifdef ZERORISCY_PULP ARCH_FLAGS?=-march=IMXpulpslim @@ -19,7 +20,6 @@ endif endif endif - .PHONY: build PATCH_FILES = gcc.c gcse.c target.def builtins.c omp-low.c ira-color.c doc/tm.texi doc/tm.texi.in config/riscv/pulp_builtins.def diff --git a/toolchain-patches/001-fix-gcc-6-compilation-issue.patch b/toolchain-patches/001-fix-gcc-6-compilation-issue.patch index 3c7fbac..a54b9e1 100644 --- a/toolchain-patches/001-fix-gcc-6-compilation-issue.patch +++ b/toolchain-patches/001-fix-gcc-6-compilation-issue.patch @@ -126,4 +126,4 @@ index 5561fd1..e30e714 100644 ++ gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L C++ \ + $(srcdir)/cp/cfns.gperf --output-file $(srcdir)/cp/cfns.h + -+ # \ No newline at end of file ++ #