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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 12 Aug 2012 15:24:16 -0400 Mike Frysinger <vapier@xxxxxxxxxx> wrote:

> This lets people run `make mdassemble` and get a sane build by default.
> 
> Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
> ---
>  .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

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux