[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen stable-4.13] xen/include: compat/xlat.h may change with .config changes



commit 6d5d73b77f022b6ddf855eeefdbd4368322d04b6
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Fri Mar 5 15:41:11 2021 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Mar 5 15:41:11 2021 +0100

    xen/include: compat/xlat.h may change with .config changes
    
    $(xlat-y) getting derived from $(headers-y) means its contents may
    change with changes to .config. The individual files $(xlat-y) refers
    to, otoh, may not change, and hence not trigger rebuilding of xlat.h.
    (Note that the issue was already present before the commit referred to
    below, but it was far more limited in affecting only changes to
    CONFIG_XSM_FLASK.)
    
    Fixes: 2c8fabb2232d ("x86: only generate compat headers actually needed")
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    master commit: c7b0f25e8f86373ed54e1c446f8e67ce25ac6819
    master date: 2021-01-26 14:42:23 +0100
---
 xen/include/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/include/Makefile b/xen/include/Makefile
index c3e0283d34..47908905b9 100644
--- a/xen/include/Makefile
+++ b/xen/include/Makefile
@@ -90,7 +90,7 @@ compat/.xlat/%.lst: xlat.lst Makefile
 xlat-y := $(shell sed -ne 's,@arch@,$(compat-arch-y),g' -re 
's,^[?!][[:blank:]]+[^[:blank:]]+[[:blank:]]+,,p' xlat.lst | uniq)
 xlat-y := $(filter $(patsubst compat/%,%,$(headers-y)),$(xlat-y))
 
-compat/xlat.h: $(addprefix compat/.xlat/,$(xlat-y)) Makefile
+compat/xlat.h: $(addprefix compat/.xlat/,$(xlat-y)) config/auto.conf Makefile
        cat $(filter %.h,$^) >$@.new
        mv -f $@.new $@
 
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.13



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.