mirror of https://github.com/aredn/aredn.git
Remove the post-build file renaming (#600)
This commit is contained in:
parent
9293de42a7
commit
ea0c057eeb
15
Makefile
15
Makefile
|
@ -152,21 +152,6 @@ compile: stamp-clean-compiled .stamp-compiled
|
||||||
-name "*kernel.bin" -o -name sha256sums -o -name "*.buildinfo" -o -name "*.json" \) \
|
-name "*kernel.bin" -o -name sha256sums -o -name "*.buildinfo" -o -name "*.json" \) \
|
||||||
-print \)`; do rm $$FILE; \
|
-print \)`; do rm $$FILE; \
|
||||||
done;
|
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)/scripts/tests-postbuild.sh
|
||||||
|
|
||||||
$(TOP_DIR)/firmware:
|
$(TOP_DIR)/firmware:
|
||||||
|
|
Loading…
Reference in New Issue