Skip to contentSkip to conversation

bcachefs-tools: make 'all' the default Makefile goal

PATCH Applied Tero Roponen 2 participants 2 messages Dec 8, 2023 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bcachefs-tools: make 'all' the default Makefile goal

"fsck/bcachefsck_all:" coming before "all:" in the Makefile causes the bcachefs binary not being built by default. Fix this by explicitly setting the .DEFAULT_GOAL=all.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +1 -0
index a7926f4..177ee45 100644
@@ -4,6 +4,7 @@ PREFIX?=/usr/local
 PKG_CONFIG?=pkg-config
 INSTALL=install
 LN=ln
+.DEFAULT_GOAL=all
 
 ifeq ("$(origin V)", "command line")
   BUILD_VERBOSE = $(V)
Signature · 1 line
2.43.0
#1 lore raw
Quoted 5 lines · Tero Roponen

"fsck/bcachefsck_all:" coming before "all:" in the Makefile causes the bcachefs binary not being built by default. Fix this by explicitly setting the .DEFAULT_GOAL=all.

Thanks! Applied.