Searched hist:"0 c36d88c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/lib/raid6/ |
H A D | Makefile | 0c36d88c Wed Dec 23 00:23:25 CST 2020 John Millikin <john@john-millikin.com> lib/raid6: Let $(UNROLL) rules work with macOS userland
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>
|