Skip to content

Commit

Permalink
FIXME: toolchain/Makefile: do not ever remove any toolchain again
Browse files Browse the repository at this point in the history
Something is really not working as expected

Signed-off-by: Petr Štetiar <[email protected]>
  • Loading branch information
ynezz authored and aparcar committed Mar 29, 2022
1 parent 7095a8e commit 544020a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions toolchain/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,6 @@ ifneq ($(ARCH),)
endif
endif

ifdef CONFIG_BUILDBOT
ifneq ($(wildcard $(TOPDIR)/.git),)
$(TOOLCHAIN_DIR)/stamp/.ver_check: $(TMP_DIR)/.build
cd "$(TOPDIR)"; git log --format=%h -1 toolchain > $(TMP_DIR)/.ver_check
cmp -s $(TMP_DIR)/.ver_check $@ || { \
rm -rf $(BUILD_DIR) $(STAGING_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR_TOOLCHAIN); \
mkdir -p $(TOOLCHAIN_DIR)/stamp; \
mv $(TMP_DIR)/.ver_check $@; \
}

$(TOOLCHAIN_DIR)/info.mk $(STAGING_DIR)/.prepared: $(TOOLCHAIN_DIR)/stamp/.ver_check
endif
endif

# prerequisites for the individual targets
$(curdir)/ := .config prereq
$(curdir)//compile = $(STAGING_DIR)/.prepared $(TOOLCHAIN_DIR)/info.mk $(tools/stamp-compile)
Expand Down

0 comments on commit 544020a

Please sign in to comment.