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

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