Skip to content
Permalink
Browse files

Makefile: debug-files: fix dependency and don't fail on missing files

  • Loading branch information...
SvenRoederer committed Nov 1, 2019
1 parent eb82917 commit 286bc19a4a9ae2c46097458f2d2a83acf38001aa
Showing with 3 additions and 3 deletions.
  1. +3 −3 Makefile
@@ -270,10 +270,10 @@ ifdef IS_BUILDBOT
endif
touch $@

debug-files: gluon-imagebuilder build-logs
debug-files: gluon-imagebuilder build-logs $(GLUON_TMPDIR)/images_$(GLUON_TARGET).txt
[ -d $(FW_TARGET_DIR)/debug ] || mkdir -p $(FW_TARGET_DIR)/debug
cp $(OPENWRT_DIR)/.config $(FW_TARGET_DIR)/debug/openwrt.config
cp $(GLUON_TMPDIR)/images_* $(FW_TARGET_DIR)/debug/
cp $(OPENWRT_DIR)/.config $(FW_TARGET_DIR)/debug/openwrt.config || true
cp $(GLUON_TMPDIR)/images_* $(FW_TARGET_DIR)/debug/ || true

# fill firmwares-directory with:
# * imagebuilder file

0 comments on commit 286bc19

Please sign in to comment.
You can’t perform that action at this time.