Hi all!
I'm developing a little gateway appliance for x86_64 and I'd like to use the latest kerne (no particular reason).
What changes do I need to make in the source tree?
The change I've made is:
diff --git a/target/linux/x86/Makefile b/target/linux/x86/Makefile
index 533c0e5248..12eb95cbb4 100644
--- a/target/linux/x86/Makefile
+++ b/target/linux/x86/Makefile
@@ -13,7 +13,7 @@ FEATURES:=squashfs ext4 vdi vmdk pcmcia targz fpu
SUBTARGETS:=generic legacy geode 64
MAINTAINER:=Felix Fietkau <nbd@nbd.name>
-KERNEL_PATCHVER:=4.14
+KERNEL_PATCHVER:=4.20
KERNELNAME:=bzImage
I get the below:
make[1]: Entering directory '/home/ubuntu/openwrt'
make[2]: Entering directory '/home/ubuntu/openwrt'
make[3]: Entering directory '/home/ubuntu/openwrt/target/linux'
make[4]: Entering directory '/home/ubuntu/openwrt/target/linux/x86'
mkdir -p /home/ubuntu/openwrt/dl
SHELL= flock /home/ubuntu/openwrt/tmp/.linux-4.20.tar.xz.flock -c ' /home/ubuntu/openwrt/scripts/download.pl "/home/ubuntu/openwrt/dl" "linux-4.20.tar.xz" "" "" "@KERNEL/linux/kernel/v4.x" '
Cannot find appropriate hash command, ensure the provided hash is either a MD5 or SHA256 checksum.
Makefile:24: recipe for target '/home/ubuntu/openwrt/dl/linux-4.20.tar.xz' failed
make[4]: *** [/home/ubuntu/openwrt/dl/linux-4.20.tar.xz] Error 255
make[4]: Leaving directory '/home/ubuntu/openwrt/target/linux/x86'
Makefile:13: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory '/home/ubuntu/openwrt/target/linux'
time: target/linux/compile#0.05#0.04#0.12
target/Makefile:23: recipe for target 'target/linux/compile' failed
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory '/home/ubuntu/openwrt'
target/Makefile:18: recipe for target '/home/ubuntu/openwrt/staging_dir/target-x86_64_musl/stamp/.target_compile' failed
make[1]: *** [/home/ubuntu/openwrt/staging_dir/target-x86_64_musl/stamp/.target_compile] Error 2
make[1]: Leaving directory '/home/ubuntu/openwrt'
/home/ubuntu/openwrt/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2
So, I seem to need to make additional changes (i.e. add the checksums and such), but I searched for some time and I've shamefully failed to find the place where I do that/additional modifications.
Any help would be great, thank you!!