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

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