|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Make "make disk.img" not require building the entire bui
# HG changeset patch
# User stekloff@xxxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 7bafcb7c24eb04adb6e24b761323e63812cfe07d
# Parent 514f2585d102f592b7adef6b8d684003f28dd6d2
Make "make disk.img" not require building the entire buildroot if initrd
already exists. Changed dependency for disk.img to "existing" and added
a line to make existing false.
Signed-off-by: Daniel Stekloff <dsteklof@xxxxxxxxxx>
diff -r 514f2585d102 -r 7bafcb7c24eb tools/xm-test/ramdisk/Makefile.am
--- a/tools/xm-test/ramdisk/Makefile.am Fri Feb 3 09:31:28 2006
+++ b/tools/xm-test/ramdisk/Makefile.am Fri Feb 3 09:34:03 2006
@@ -43,7 +43,7 @@
initrd.img: $(XMTEST_VER_IMG)
ln -sf $(XMTEST_VER_IMG) initrd.img
-disk.img: $(XMTEST_VER_IMG)
+disk.img: existing
chmod a+x $(HVM_SCRIPT)
@if test ! "$(HVMKERNEL)" = "no" -a ! "$(DRVDIR)" = "no"; then \
$(HVM_SCRIPT) -r $(XMTEST_VER_IMG) -k $(HVMKERNEL) \
@@ -57,8 +57,12 @@
fi
existing:
- @[ -f $(XMTEST_VER_IMG) ] && ln -sf $(XMTEST_VER_IMG) initrd.img || \
- echo Error, $(XMTEST_VER_IMG) not found
+ @if [ -f $(XMTEST_VER_IMG) ] ; then \
+ ln -sf $(XMTEST_VER_IMG) initrd.img; \
+ else \
+ echo Error, $(XMTEST_VER_IMG) not found; \
+ false; \
+ fi
clean-local: am_config_clean-local
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Make "make disk.img" not require building the entire buildroot if initrd,
Xen patchbot -unstable <=
|
|
|
|
|