Introduce -G option that forces gem5 rebuild in addition to -g.
This commit is contained in:
Ciro Santilli
2018-03-24 22:11:57 +00:00
parent 39ad57a309
commit baccf8ff07
3 changed files with 59 additions and 50 deletions

View File

@@ -4,6 +4,8 @@
./build [OPTIONS] [-- EXTRA_MAKE_ARGS]
....
== Configuration options
[options="header"]
|===
|Name |Argument name | Description
@@ -14,25 +16,30 @@
Example: `-B 'BR2_TARGET_ROOTFS_EXT2_SIZE="500M"'`
|`-c` |`BR2_FILE` | Also use the given Buildroot configuration fragment file.
Pass multiple times to use multiple fragment files.
|`-C` | | Skip the Buildroot configuration. Saves a few seconds, but requires
you to know what you are doing :-)
|`-g` | | Enable gem5 build. You also need to use `-- gem5-reconfigure`
to rebuild gem5 after the initial build.
|`-C` | | Skip the Buildroot configuration. Saves a few seconds,
but requires you to know what you are doing :-)
|`-g` | | Enable gem5 build and disable QEMU build. You also need
to use `-G` or `-- gem5-reconfigure` to rebuild gem5
after the initial build.
|`-h` | | Show this help message.
|`-I` | | Enable initramfs for the current build.
|`-i` | | Enable initrd for the current build.
|`-K` |`KERNEL_CONFIG_FILE` | Use `KERNEL_CONFIG_FILE` as the exact Linux
kernel configuration. Ignore the default `kernel_config_fragment`.
You also need to `touch KERNEL_CONFIG_FILE` if that file is
older than the latest build.
|`-k` | | Reconfigure and rebuild the kernel module package.
Shortcut for `-- kernel_module-reconfigure`.
|`-l` | | Reconfigure and rebuild the linux kernel.
Shortcut for `-- linux-reconfigure`.
|`-K` |`KERNEL_CONFIG_FILE` | Use `KERNEL_CONFIG_FILE` as the exact Linux kernel
configuration. Ignore the default `kernel_config_fragment`.
|`-p` | | Pass extra arguments to the `rootfs_post_build_script`.
|`-q` | | Reconfigure and rebuild QEMU.
Shortcut for `-- host-qemu-reconfigure`.
|`-S` | | Don't build QEMU with SDL support.
Graphics such as X11 won't work, only the terminal.
|`-v` | | Do a verbose build.
|===
== Build target options
[options="header"]
|===
|Name |Forces rebuild of |Extra actions
|`-G` |gem5 |Implies `-g`.
|`-k` |Kernel modules |
|`-l` |Linux kernel |Touches kernel configuration files to overcome:
https://stackoverflow.com/questions/49260466/why-when-i-change-br2-linux-kernel-custom-config-file-and-run-make-linux-reconfi
|`-q` |QEMU |
|===