public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* minor patch to lib/raid6/Makefile
@ 2016-05-25 14:14 Steve Summit
  0 siblings, 0 replies; only message in thread
From: Steve Summit @ 2016-05-25 14:14 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

I've been doing some cross-compilation on my Mac, and one of
the little hiccups is that lib/raid6 won't build due to a small
command-line incompatibility between GNU awk and the one that
comes with MacOS.  Patch attached.  (I have nothing like commit
access; I'm hoping someone else can apply this.)

[-- Attachment #2: lib_raid6_Makefile.patch --]
[-- Type: text/plain, Size: 424 bytes --]

--- Makefile.orig	2012-11-26 16:40:34.000000000 -0500
+++ Makefile	2016-03-22 08:33:28.000000000 -0400
@@ -6,7 +6,7 @@
 hostprogs-y	+= mktables
 
 quiet_cmd_unroll = UNROLL  $@
-      cmd_unroll = $(AWK) -f$(srctree)/$(src)/unroll.awk -vN=$(UNROLL) \
+      cmd_unroll = $(AWK) -f $(srctree)/$(src)/unroll.awk -v N=$(UNROLL) \
                    < $< > $@ || ( rm -f $@ && exit 1 )
 
 ifeq ($(CONFIG_ALTIVEC),y)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-25 14:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-25 14:14 minor patch to lib/raid6/Makefile Steve Summit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox