[Qemu-devel] [PATCH 64/67] target/s390x: add include directory header

Michael S. Tsirkin posted 67 patches 7 years, 5 months ago
[Qemu-devel] [PATCH 64/67] target/s390x: add include directory header
Posted by Michael S. Tsirkin 7 years, 5 months ago
This way it is easier to find using standard rules.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 include/target/s390x/cpu_models.h | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 include/target/s390x/cpu_models.h

diff --git a/include/target/s390x/cpu_models.h b/include/target/s390x/cpu_models.h
new file mode 100644
index 0000000..f66ea19
--- /dev/null
+++ b/include/target/s390x/cpu_models.h
@@ -0,0 +1 @@
+#include_next "../target/s390x/cpu_models.h"
-- 
MST


Re: [Qemu-devel] [PATCH 64/67] target/s390x: add include directory header
Posted by Cornelia Huck 7 years, 5 months ago
On Thu, 3 May 2018 22:51:45 +0300
"Michael S. Tsirkin" <mst@redhat.com> wrote:

> This way it is easier to find using standard rules.
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>  include/target/s390x/cpu_models.h | 1 +
>  1 file changed, 1 insertion(+)
>  create mode 100644 include/target/s390x/cpu_models.h
> 
> diff --git a/include/target/s390x/cpu_models.h b/include/target/s390x/cpu_models.h
> new file mode 100644
> index 0000000..f66ea19
> --- /dev/null
> +++ b/include/target/s390x/cpu_models.h
> @@ -0,0 +1 @@
> +#include_next "../target/s390x/cpu_models.h"

FWIW, I don't like this any better than the other one.