diff mbox

[3/7] ipxe: rm local config in cleanup

Message ID 1436955007-8216-4-git-send-email-kraxel@redhat.com
State New
Headers show

Commit Message

Gerd Hoffmann July 15, 2015, 10:10 a.m. UTC
ipxe build now generates empty local header files in case they are
not preset.  Let's remove them on cleanup to make sure we store a
fresh copy on the next build.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 roms/Makefile | 1 +
 1 file changed, 1 insertion(+)

Comments

Laszlo Ersek July 15, 2015, 10:58 a.m. UTC | #1
On 07/15/15 12:10, Gerd Hoffmann wrote:
> ipxe build now generates empty local header files in case they are
> not preset.

ITYM "prese[n]t". (Although, pre-set seems to make some sense as well,
so I'm not fully sure.)

> Let's remove them on cleanup to make sure we store a
> fresh copy on the next build.
> 
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
>  roms/Makefile | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/roms/Makefile b/roms/Makefile
> index 7b3f156..c0153c7 100644
> --- a/roms/Makefile
> +++ b/roms/Makefile
> @@ -153,5 +153,6 @@ clean:
>  	$(MAKE) -C sgabios clean
>  	rm -f sgabios/.depend
>  	$(MAKE) -C ipxe/src veryclean
> +	(cd ipxe; rm -f src/config/local/*.h)
>  	$(MAKE) -C SLOF clean
>  	rm -rf u-boot/build.e500
> 

I'll let you decide about the (non-)typo.

Acked-by: Laszlo Ersek <lersek@redhat.com>
diff mbox

Patch

diff --git a/roms/Makefile b/roms/Makefile
index 7b3f156..c0153c7 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -153,5 +153,6 @@  clean:
 	$(MAKE) -C sgabios clean
 	rm -f sgabios/.depend
 	$(MAKE) -C ipxe/src veryclean
+	(cd ipxe; rm -f src/config/local/*.h)
 	$(MAKE) -C SLOF clean
 	rm -rf u-boot/build.e500