WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix Xen 'make install' not to rebuild console.o if calle

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix Xen 'make install' not to rebuild console.o if called
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 01 Jul 2005 10:32:09 -0400
Delivery-date: Fri, 01 Jul 2005 14:32:33 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 43e2d33fc5d99e630e3cd255b18b1eb83542df3b
# Parent  7c95f26c2f0e5c9c717d3e7b942184256a2eae8a

Fix Xen 'make install' not to rebuild console.o if called
from sudo environemnt, for example.

diff -r 7c95f26c2f0e -r 43e2d33fc5d9 xen/drivers/char/Makefile
--- a/xen/drivers/char/Makefile Fri Jul  1 13:35:03 2005
+++ b/xen/drivers/char/Makefile Fri Jul  1 14:30:46 2005
@@ -7,3 +7,5 @@
 
 clean:
        rm -f *.o *~ core
+
+console.o: $(BASEDIR)/include/xen/compile.h
diff -r 7c95f26c2f0e -r 43e2d33fc5d9 xen/Makefile
--- a/xen/Makefile      Fri Jul  1 13:35:03 2005
+++ b/xen/Makefile      Fri Jul  1 14:30:46 2005
@@ -67,9 +67,12 @@
        $(MAKE) -C arch/$(TARGET_ARCH)
 
 # drivers/char/console.o contains static banner/compile info. Blow it away.
+# Don't refresh these files during e.g., 'sudo make install'
 delete-unfresh-files:
-       rm -f include/xen/banner.h include/xen/compile.h drivers/char/console.o
-       $(MAKE) -C arch/$(TARGET_ARCH) delete-unfresh-files
+       @if [ ! -r include/xen/compile.h -o -O include/xen/compile.h ]; then \
+               rm -f include/xen/{banner,compile}.h; \
+               $(MAKE) -C arch/$(TARGET_ARCH) delete-unfresh-files; \
+       fi
 
 # acm_policy.h contains security policy for Xen
 include/xen/acm_policy.h:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix Xen 'make install' not to rebuild console.o if called, Xen patchbot -unstable <=