]> git.proxmox.com Git - mirror_qemu.git/commit
Makefile: Fix "make clean" in "unconfigured" source directory
authorMarkus Armbruster <armbru@redhat.com>
Tue, 9 Jul 2019 14:38:01 +0000 (16:38 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 9 Jul 2019 15:17:38 +0000 (16:17 +0100)
commit8d358a5ea08206a5c800d5a1e1ec9b66b1be975b
tree07d129c93df85da0dc265c9cc9c1d20c69d83dc5
parentf89600f498933655c9d11c72e2e6f210e7d8dcb4
Makefile: Fix "make clean" in "unconfigured" source directory

Recent commit "Makefile: Reuse all's recursion machinery for clean and
install" broke targets clean and distclean in the source directory
before running configure:

    $ make clean
      LD      recurse-clean.mo
    cc: fatal error: no input files
    compilation terminated.
    make: *** [rules.mak:118: recurse-clean.mo] Error 1

Root cause is missing .PHONY.  Fix that.

Fixes: 1338a4b72659ce08eacb9de0205fe16202a22d9c
Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Makefile