summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHans van Kranenburg <hans@knorrie.org>2017-12-23 21:52:37 +0100
committerDavid Sterba <dsterba@suse.com>2018-01-08 18:18:29 +0100
commit9303f1dd1b0bb2ba6562d62f3c70a0873d54c4a6 (patch)
treeef139f5e84b37424b9472fb46b2bf09639a6c6d0 /Makefile
parentfab56e8c8460170c9316e86f040352c6e5f8c4b0 (diff)
btrfs-progs: Fix progs_extra build dependencies
The Makefile does not have a dependency path that builds dependencies for tools listed in progs_extra. E.g. doing make btrfs-show-super in a clean build environment results in: gcc: error: cmds-inspect-dump-super.o: No such file or directory Makefile:389: recipe for target 'btrfs-show-super' failed Signed-off-by: Hans van Kranenburg <hans@knorrie.org> Signed-off-by: Hugo Mills <hugo@carfax.org.uk> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 30a0ee2..390b138 100644
--- a/Makefile
+++ b/Makefile
@@ -220,7 +220,7 @@ cmds_restore_cflags = -DBTRFSRESTORE_ZSTD=$(BTRFSRESTORE_ZSTD)
CHECKER_FLAGS += $(btrfs_convert_cflags)
# collect values of the variables above
-standalone_deps = $(foreach dep,$(patsubst %,%_objects,$(subst -,_,$(filter btrfs-%, $(progs)))),$($(dep)))
+standalone_deps = $(foreach dep,$(patsubst %,%_objects,$(subst -,_,$(filter btrfs-%, $(progs) $(progs_extra)))),$($(dep)))
SUBDIRS =
BUILDDIRS = $(patsubst %,build-%,$(SUBDIRS))