]> xenbits.xensource.com Git - qemu-xen.git/commit
build-sys: fix crlf-ending C code
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 24 Jan 2023 18:00:57 +0000 (18:00 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 2 Feb 2023 10:44:23 +0000 (10:44 +0000)
commite2c4012bc35894d60e54bd077ceaaae565d43c15
tree1bc9af14688e0790bc6fa3e0395baf6b41264493
parentc906e6fbaa50a3d9f9a5b24987e1a9d4ad70e9a7
build-sys: fix crlf-ending C code

On msys2, the shader-to-C script produces bad C:
./ui/shader/texture-blit-vert.h:2:5: error: missing terminating " character [-Werror]

Fix it by changing the line ending from crlf to lf, and convert the
script to Python (qemu build seems perl-free after that).

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230110132700.833690-2-marcandre.lureau@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230124180127.1881110-6-alex.bennee@linaro.org>
meson.build
scripts/shaderinclude.pl [deleted file]
scripts/shaderinclude.py [new file with mode: 0644]