commit a04700dd9394c6b78925e7dbefdccb35b4161e63
parent 66f81b0327d1990fb71ce81c37571c2a19cbcca9
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:
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/boards/chromebook-acer.sh b/boards/chromebook-acer.sh
@@ -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 \
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
@@ -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))