repeat character command

This commit is contained in:
2017-09-11 00:53:42 +02:00
parent 4c2421121f
commit b02aebf8c2
5 changed files with 97 additions and 52 deletions
+8 -3
View File
@@ -152,7 +152,6 @@ define maplookup
$(patsubst $(strip $(1)):%,%,$(filter $(strip $(1)):%,$(2)))
endef
#Include options and target specific to the OUTPUT_TYPE
include Makefile.$(OUTPUT_TYPE)
@@ -203,13 +202,16 @@ espsize:
espmac:
$(Q) esptool --port /dev/ttyUSB0 read_mac
all: checkdirs parser $(TARGET_OUT) $(FW_BASE)
all: checkdirs
$(Q) make actual_all -j4 -B
actual_all: parser $(TARGET_OUT) $(FW_BASE)
libesphttpd/Makefile:
$(Q) [[ -e "libesphttpd/Makefile" ]] || echo -e "\e[31mlibesphttpd submodule missing.\nIf build fails, run \"git submodule init\" and \"git submodule update\".\e[0m"
libesphttpd: libesphttpd/Makefile
$(Q) make -C libesphttpd USE_OPENSDK=$(USE_OPENSDK) SERVERNAME_PREFIX="ESPTerm "
$(Q) make -C libesphttpd USE_OPENSDK=$(USE_OPENSDK) SERVERNAME_PREFIX="ESPTerm " -j4
$(APP_AR): libesphttpd $(OBJ)
$(vecho) "AR $@"
@@ -217,6 +219,9 @@ $(APP_AR): libesphttpd $(OBJ)
checkdirs: $(BUILD_DIR) html/favicon.ico
html/favicon.ico:
$(Q) [[ -e "html/favicon.ico" ]] || ./build_web.sh
$(BUILD_DIR):
$(Q) mkdir -p $@