Skip to content
Permalink
Browse files

Makefile: debug-files should also preserve the openwrt build-logs

  • Loading branch information...
SvenRoederer committed Nov 1, 2019
1 parent 8ea8f9c commit eb829173861fe24da092954ec25bd12adb60ba9f
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
@@ -270,7 +270,7 @@ ifdef IS_BUILDBOT
endif
touch $@

debug-files: gluon-imagebuilder
debug-files: gluon-imagebuilder build-logs
[ -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/
@@ -331,7 +331,7 @@ $(VERSION_FILE): .stamp-prepared
echo "Feed $$FEED: repository from $$FEED_GIT_REPO, git branch \"$$FEED_GIT_BRANCH_ESC\", revision $$FEED_REVISION" >> $(VERSION_FILE); \
done

build-logs: .stamp-compiled
build-logs: .stamp-gluon-compiled_$(TARGET)
mkdir -p $(FW_TARGET_DIR)
[ -d $(OPENWRT_DIR)/logs ] && mv $(OPENWRT_DIR)/logs $(FW_TARGET_DIR)
touch .stamp-$@

0 comments on commit eb82917

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