Thread (4 messages) 4 messages, 2 authors, 2012-08-12

Re: [PATCH 2/2] mdassemble: split dietlibc logic into dedicated target

flat view

From: NeilBrown <hidden>
Date: 2012-08-12 22:13:22

On Sun, 12 Aug 2012 15:24:16 -0400 Mike Frysinger [off-list ref] wrote:
quoted hunk ↗ jump to hunk
This lets people run `make mdassemble` and get a sane build by default.

Signed-off-by: Mike Frysinger <redacted>
---
 .gitignore |    1 +
 Makefile   |    3 +++
 2 files changed, 4 insertions(+)
diff --git a/.gitignore b/.gitignore
index 7200741..fcbe069 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@
 /mdadm
 /mdadm.8
 /mdadm.udeb
+/mdassemble
 /mdmon
 /swap_super
 /test_stripe
diff --git a/Makefile b/Makefile
index 704b374..72f609e 100644
--- a/Makefile
+++ b/Makefile
@@ -180,6 +180,9 @@ raid6check : raid6check.o mdadm.h $(CHECK_OBJS)
 	$(CC) $(CXFLAGS) $(LDFLAGS) -o raid6check raid6check.o $(CHECK_OBJS)
 
 mdassemble : $(ASSEMBLE_SRCS) $(INCL)
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(ASSEMBLE_FLAGS) -o mdassemble $(ASSEMBLE_SRCS)  $(STATICSRC)
+
+mdassemble.diet : $(ASSEMBLE_SRCS) $(INCL)
 	rm -f $(OBJS)
 	$(DIET_GCC) $(ASSEMBLE_FLAGS) -o mdassemble $(ASSEMBLE_SRCS)  $(STATICSRC)
 

Applied, thanks.
NeilBrown

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help