]> git.proxmox.com Git - mirror_qemu.git/commit
makefile: merge GENERATED_HEADERS & GENERATED_SOURCES variables
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 28 Feb 2017 12:29:00 +0000 (12:29 +0000)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 16 Mar 2017 03:51:15 +0000 (11:51 +0800)
commit4f04f13c2a9aba874797d89a5e37b1f6b5993835
treeff2fcd0c381f57b0d239b491b646b50ecb07c6fa
parent1883ff34b540daacae948f493b0ba525edf5f642
makefile: merge GENERATED_HEADERS & GENERATED_SOURCES variables

The only functional difference between the GENERATED_HEADERS
and GENERATED_SOURCES variables is that 'Makefile' has a
dependancy on GENERATED_HEADERS, causing generated header files
to be created immediatey at the start of the build process.
There is no reason why this early creation should be restricted
to the .h files, and not include .c files too. Merge both of
the variables into a single GENERATED_FILES variable to make
it clear it is for any type of generated file.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 20170228122901.24520-2-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Makefile
Makefile.target
target/s390x/Makefile.objs
tests/Makefile.include