linux: use riscv-next branch
This commit is contained in:
parent
4853279a64
commit
d45e44e832
8
Makefile
8
Makefile
@ -20,8 +20,6 @@ sysroot := $(wrkdir)/sysroot
|
||||
linux_srcdir := $(srcdir)/linux
|
||||
linux_wrkdir := $(wrkdir)/linux
|
||||
linux_defconfig := $(confdir)/linux_defconfig
|
||||
linux_release := linux-4.6.2.tar.xz
|
||||
linux_url := https://www.kernel.org/pub/linux/kernel/v4.x
|
||||
|
||||
vmlinux := $(linux_wrkdir)/vmlinux
|
||||
vmlinux_stripped := $(linux_wrkdir)/vmlinux-stripped
|
||||
@ -59,13 +57,9 @@ $(sysroot_stamp): $(buildroot_tar)
|
||||
tar -xpf $< -C $(sysroot) --exclude ./dev --exclude ./usr/share/locale
|
||||
touch $@
|
||||
|
||||
$(linux_release):
|
||||
curl -O $(linux_url)/$(linux_release)
|
||||
|
||||
$(linux_wrkdir)/.config: $(linux_defconfig) $(linux_srcdir) $(linux_release)
|
||||
$(linux_wrkdir)/.config: $(linux_defconfig) $(linux_srcdir)
|
||||
mkdir -p $(dir $@)
|
||||
cp -p $< $@
|
||||
cd $(linux_srcdir); tar --strip-components=1 -xJf ../$(linux_release); git checkout .
|
||||
$(MAKE) -C $(linux_srcdir) O=$(linux_wrkdir) ARCH=riscv olddefconfig
|
||||
|
||||
$(vmlinux): $(linux_srcdir) $(linux_wrkdir)/.config $(sysroot_stamp)
|
||||
|
2
linux
2
linux
@ -1 +1 @@
|
||||
Subproject commit 1c80472270f0c026a8fa79a150bf02a7aa632d89
|
||||
Subproject commit 1f5df965209abb933ec9375792505551c476da41
|
Loading…
Reference in New Issue
Block a user