kernel: bump 4.9 to 4.9.143
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.9 / 950-0028-kbuild-Ignore-dtco-targets-when-filtering-symbols.patch
1 From d438958d741a4edbb641791461ee8f6c34495a89 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Wed, 24 Aug 2016 16:28:44 +0100
4 Subject: [PATCH] kbuild: Ignore dtco targets when filtering symbols
5
6 ---
7 scripts/Kbuild.include | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 --- a/scripts/Kbuild.include
11 +++ b/scripts/Kbuild.include
12 @@ -295,7 +295,7 @@ ksym_dep_filter =
13 $(CPP) $(call flags_nodeps,c_flags) -D__KSYM_DEPS__ $< ;; \
14 as_*_S|cpp_s_S) \
15 $(CPP) $(call flags_nodeps,a_flags) -D__KSYM_DEPS__ $< ;; \
16 - boot*|build*|*cpp_lds_S|dtc|host*|vdso*) : ;; \
17 + boot*|build*|*cpp_lds_S|dtc*|host*|vdso*) : ;; \
18 *) echo "Don't know how to preprocess $(1)" >&2; false ;; \
19 esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p'
20