@@ -167,7 +167,7 @@ binaries: limactl helpers guestagents \
167
167
# ###############################################################################
168
168
# _output/bin
169
169
.PHONY : limactl lima helpers
170
- limactl : _output/bin/limactl$(exe ) external-drivers lima
170
+ limactl : _output/bin/limactl$(exe ) lima
171
171
172
172
# ## Listing Dependencies
173
173
@@ -242,13 +242,13 @@ endif
242
242
ENVS__output/bin/limactl$(exe) = CGO_ENABLED=1 GOOS="$(GOOS ) " GOARCH="$(GOARCH ) " CC="$(CC ) "
243
243
244
244
LIMACTL_DRIVER_TAGS :=
245
- ifneq (,$(findstring vz,$(EXTERNAL_DRIVERS ) ) )
245
+ ifneq (,$(findstring vz,$(ADDITIONAL_DRIVERS ) ) )
246
246
LIMACTL_DRIVER_TAGS += external_vz
247
247
endif
248
- ifneq (,$(findstring qemu,$(EXTERNAL_DRIVERS ) ) )
248
+ ifneq (,$(findstring qemu,$(ADDITIONAL_DRIVERS ) ) )
249
249
LIMACTL_DRIVER_TAGS += external_qemu
250
250
endif
251
- ifneq (,$(findstring wsl2,$(EXTERNAL_DRIVERS ) ) )
251
+ ifneq (,$(findstring wsl2,$(ADDITIONAL_DRIVERS ) ) )
252
252
LIMACTL_DRIVER_TAGS += external_wsl2
253
253
endif
254
254
@@ -268,18 +268,16 @@ endif
268
268
269
269
DRIVER_INSTALL_DIR := _output/libexec/lima
270
270
271
- .PHONY : external-drivers
272
- external-drivers :
273
- ifneq ($(EXTERNAL_DRIVERS ) ,)
271
+ .PHONY : additional-drivers
272
+ additional-drivers :
274
273
@mkdir -p $(DRIVER_INSTALL_DIR )
275
- @for drv in $(EXTERNAL_DRIVERS ); do \
274
+ @for drv in $(ADDITIONAL_DRIVERS ) ; do \
276
275
echo " Building $$ drv as external" ; \
277
276
$(GO_BUILD ) -o $(DRIVER_INSTALL_DIR ) /lima-driver-$$ drv ./cmd/lima-driver-$$ drv; \
278
277
if [ " $$ drv" = " vz" ]; then \
279
278
codesign -f -v --entitlements vz.entitlements -s - $(DRIVER_INSTALL_DIR)/lima-driver-vz; \
280
279
fi; \
281
280
done
282
- endif
283
281
284
282
LIMA_CMDS = $(sort lima lima$(bat ) ) # $(sort ...) deduplicates the list
285
283
LIMA_DEPS = $(addprefix _output/bin/,$(LIMA_CMDS ) )
0 commit comments