diff mbox series

[mdadm,v2,01/14] Makefile: Don't build static build with everything and everything-test

Message ID 20220622202519.35905-2-logang@deltatee.com (mailing list archive)
State Accepted, archived
Headers show
Series Bug fixes and testing improvments | expand

Commit Message

Logan Gunthorpe June 22, 2022, 8:25 p.m. UTC
Running the test suite requires building everything, but it seems to be
difficult to build the static version of mdadm now seeing there
is no readily available static udev library.

The test suite doesn't need the static binary so just don't build it
with the everything or everything-test targets.

Leave the mdadm.static and install-static targets in place in case
someone still has a use case for the static binary.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Mariusz Tkaczyk June 28, 2022, 7 a.m. UTC | #1
On Wed, 22 Jun 2022 14:25:06 -0600
Logan Gunthorpe <logang@deltatee.com> wrote:

> Running the test suite requires building everything, but it seems to be
> difficult to build the static version of mdadm now seeing there
> is no readily available static udev library.
> 
> The test suite doesn't need the static binary so just don't build it
> with the everything or everything-test targets.
> 
> Leave the mdadm.static and install-static targets in place in case
> someone still has a use case for the static binary.
> 
> Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
> ---

Acked-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index bf126033b841..ec1f99ed5d83 100644
--- a/Makefile
+++ b/Makefile
@@ -182,9 +182,9 @@  check_rundir:
 		echo "***** or set CHECK_RUN_DIR=0"; exit 1; \
 	fi
 
-everything: all mdadm.static swap_super test_stripe raid6check \
+everything: all swap_super test_stripe raid6check \
 	mdadm.Os mdadm.O2 man
-everything-test: all mdadm.static swap_super test_stripe \
+everything-test: all swap_super test_stripe \
 	mdadm.Os mdadm.O2 man
 # mdadm.uclibc doesn't work on x86-64
 # mdadm.tcc doesn't work..