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

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