linux: use riscv-next branch

This commit is contained in:
Wesley W. Terpstra 2017-04-06 10:22:55 -07:00
parent 4853279a64
commit d45e44e832
2 changed files with 2 additions and 8 deletions

View File

@ -20,8 +20,6 @@ sysroot := $(wrkdir)/sysroot
linux_srcdir := $(srcdir)/linux linux_srcdir := $(srcdir)/linux
linux_wrkdir := $(wrkdir)/linux linux_wrkdir := $(wrkdir)/linux
linux_defconfig := $(confdir)/linux_defconfig 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 := $(linux_wrkdir)/vmlinux
vmlinux_stripped := $(linux_wrkdir)/vmlinux-stripped vmlinux_stripped := $(linux_wrkdir)/vmlinux-stripped
@ -59,13 +57,9 @@ $(sysroot_stamp): $(buildroot_tar)
tar -xpf $< -C $(sysroot) --exclude ./dev --exclude ./usr/share/locale tar -xpf $< -C $(sysroot) --exclude ./dev --exclude ./usr/share/locale
touch $@ touch $@
$(linux_release): $(linux_wrkdir)/.config: $(linux_defconfig) $(linux_srcdir)
curl -O $(linux_url)/$(linux_release)
$(linux_wrkdir)/.config: $(linux_defconfig) $(linux_srcdir) $(linux_release)
mkdir -p $(dir $@) mkdir -p $(dir $@)
cp -p $< $@ cp -p $< $@
cd $(linux_srcdir); tar --strip-components=1 -xJf ../$(linux_release); git checkout .
$(MAKE) -C $(linux_srcdir) O=$(linux_wrkdir) ARCH=riscv olddefconfig $(MAKE) -C $(linux_srcdir) O=$(linux_wrkdir) ARCH=riscv olddefconfig
$(vmlinux): $(linux_srcdir) $(linux_wrkdir)/.config $(sysroot_stamp) $(vmlinux): $(linux_srcdir) $(linux_wrkdir)/.config $(sysroot_stamp)

2
linux

@ -1 +1 @@
Subproject commit 1c80472270f0c026a8fa79a150bf02a7aa632d89 Subproject commit 1f5df965209abb933ec9375792505551c476da41