-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib/rootfs-builder: Support multiple architectures
The new Make handling is using: * Default values [1] for ARCHES ?= amd64 * Substitution references [2] for $(ARCHES:%=rootfs-%.tar.gz). * % [3] and $* [4] for pattern rules like rootfs-%.tar.gz. * .PRECIOUS [5] to avoid errors like: rm downloads/stage3-amd64-current.tar.bz2 rootfs/amd64/bin/busyboxmake: unlink: rootfs/amd64/bin/busybox: Permission denied rootfs/amd64/bin/echomake: unlink: rootfs/amd64/bin/echo: Permission denied when Make completes. Where Gentoo's architecture names don't match, the per-platform tarballs should be renamed to use the Go names [6] when copying into the root project directory. [1]: https://www.gnu.org/software/make/manual/html_node/Setting.html#Setting [2]: https://www.gnu.org/software/make/manual/html_node/Substitution-Refs.html [3]: https://www.gnu.org/software/make/manual/html_node/Pattern-Rules.html [4]: https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html [5]: https://www.gnu.org/software/make/manual/html_node/Special-Targets.html#index-precious-targets [6]: https://golang.org/doc/install/source#introduction Signed-off-by: W. Trevor King <[email protected]>
- Loading branch information
Showing
4 changed files
with
75 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.gz |
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
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
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