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

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