diff options
author | David Sterba <dsterba@suse.com> | 2015-09-07 11:46:32 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-09-07 11:46:32 +0200 |
commit | 59cc65a4e693fcb2ea868f97e89908fdf27bd713 (patch) | |
tree | aa7786c12821eb2806a6cb26b4eee7cacb3f9e80 | |
parent | 22edaa7e85571d85acda18a035fd8d923a9b4056 (diff) |
btrfs-progs: INSTALL: enhance build instructions
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | INSTALL | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -24,6 +24,10 @@ XATTR library should be provided by the standard C library or by Please note that the package names may differ according to the distribution. See https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories#Dependencies . + +Building from sources +--------------------- + To build from git sources you need to generate the configure script using the autotools: @@ -48,5 +52,28 @@ values of the respective variables. $ make EXTRA_CFLAGS=-ggdb3 +The build utilizes autotools, dependencies for generating the configure +scripts are: + +* autconf, autoheader +* automake, aclocal +* pkg-config + + +Staticly built binaries +----------------------- + +The makefiles are ready to let you build static binaries of the utilities. This +may be handy in rescue environments. Your system has to provide static version +of the libraries. + +$ make static +$ make btrfs.static +$ make btrfs-convert.static + +The resulting static binaries have the '.static' suffix, the intermediate object +files do not conflict with the normal (dynamic) build. + + References: * https://btrfs.wiki.kernel.org |