Blame SOURCES/0031-Makefile-Don-t-build-static-build-with-everything-an.patch

fdf7c0
From 14ae4c37bce9a53da08d59d6c2d7e0946e9c9f47 Mon Sep 17 00:00:00 2001
fdf7c0
From: Logan Gunthorpe <logang@deltatee.com>
fdf7c0
Date: Wed, 22 Jun 2022 14:25:06 -0600
01ff50
Subject: [PATCH 31/83] Makefile: Don't build static build with everything and
fdf7c0
 everything-test
fdf7c0
fdf7c0
Running the test suite requires building everything, but it seems to be
fdf7c0
difficult to build the static version of mdadm now seeing there
fdf7c0
is no readily available static udev library.
fdf7c0
fdf7c0
The test suite doesn't need the static binary so just don't build it
fdf7c0
with the everything or everything-test targets.
fdf7c0
fdf7c0
Leave the mdadm.static and install-static targets in place in case
fdf7c0
someone still has a use case for the static binary.
fdf7c0
fdf7c0
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
fdf7c0
Acked-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
fdf7c0
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
fdf7c0
---
fdf7c0
 Makefile | 4 ++--
fdf7c0
 1 file changed, 2 insertions(+), 2 deletions(-)
fdf7c0
fdf7c0
diff --git a/Makefile b/Makefile
fdf7c0
index bf126033..ec1f99ed 100644
fdf7c0
--- a/Makefile
fdf7c0
+++ b/Makefile
fdf7c0
@@ -182,9 +182,9 @@ check_rundir:
fdf7c0
 		echo "***** or set CHECK_RUN_DIR=0"; exit 1; \
fdf7c0
 	fi
fdf7c0
 
fdf7c0
-everything: all mdadm.static swap_super test_stripe raid6check \
fdf7c0
+everything: all swap_super test_stripe raid6check \
fdf7c0
 	mdadm.Os mdadm.O2 man
fdf7c0
-everything-test: all mdadm.static swap_super test_stripe \
fdf7c0
+everything-test: all swap_super test_stripe \
fdf7c0
 	mdadm.Os mdadm.O2 man
fdf7c0
 # mdadm.uclibc doesn't work on x86-64
fdf7c0
 # mdadm.tcc doesn't work..
fdf7c0
-- 
01ff50
2.38.1
fdf7c0