]> xenbits.xensource.com Git - xen.git/commitdiff
automation: Change build script to use arch defconfig
authorShawn Anastasio <sanastasio@raptorengineering.com>
Tue, 26 Sep 2023 22:37:38 +0000 (17:37 -0500)
committerStefano Stabellini <stefano.stabellini@amd.com>
Wed, 27 Sep 2023 23:28:55 +0000 (16:28 -0700)
Change automation build script to call the make defconfig target before
setting CONFIG_DEBUG and extra options. This fixes issues on Power where
the build fails without using the ppc64_defconfig.

Reported-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Shawn Anastasio <sanastasio@raptorengineering.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
automation/scripts/build

index b4edcf010e4e5a43f25f944c003d1a96f6044de0..b3c71fb6fb608ba6f4faefb731cbec8a4c6bcb73 100755 (executable)
@@ -22,7 +22,10 @@ if [[ "${RANDCONFIG}" == "y" ]]; then
     # RANDCONFIG implies HYPERVISOR_ONLY
     HYPERVISOR_ONLY="y"
 else
-    echo "CONFIG_DEBUG=${debug}" > xen/.config
+    # Start off with arch's defconfig
+    make -C xen defconfig
+
+    echo "CONFIG_DEBUG=${debug}" >> xen/.config
 
     if [[ -n "${EXTRA_XEN_CONFIG}" ]]; then
         echo "${EXTRA_XEN_CONFIG}" >> xen/.config