]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
debian/rules: Copy config.{sub,guess} by hand
authorIan Jackson <ian.jackson@citrix.com>
Fri, 5 Oct 2018 17:07:18 +0000 (18:07 +0100)
committerIan Jackson <ian.jackson@citrix.com>
Fri, 5 Oct 2018 17:23:31 +0000 (18:23 +0100)
Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
debian/rules

index 6fb08381e19cf90e1fbfb6c4c7dea6879c3ee5f3..f68f8150a546c33782ccd22507958e9a7afe18ac 100755 (executable)
@@ -148,11 +148,17 @@ override_dh_auto_clean:
        rm -f debian/xen-tools-built.stamp
        $(MAKE) -j1 distclean
 
+# To avoid that the build dirties the tree, our delta queue deletes
+# config.sub and config.guess.  dh_update_autotools_config can get
+# us fresh ones for each build, but it expects to find some there
+# already with some weird properties.  Instead, just copy them
+# from /usr/share/misc (which is where it gets them anyway)
+override_dh_update_autotools_config:
+       cp /usr/share/misc/{config.sub,config.guess} .
+
 # Upstream has both a kconfig style configure for the hypervisor
 # and autoconfery for the tools (what we call the `utils').
 override_dh_auto_configure:
-       dh_update_autotools_config
-       :
        cp debian/xen-kconfig xen/.config
        make -C xen olddefconfig $(make_args_xen)
        :