mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
readme: make local file links work relative to out/
Thanks to awesome help at: https://github.com/asciidoctor/asciidoctor/issues/3324
This commit is contained in:
11
README.adoc
11
README.adoc
@@ -14880,20 +14880,21 @@ Source: link:build-doc[]
|
||||
When running link:build-doc[], we do the following checks:
|
||||
|
||||
* `<<>>` inner links are not broken
|
||||
* `+link:somefile[]+` links point to paths that exist via <<asciidoctor-extract-links>>. Upstream wontfix at: https://github.com/asciidoctor/asciidoctor/issues/3210
|
||||
* `+link:somefile[]+` links point to paths that exist via <<asciidoctor-extract-link-targets>>. Upstream wontfix at: https://github.com/asciidoctor/asciidoctor/issues/3210
|
||||
|
||||
The scripts prints what you have to fix and exits with an error status if there are any errors.
|
||||
|
||||
===== asciidoctor-extract-links
|
||||
[[asciidoctor-extract-link-targets]]
|
||||
===== asciidoctor/extract-link-targets
|
||||
|
||||
Documentation for link:asciidoctor-extract-links[]
|
||||
Documentation for link:asciidoctor/extract-link-targets[]
|
||||
|
||||
Extract link targets from Asciidoctor document.
|
||||
|
||||
Usage:
|
||||
|
||||
....
|
||||
./asciidoctor-extract-links README.adoc
|
||||
./asciidoctor/extract-link-targets README.adoc
|
||||
....
|
||||
|
||||
Output: one link target per line.
|
||||
@@ -14930,7 +14931,7 @@ ls "$(./getvar buildroot_build_dir)"
|
||||
|
||||
Note that host tools like QEMU and gem5 store all archs in a single directory to factor out build objects, so cleaning one arch will clean all of them.
|
||||
|
||||
To only nuke only one Buildroot package, we can use the link:https://buildroot.org/downloads/manual/manual.html#pkg-build-steps[]`-dirclean`] Buildroot target:
|
||||
To only nuke only one Buildroot package, we can use the link:https://buildroot.org/downloads/manual/manual.html#pkg-build-steps[`-dirclean`] Buildroot target:
|
||||
|
||||
....
|
||||
./build-buildroot --no-all -- <package-name>-dirclean
|
||||
|
||||
Reference in New Issue
Block a user