ANDROID: kbuild: use grep -F instead of fgrep
Otherwise we need to pull in an extra dependency.
Bug: 174773617
Fixes: 6a2d28f7ba ("ANDROID: kbuild: speed up ksym_dep_filter")
Change-Id: Ica1c433f17077be22f636d6c71db16cff3c7caa0
Signed-off-by: Giuliano Procida <gprocida@google.com>
This commit is contained in:
committed by
Will McVicker
parent
f921931f80
commit
d18cd1bb10
@@ -290,7 +290,7 @@ ksym_dep_filter = \
|
|||||||
$(CPP) $(call flags_nodeps,a_flags) -D__KSYM_DEPS__ $< ;; \
|
$(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 ;; \
|
*) echo "Don't know how to preprocess $(1)" >&2; false ;; \
|
||||||
esac | fgrep '=== __KSYM_' | tr ";" "\n" | sed -n 's/^.*=== __KSYM_\(.*\) ===.*$$/_\1/p'
|
esac | grep -F '=== __KSYM_' | tr ";" "\n" | sed -n 's/^.*=== __KSYM_\(.*\) ===.*$$/_\1/p'
|
||||||
|
|
||||||
cmd_and_fixdep = \
|
cmd_and_fixdep = \
|
||||||
$(echo-cmd) $(cmd_$(1)); \
|
$(echo-cmd) $(cmd_$(1)); \
|
||||||
|
|||||||
Reference in New Issue
Block a user