aboutsummaryrefslogtreecommitdiff
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-06-16 11:22:40 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2025-06-24 10:37:56 -0400
commitb5d00557722d46cb845c05e546474284870e440b (patch)
treedb6523cbdc343b6af85fc777dc4b3796edb78ac7 /hw/avr/arduino.c
parent2b0e4ecd9466d493664317ffcc95275406862390 (diff)
downloadqemu-b5d00557722d46cb845c05e546474284870e440b.zip
qemu-b5d00557722d46cb845c05e546474284870e440b.tar.gz
qemu-b5d00557722d46cb845c05e546474284870e440b.tar.bz2
docs: define policy limiting the inclusion of generated files
Files contributed to QEMU are generally expected to be provided in the preferred format for manipulation. IOW, we generally don't expect to have generated / compiled code included in the tree, rather, we expect to run the code generator / compiler as part of the build process. There are some obvious exceptions to this seen in our existing tree, the biggest one being the inclusion of many binary firmware ROMs. A more niche example is the inclusion of a generated eBPF program. Or the CI dockerfiles which are mostly auto-generated. In these cases, however, the preferred format source code is still required to be included, alongside the generated output. Tools which perform user defined algorithmic transformations on code are not considered to be "code generators". ie, we permit use of coccinelle, spell checkers, and sed/awk/etc to manipulate code. Such use of automated manipulation should still be declared in the commit message. One off generators which create a boilerplate file which the author then fills in, are acceptable if their output has clear copyright and license status. This could be where a contributor writes a throwaway python script to automate creation of some mundane piece of code for example. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions