xen: add a generic way to include binary files as variables
authorJuergen Gross <jgross@suse.com>
Fri, 29 May 2020 08:15:08 +0000 (10:15 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 29 May 2020 08:15:08 +0000 (10:15 +0200)
commitc48a9956e334a5dd99e846d04ad56185b07aab64
tree481b09e6619c0b296a4e4006dfa061e9cbc48fed
parent1497e78068421d83956f8e82fb6e1bf1fc3b1199
xen: add a generic way to include binary files as variables

Add a new script xen/tools/binfile for including a binary file at build
time being usable via a pointer and a size variable in the hypervisor.

Make use of that generic tool in xsm.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wl@xen.org>
.gitignore
xen/tools/binfile [new file with mode: 0755]
xen/xsm/flask/Makefile
xen/xsm/flask/flask-policy.S [deleted file]