I'm having an issue building a 4.0-based build but the 3.8 one works fine. (And with works fine I mean the build builds to the end, I am not talking about it not making a doorstop out of my router).
cat: /data/build/openwrt-wrt-1900ac-special/openwrt-45230/trunk/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/linux-4.0-rc6/arch/arm/boot/dts//armada-385-rd.dtb: No such file or directory
The only difference between the builds is :
echo Setting Kernel version to 4.0.
sed -i.bak s/KERNEL_PATCHVER:=3.18/KERNEL_PATCHVER:=4.0/ target/linux/mvebu/Makefile
rm -f target/linux/mvebu/Makefile.bak
stesmi@DeepSpaceNine:/data/build$ diff -uN openwrt-wrt-1900ac/config openwrt-wrt-1900ac-special/config
--- openwrt-wrt-1900ac/config 2015-04-02 01:05:00.344141469 +0200
+++ openwrt-wrt-1900ac-special/config 2015-04-02 15:10:00.373892023 +0200
@@ -57,7 +57,7 @@
CONFIG_TARGET_ARCH_PACKAGES="mvebu"
CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16"
CONFIG_CPU_TYPE="cortex-a9+vfpv3"
-CONFIG_LINUX_3_18=y
+CONFIG_LINUX_4_0=y
CONFIG_DEFAULT_base-files=y
CONFIG_DEFAULT_busybox=y
CONFIG_DEFAULT_dnsmasq=y
stesmi@DeepSpaceNine:/data/build$
(My build-script copies the .config into the newly fetched tree).
Both also do the following:
echo Making system use e2fsprogs 1.42.8 instead of 1.42.12 which is broken for ARM targets.
sed -i.bak 's/PKG_VERSION:=1.42.12/PKG_VERSION:=1.42.8/;s/PKG_MD5SUM:=68255f51be017a93f2f6402fab06c2bf/PKG_MD5SUM:=8ef664b6eb698aa6b733df59b17b9ed4/' package/utils/e2fsprogs/Makefile
rm -f package/utils/e2fsprogs/Makefile.bak
The -special dir is the one that handles the 4.0 build and the one without -special is the 3.8 one.
This is all using a fresh downloaded tree, not a grandfathered one. The only thing grandfathered here is the .config
If you want to see the .config, just let me know.
Thanx in advance.
// Stefan
(Last edited by stesmi on 2 Apr 2015, 19:29)