tAdd patch for chromeacer kernel to be able to compile it. - arm-sdk - os build toolkit for various embedded devices HTML git clone https://git.parazyd.org/arm-sdk DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- DIR commit a04700dd9394c6b78925e7dbefdccb35b4161e63 DIR parent 66f81b0327d1990fb71ce81c37571c2a19cbcca9 HTML Author: parazyd <parazyd@dyne.org> Date: Tue, 12 Jun 2018 13:34:10 +0200 Add patch for chromeacer kernel to be able to compile it. Diffstat: M boards/chromebook-acer.sh | 3 +++ A extra/patches/linux-chromeacer-pat… | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+), 0 deletions(-) --- DIR diff --git a/boards/chromebook-acer.sh b/boards/chromebook-acer.sh t@@ -95,6 +95,9 @@ build_kernel_armhf() { pushd $R/tmp/kernels/$device_name/${device_name}-linux #WIFIVERSION="-3.8" make exynos_defconfig || zerr copy-kernel-config + for i in $R/extra/patches/linux-chromeacer-patches/*.patch ; do + patch -p1 < $i + done mkdir -p firmware/nvidia/tegra124/ cp -f $R/extra/chromebook-acer/xusb.bin firmware/nvidia/tegra124/ make \ DIR diff --git a/extra/patches/linux-chromeacer-patches/0001-chromeacer-configfs-remove-debug.patch b/extra/patches/linux-chromeacer-patches/0001-chromeacer-configfs-remove-debug.patch t@@ -0,0 +1,21 @@ +--- fs/configfs/dir.c.orig 2018-06-06 10:29:24.616110050 +0200 ++++ fs/configfs/dir.c 2018-06-06 10:29:51.140594997 +0200 +@@ -387,8 +387,6 @@ static void remove_dir(struct dentry * d + if (d->d_inode) + simple_rmdir(parent->d_inode,d); + +- pr_debug(" o %s removing done (%d)\n",d->d_name.name, d->d_count); +- + dput(parent); + } + +@@ -565,9 +563,6 @@ static void detach_attrs(struct config_i + if (!dentry) + return; + +- pr_debug("configfs %s: dropping attrs for dir\n", +- dentry->d_name.name); +- + parent_sd = dentry->d_fsdata; + list_for_each_entry_safe(sd, tmp, &parent_sd->s_children, s_sibling) { + if (!sd->s_element || !(sd->s_type & CONFIGFS_NOT_PINNED))