[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] roms: Add a 'make help' target alias
From: |
Laszlo Ersek |
Subject: |
Re: [PATCH] roms: Add a 'make help' target alias |
Date: |
Tue, 24 Sep 2019 17:55:27 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 09/20/19 19:11, Philippe Mathieu-Daudé wrote:
> Various C projects provide a 'make help' target. Our root directory
> does so. The roms/ directory lacks a such rule, but already displays
> a help output when the default target is called.
> Add a 'help' target aliased to the default one, to avoid:
>
> $ make -C roms help
> make: *** No rule to make target 'help'. Stop.
>
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> roms/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/roms/Makefile b/roms/Makefile
> index 6cf07d3b44..3ffd13cc7e 100644
> --- a/roms/Makefile
> +++ b/roms/Makefile
> @@ -51,7 +51,7 @@ SEABIOS_EXTRAVERSION="-prebuilt.qemu.org"
> #
> EDK2_EFIROM = edk2/BaseTools/Source/C/bin/EfiRom
>
> -default:
> +default help:
> @echo "nothing is build by default"
> @echo "available build targets:"
> @echo " bios -- update bios.bin (seabios)"
>
How about we just print: "help yourself"?
Just kidding. :P
Reviewed-by: Laszlo Ersek <address@hidden>
Thanks!
Laszlo