]> xenbits.xensource.com Git - xen.git/commit
build: rework coverage and ubsan CFLAGS handling
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 25 Feb 2022 10:07:52 +0000 (11:07 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 25 Feb 2022 10:07:52 +0000 (11:07 +0100)
commit1449f6873d7dd477ba110b415ca08a3c2553451e
tree237e98bada016014498b9f8d4b4d4989e3f54faa
parent2c8708956e13d10142af8a2434697d50da7db94f
build: rework coverage and ubsan CFLAGS handling

When assigning a value a target-specific variable, that also affect
prerequisite of the target. This is mostly fine, but there is one case
where we will not want the COV_FLAGS added to the CFLAGS.

In arch/x86/boot, we have "head.o" with "cmdline.S" as prerequisite
and ultimately "cmdline.o", we don't want COV_FLAGS to that last one.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/Rules.mk