Bump linux and riscv-gnu-toolchain
This now contains the latest toolchain release, along with a our Linux port applied on top of 4.14-rc8. The toolchain is in good shape: it's based on stable releases, with every backported patch having landed upstraem. Linux hasn't landed upstream yet, so while there's been some review it will get rebased (and archived). This builds and boots on both Spike and Freedom.
This commit is contained in:
1
Makefile
1
Makefile
@ -51,6 +51,7 @@ $(toolchain_dest)/bin/$(target)-gcc: $(toolchain_srcdir)
|
||||
mkdir -p $(toolchain_wrkdir)
|
||||
cd $(toolchain_wrkdir); $(toolchain_srcdir)/configure --prefix=$(toolchain_dest)
|
||||
$(MAKE) -C $(toolchain_wrkdir) linux
|
||||
sed 's/^#define LINUX_VERSION_CODE.*/#define LINUX_VERSION_CODE 263682/' -i $(toolchain_dest)/sysroot/usr/include/linux/version.h
|
||||
|
||||
$(buildroot_tar): $(buildroot_srcdir) $(RISCV)/bin/$(target)-gcc
|
||||
$(MAKE) -C $< RISCV=$(RISCV) PATH=$(PATH) O=$(buildroot_wrkdir) riscv64_defconfig
|
||||
|
Reference in New Issue
Block a user