* [PATCH] KVM external module: Fix 'make sync'
@ 2007-11-28 21:43 Amit Shah
[not found] ` <200711290313.33433.amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Amit Shah @ 2007-11-28 21:43 UTC (permalink / raw)
To: Avi Kivity, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
>From a60dc9bddf8741743077db07f87dd1cec51bccb5 Mon Sep 17 00:00:00 2001
From: Amit Shah <amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Date: Thu, 29 Nov 2007 03:11:15 +0530
Subject: [PATCH] KVM external module: Fix 'make sync'
bash syntax didn't work for me (3.2.25 on Kubuntu)
Signed-off-by: Amit Shah <amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
---
kernel/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/kernel/Makefile b/kernel/Makefile
index 22326b2..b71149e 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -18,9 +18,10 @@ hack = mv $1 $1.orig && \
| sed 's/\blapic\b/l_apic/g' > $1 && rm $1.orig
unifdef = mv $1 $1.orig && \
- unifdef -DCONFIG_X86 $1.orig > $1; (( $$? <= 1 )) && rm $1.orig
+ unifdef -DCONFIG_X86 $1.orig > $1; \
+ if [ $$? -lt 2 ]; then rm $1.orig; fi;
-all::
+all:
$(MAKE) -C $(KERNELDIR) M=`pwd` "$$@"
sync:
--
1.5.2.5
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-30 7:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-28 21:43 [PATCH] KVM external module: Fix 'make sync' Amit Shah
[not found] ` <200711290313.33433.amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-30 7:32 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox