Re: [Qemu-devel] [PATCH] Makefile.objs: add dummy rule for .dsl files

2015-03-02 Thread Paolo Bonzini
On 01/03/2015 17:50, Michael S. Tsirkin wrote: > Hmm, it turns out while this helps sometimes, > sometimes this results in a hard to debug error > as we try to run preprocessor on the non-existent .dsl. > > If not too late, I suggest you drop this one for now. > If too late, probably not worth r

Re: [Qemu-devel] [PATCH] Makefile.objs: add dummy rule for .dsl files

2015-03-01 Thread Michael S. Tsirkin
On Fri, Feb 27, 2015 at 07:41:29PM +0100, Paolo Bonzini wrote: > > > On 26/02/2015 17:33, Michael S. Tsirkin wrote: > > .hex files are created from .dsl files, so > > cpp adds the dependency %.hex: %.dsl automatically, > > but fails to add a dummy rule so if .dsl > > file is missing, make will fa

Re: [Qemu-devel] [PATCH] Makefile.objs: add dummy rule for .dsl files

2015-02-27 Thread Paolo Bonzini
On 26/02/2015 17:33, Michael S. Tsirkin wrote: > .hex files are created from .dsl files, so > cpp adds the dependency %.hex: %.dsl automatically, > but fails to add a dummy rule so if .dsl > file is missing, make will fail. > > This happened to us in the past when we > removed some dsl files. >