lkml.org 
[lkml]   [2016]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subjectminor patch to lib/raid6/Makefile
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.)
--- 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)
\
 
 \ /
  Last update: 2016-05-25 16:41    [W:0.032 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site