From ea0c057eebd1c294d860ae52aad89ca0214b2889 Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Wed, 28 Dec 2022 08:46:25 -0800 Subject: [PATCH] Remove the post-build file renaming (#600) --- Makefile | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Makefile b/Makefile index 52261985..a193462e 100644 --- a/Makefile +++ b/Makefile @@ -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: