aboutsummaryrefslogtreecommitdiff
path: root/bin/kbuild
Commit message (Collapse)AuthorAgeFilesLines
* kbuild: Be more explicit on --skip-* flagsMiquel Sabaté Solà2025-10-071-6/+6
| | | | | | | | | I always end up forgetting which is which, and I have to turn into '-h/--help'. Hence, instead of providing a "clever" short version of each flag, let's scrap that and use a more explicit name for each --skip-* flag. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* kbuild: Adapt the uninstall.sh script to profilesMiquel Sabaté Solà2025-10-071-11/+22
| | | | | | | | | Moreover, some subtle fixes have been added, like using 'update-bootloader' instead of 'update-grub' in SUSE-like systems, and having -f in 'rm' commands so uninstall.sh can be run safely multiple times without erroring out. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* kbuild: Don't check on the profile before helpMiquel Sabaté Solà2025-10-071-14/+14
| | | | | | | | If the user asked for '-h/--help', the profile is irrelevant. Hence, the right order is: first check if '-h/--help' was provided, then the profile. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* bin: Add 'profile' into kbuildMiquel Sabaté Solà2025-10-031-68/+103
| | | | | | | This allows this script to be more specific for the resulting 'install.sh', as the current situation wasn't quite working. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* bin: Update 'kbuild' to also handle UbuntuMiquel Sabaté Solà2025-09-161-6/+55
| | | | | | | Relevant for my Framework RISC-V laptop, even if I need to get my hands dirty a bit more with it. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* kbuild: Simplify boot parametersMiquel Sabaté Solà2024-11-141-2/+2
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: Fix typoMiquel Sabaté Solà2024-10-111-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: Remove the initrd image on uninstall.shMiquel Sabaté Solà2024-09-131-1/+2
| | | | | | | | The initrd image is created and installed dynamically via install.sh. Hence, this is not picked up by the files.txt list and so we need to remove it manually. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: Simplify handling of .config fileMiquel Sabaté Solà2024-09-061-34/+14
| | | | | | Instead of prompting the user, just do the right thing. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: make install should be silentMiquel Sabaté Solà2024-09-031-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: Use `make install` instead of manual copyMiquel Sabaté Solà2024-08-261-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: add a -h/--help commandMiquel Sabaté Solà2024-08-241-1/+22
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: add --no-installMiquel Sabaté Solà2024-08-201-33/+43
| | | | | | | This way the heavy process of creating a tarball can be skipped on silly builds. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: add the `-s/--skip-build` optionMiquel Sabaté Solà2024-08-191-33/+60
| | | | | | | This allows me to skip the defconfig/menuconfig over and over again when writing a patch. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: append lines for extboot by defaultMiquel Sabaté Solà2024-08-131-2/+38
| | | | | | | | | Usually the configuration for extboot is just the same. For that, before starting the editor for it, append the configuration that I'd most likely be using. Then the editor session might just be deleting the old lines and removing the warning comment. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: provide uninstall.sh and files.txt filesMiquel Sabaté Solà2024-08-071-1/+29
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* kbuild: stylingMiquel Sabaté Solà2024-08-071-4/+4
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* bin: add a script to ease up linux cross compilingMiquel Sabaté Solà2024-07-281-0/+176
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>