Skip to content

Commit d5747cc

Browse files
committed
Fix problem with "make clean" after a fresh checkout.
1 parent 58a933d commit d5747cc

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Makefile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ endif
6262
# Output directors to store intermediate compiled files
6363
# relative to the project directory
6464
BUILD_BASE = build
65-
FW_BASE = firmware
6665

6766
# Base directory for the compiler. Needs a / at the end; if not set it'll use the tools that are in
6867
# the PATH.
@@ -232,7 +231,7 @@ endef
232231

233232
.PHONY: all checkdirs clean libesphttpd default-tgt
234233

235-
all: checkdirs $(TARGET_OUT) $(FW_BASE)
234+
all: checkdirs $(TARGET_OUT)
236235

237236
libesphttpd/Makefile:
238237
$(Q) echo "No libesphttpd submodule found. Using git to fetch it..."
@@ -253,10 +252,6 @@ $(BUILD_DIR):
253252

254253
clean:
255254
$(Q) make -C libesphttpd clean
256-
$(Q) rm -f $(APP_AR)
257-
$(Q) rm -f $(TARGET_OUT)
258-
$(Q) find $(BUILD_BASE) -type f | xargs rm -f
259-
$(Q) rm -rf $(FW_BASE)
255+
$(Q) rm -rf $(BUILD_BASE)
260256

261-
262257
$(foreach bdir,$(BUILD_DIR),$(eval $(call compile-objects,$(bdir))))

0 commit comments

Comments
 (0)