This repository has been archived by the owner on Dec 14, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: remove dependencies from various install recipes, to reduce th…
…e amount of double (and triple) recompile duing build
- Loading branch information
Showing
1 changed file
with
38 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
01c62f7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have extensive knowledge reference how MAKE files are processed. I'm curious as to why you did not remove all the other code after -install: in the rest of the Makefile?
example:
ntfs-3g-install: ntfs-3g
ntfs-3g remains. Why is that?
01c62f7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of the build rules are broken, and would result in the same component being recompiled 2-3 times when doing a complete build, which significantly increases the build time for a firmware.
I didn't remove it systematically for everything, only for components where it mattered the most. Tor and netatalk for instance would each be recompiled three times per build.
ntfs-3g doesn't matter, because it's not used by Asuswrt-Merlin anyway.