]> xenbits.xensource.com Git - people/dariof/xen.git/commitdiff
firmware/shim: better filtering of dependency files during Xen tree setup
authorJan Beulich <jbeulich@suse.com>
Thu, 1 Mar 2018 14:10:02 +0000 (15:10 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 1 Mar 2018 14:10:02 +0000 (15:10 +0100)
I have no idea what *.d1 is supposed to refer to - we only have .*.d
and .*.d2 files (note also the leading dot). Also switch to passing
-name instead of -path to find - that's a requirement for .*.d et al to
work, but would probably have been better from the beginning.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
tools/firmware/xen-dir/Makefile

index 57750bf2fd9554deda0d81d6c862971ba844c0e3..ebfef7e541301218191ade85d777b8e7680a12cb 100644 (file)
@@ -26,7 +26,7 @@ linkfarm.stamp: $(DEP_DIRS) $(DEP_FILES) FORCE
        $(foreach d, $(LINK_DIRS), \
                (cd $(XEN_ROOT); \
                 find $(d) ! -type l -type f \
-                $(addprefix ! -path , '*.[oda1]' '*.d[12]')) \
+                $(addprefix ! -name , '*.[oa1]' '.*.d' '.*.d2')) \
                 >> linkfarm.stamp.tmp ; ) \
        $(foreach f, $(LINK_FILES), \
                echo $(f) >> linkfarm.stamp.tmp ;)