Re: [PATCH] btrfs-progs: add Makefile rule for static build of btrfs-find-root

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

 



On Tue, Mar 12, 2013 at 03:44:11PM +0000, Hugo Mills wrote:
> From: Hugo Mills <h.r.mills@xxxxxxxxxxxxx>
> 
> btrfs-find-root isn't yet integrated into the main btrfs tool, and is
> an important recovery tool, so it deserves to be built as a static
> binary.

Thanks, I'll add this now as a separate target, though find-root might
end up merged into 'btrfs' eventually.

> +btrfs-find-root.static: $(static_objects) $(libs) find-root.static.o

I've noticed that the (newly added) mkfs.btrfs.static target does not
depend on $(libs) and this is correct, we don't need $(libs) for .static
targets.  I'll fix both btrfs.static and find-root here.

> +	@echo "    [LD]     $@"
> +	$(Q)$(CC) $(STATIC_CFLAGS) -o btrfs-find-root.static find-root.static.o $(static_objects) $(STATIC_LDFLAGS) $(STATIC_LIBS)
> +
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux