diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-02 18:12:29 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-02 18:12:29 +0000 |
commit | 120a88b9da6d8d1b7a04d60e1b25b9925d58eb19 (patch) | |
tree | 257c7a050b0bd4b31cdf364eadb03587d3342e2f /include/prereq-build.mk | |
parent | 8ca8fd757ab5c55b61bd141f8dba4e21c8ede0c3 (diff) | |
download | master-31e0f0ae-120a88b9da6d8d1b7a04d60e1b25b9925d58eb19.tar.gz master-31e0f0ae-120a88b9da6d8d1b7a04d60e1b25b9925d58eb19.tar.bz2 master-31e0f0ae-120a88b9da6d8d1b7a04d60e1b25b9925d58eb19.zip |
include/kernel.mk - better search for ARCH
If "findstring" is used without leading and trailing spaces unexpected matches
may happen. For example consider ARC=arc then "findstring $(ARCH)" will
report a false match with "aarch64".
But "findstring $ARCH " (note trailing space) will correctly skip
matches for both "aarch64" and "aarch64_be".
This patch is built-tested against NetGear WNDR3800.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47359
Diffstat (limited to 'include/prereq-build.mk')
0 files changed, 0 insertions, 0 deletions