Merge pull request #22 from sifive/linux-default
Pass --enable-linux when configuring riscv-gnu-toolchain.
This commit is contained in:
commit
c6f48ee644
5
Makefile
5
Makefile
@ -55,8 +55,9 @@ $(toolchain_dest)/bin/$(target)-gcc: $(toolchain_srcdir)
|
|||||||
cd $(toolchain_wrkdir); $(toolchain_srcdir)/configure \
|
cd $(toolchain_wrkdir); $(toolchain_srcdir)/configure \
|
||||||
--prefix=$(toolchain_dest) \
|
--prefix=$(toolchain_dest) \
|
||||||
--with-arch=$(ISA) \
|
--with-arch=$(ISA) \
|
||||||
--with-abi=$(ABI)
|
--with-abi=$(ABI) \
|
||||||
$(MAKE) -C $(toolchain_wrkdir) linux
|
--enable-linux
|
||||||
|
$(MAKE) -C $(toolchain_wrkdir)
|
||||||
sed 's/^#define LINUX_VERSION_CODE.*/#define LINUX_VERSION_CODE 263682/' -i $(toolchain_dest)/sysroot/usr/include/linux/version.h
|
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
|
$(buildroot_tar): $(buildroot_srcdir) $(RISCV)/bin/$(target)-gcc
|
||||||
|
Loading…
Reference in New Issue
Block a user