diff options
author | John Millikin <john@john-millikin.com> | 2020-12-23 15:23:25 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-19 18:27:25 +0100 |
commit | 2aa134d9abca5f31f09e3ad7610dd08b28c42b0a (patch) | |
tree | 19bcc8dfa25338bbc770a75c110815d9df6c435a /scripts/kconfig | |
parent | 3163d7c1fbd32d96d242557ad443fe595a9ee281 (diff) | |
download | linux-rt-2aa134d9abca5f31f09e3ad7610dd08b28c42b0a.tar.gz |
lib/raid6: Let $(UNROLL) rules work with macOS userland
[ Upstream commit 0c36d88cff4d72149f94809303c5180b6f716d39 ]
Older versions of BSD awk are fussy about the order of '-v' and '-f'
flags, and require a space after the flag name. This causes build
failures on platforms with an old awk, such as macOS and NetBSD.
Since GNU awk and modern versions of BSD awk (distributed with
FreeBSD/OpenBSD) are fine with either form, the definition of
'cmd_unroll' can be trivially tweaked to let the lib/raid6 Makefile
work with both old and new awk flag dialects.
Signed-off-by: John Millikin <john@john-millikin.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/kconfig')
0 files changed, 0 insertions, 0 deletions