Build only the tools by default

This commit is contained in:
Ondrej Jirman 2022-02-02 08:36:18 +01:00
parent 024d52263e
commit 2da55b7d62
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,9 @@ OUT ?= build/
CFLAGS ?= -O2 -g0
CFLAGS += -DVERSION="\"$(VERSION)\"" -I. -I$(OUT) -Wall -Wno-unused-variable -Wno-unused-function
all: $(OUT)ppkb-i2c-inputd $(OUT)ppkb-usb-flasher $(OUT)ppkb-usb-debugger $(OUT)fw-stock.bin $(OUT)ppkb-i2c-debugger $(OUT)ppkb-i2c-charger-ctl $(OUT)ppkb-i2c-flasher $(OUT)ppkb-i2c-selftest
tools: $(OUT)ppkb-i2c-inputd $(OUT)ppkb-usb-flasher $(OUT)ppkb-usb-debugger $(OUT)ppkb-i2c-debugger $(OUT)ppkb-i2c-charger-ctl $(OUT)ppkb-i2c-flasher $(OUT)ppkb-i2c-selftest
all: tools $(OUT)fw-stock.bin
$(OUT)ppkb-usb-flasher: usb-flasher.c common.c
@mkdir -p $(OUT)