Remove the post-build file renaming (#600)

This commit is contained in:
Tim Wilkinson 2022-12-28 08:46:25 -08:00 committed by GitHub
parent 9293de42a7
commit ea0c057eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 15 deletions

View File

@ -152,21 +152,6 @@ compile: stamp-clean-compiled .stamp-compiled
-name "*kernel.bin" -o -name sha256sums -o -name "*.buildinfo" -o -name "*.json" \) \
-print \)`; do rm $$FILE; \
done;
for FILE in `find $(TOP_DIR)/firmware/targets/$(MAINTARGET)/$(SUBTARGET) -type f -a \
\( -name "*ath79-generic-*" \
-o -name "*ath79-tiny-*" \
-o -name "*ath79-mikrotik-*" \
-o -name "*ath79-nand-*" \
-o -name "*ipq40xx-mikrotik*squashfs*" \
\) -print`; do \
NEWNAME="$${FILE/generic-/}"; \
NEWNAME="$${NEWNAME/squashfs-/}"; \
NEWNAME="$${NEWNAME/-nand-glinet/}"; \
NEWNAME="$${NEWNAME/-nand/}"; \
NEWNAME="$${NEWNAME/-ath79-mikrotik/}"; \
NEWNAME="$${NEWNAME/_routerboard/}"; \
[ "$$FILE" = "$$NEWNAME" ] || mv "$$FILE" "$$NEWNAME"; \
done;
$(TOP_DIR)/scripts/tests-postbuild.sh
$(TOP_DIR)/firmware: