Add default operation to Makefile: prepare, build and flash

This commit is contained in:
Renze Nicolai 2022-05-12 22:42:35 +02:00
parent 0986203a68
commit 66d9be373e

View file

@ -6,6 +6,8 @@ SHELL := /usr/bin/env bash
.PHONY: prepare clean build flash erase monitor menuconfig image qemu install .PHONY: prepare clean build flash erase monitor menuconfig image qemu install
all: prepare build flash
prepare: prepare:
git submodule update --init --recursive git submodule update --init --recursive
cd esp-idf; bash install.sh cd esp-idf; bash install.sh