aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-4.19/950-0021-kbuild-Ignore-dtco-targets-when-filtering-symbols.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm27xx/patches-4.19/950-0021-kbuild-Ignore-dtco-targets-when-filtering-symbols.patch')
-rw-r--r--target/linux/bcm27xx/patches-4.19/950-0021-kbuild-Ignore-dtco-targets-when-filtering-symbols.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-4.19/950-0021-kbuild-Ignore-dtco-targets-when-filtering-symbols.patch b/target/linux/bcm27xx/patches-4.19/950-0021-kbuild-Ignore-dtco-targets-when-filtering-symbols.patch
new file mode 100644
index 0000000000..6d5d7d4d8b
--- /dev/null
+++ b/target/linux/bcm27xx/patches-4.19/950-0021-kbuild-Ignore-dtco-targets-when-filtering-symbols.patch
@@ -0,0 +1,20 @@
+From 3437db6e19e29ff9b6d2eef9a5ee703f04ca1d41 Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Wed, 24 Aug 2016 16:28:44 +0100
+Subject: [PATCH] kbuild: Ignore dtco targets when filtering symbols
+
+---
+ scripts/Kbuild.include | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/scripts/Kbuild.include
++++ b/scripts/Kbuild.include
+@@ -287,7 +287,7 @@ ksym_dep_filter =
+ $(CPP) $(call flags_nodeps,c_flags) -D__KSYM_DEPS__ $< ;; \
+ as_*_S|cpp_s_S) \
+ $(CPP) $(call flags_nodeps,a_flags) -D__KSYM_DEPS__ $< ;; \
+- boot*|build*|cpp_its_S|*cpp_lds_S|dtc|host*|vdso*) : ;; \
++ boot*|build*|cpp_its_S|*cpp_lds_S|dtc*|host*|vdso*) : ;; \
+ *) echo "Don't know how to preprocess $(1)" >&2; false ;; \
+ esac | tr ";" "\n" | sed -n 's/^.*=== __KSYM_\(.*\) ===.*$$/_\1/p'
+