Skip to contentSkip to conversation

explicitly use GNU awk for 'make sync'

PATCH Applied Joerg Roedel 2 participants 2 messages Jan 22, 2008 – Jan 23, 2008 1 message not in the archive KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 explicitly use GNU awk for 'make sync'

Change the Makefile in kernel/ to explicitly call GNU awk if its not the default awk installed (like in Ubuntu). This fixes a build error seen on Ubuntu 7.10.

---
 kernel/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/Makefile +1 -1
index acfdd3b..7a435b5 100644
@@ -14,7 +14,7 @@ LINUX = ../linux-2.6
 version = $(shell cd $(LINUX); git describe)
 
 _hack = mv $1 $1.orig && \
-	awk -v version=$(version) -f hack-module.awk $1.orig \
+	gawk -v version=$(version) -f hack-module.awk $1.orig \
 	    | sed '/\#include/! s/\blapic\b/l_apic/g' > $1 && rm $1.orig
 
 _unifdef = mv $1 $1.orig && \
Signature · 9 lines
1.5.3.7




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Applied
#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · Joerg Roedel

Change the Makefile in kernel/ to explicitly call GNU awk if its not the default awk installed (like in Ubuntu). This fixes a build error seen on Ubuntu 7.10.

Applied, thanks.

Signature · 7 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/