Add phony rule to just make libopencm3
Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
This commit is contained in:
parent
eeaf99974a
commit
8fcf0a4d41
6
Makefile
6
Makefile
|
@ -87,7 +87,8 @@ LDFLAGS += -L$(LDPATH) -T$(LDSCRIPT) -Map $(MAP) --gc-sections
|
|||
LDLIBS += $(LIBOPENCM3) $(LIBC) $(LIBGCC)
|
||||
|
||||
|
||||
.PHONY: firmware docs clean distclean flash flash-dfu reboot size symbols test
|
||||
.PHONY: firmware docs clean distclean flash flash-dfu reboot size symbols \
|
||||
test libopencm3-just-make
|
||||
|
||||
firmware: $(BIN) $(HEX) $(DMP) size
|
||||
docs: $(DOCS)
|
||||
|
@ -115,6 +116,9 @@ $(LIBOPENCM3):
|
|||
git submodule update libopencm3
|
||||
CFLAGS="$(CFLAGS)" $(MAKE) -C libopencm3 $(OPENCM3_MK) PREFIX=$(patsubst %,%,$(CROSS)) V=1
|
||||
|
||||
libopencm3-just-make:
|
||||
CFLAGS="$(CFLAGS)" $(MAKE) -C libopencm3 $(OPENCM3_MK) PREFIX=$(patsubst %,%,$(CROSS)) V=1
|
||||
|
||||
flashrom/flashrom:
|
||||
git submodule init
|
||||
git submodule update flashrom
|
||||
|
|
Loading…
Reference in New Issue