I had a disk full condition and a partial hex file got generated. Following make failed trying to use it. We can make build a bit more robust by instructing make to remove output files on error.
Signed-off-by: Michael S. Tsirkin mst@redhat.com --- Makefile | 1 + 1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile index 33b3e69..e5e2735 100644 --- a/Makefile +++ b/Makefile @@ -75,6 +75,7 @@ all: $(target-y)
# Make definitions .PHONY : all clean distclean FORCE +.DELETE_ON_ERROR:
vpath %.c src vgasrc vpath %.S src vgasrc
"Michael S. Tsirkin" mst@redhat.com writes:
I had a disk full condition and a partial hex file got generated. Following make failed trying to use it. We can make build a bit more robust by instructing make to remove output files on error.
Signed-off-by: Michael S. Tsirkin mst@redhat.com
Makefile | 1 + 1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile index 33b3e69..e5e2735 100644 --- a/Makefile +++ b/Makefile @@ -75,6 +75,7 @@ all: $(target-y)
# Make definitions .PHONY : all clean distclean FORCE +.DELETE_ON_ERROR:
vpath %.c src vgasrc vpath %.S src vgasrc
Every Makefile should have this.
Reviewed-by: Markus Armbruster armbru@redhat.com
On Thu, Aug 30, 2012 at 12:59:31PM +0300, Michael S. Tsirkin wrote:
I had a disk full condition and a partial hex file got generated. Following make failed trying to use it. We can make build a bit more robust by instructing make to remove output files on error.
Thanks. I applied this.
-Kevin