diff mbox

[5/7] ipxe: add qemu branding

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

Commit Message

Gerd Hoffmann July 15, 2015, 10:10 a.m. UTC
Apply qemu-project.org branding, so the official builds can easily be
identified in the banner.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 roms/Makefile               | 4 ++--
 roms/config.ipxe.branding.h | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 roms/config.ipxe.branding.h

Comments

Laszlo Ersek July 15, 2015, 11:02 a.m. UTC | #1
On 07/15/15 12:10, Gerd Hoffmann wrote:
> Apply qemu-project.org branding, so the official builds can easily be
> identified in the banner.
> 
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
>  roms/Makefile               | 4 ++--
>  roms/config.ipxe.branding.h | 2 ++
>  2 files changed, 4 insertions(+), 2 deletions(-)
>  create mode 100644 roms/config.ipxe.branding.h
> 
> diff --git a/roms/Makefile b/roms/Makefile
> index c0153c7..4971f6b 100644
> --- a/roms/Makefile
> +++ b/roms/Makefile
> @@ -120,12 +120,12 @@ efi-rom-%: build-pxe-roms build-efi-roms
>  		-ec ipxe/src/bin-x86_64-efi/$(VID)$(DID).efidrv \
>  		-o ../pc-bios/efi-$*.rom
>  
> -build-pxe-roms: ipxe/src/config/local/general.h
> +build-pxe-roms: ipxe/src/config/local/general.h ipxe/src/config/local/branding.h
>  	$(MAKE) -C ipxe/src GITVERSION="" \
>  		CROSS_COMPILE=$(x86_64_cross_prefix) \
>  		$(patsubst %,bin/%.rom,$(pxerom_targets))
>  
> -build-efi-roms: build-pxe-roms ipxe/src/config/local/general.h
> +build-efi-roms: build-pxe-roms ipxe/src/config/local/general.h ipxe/src/config/local/branding.h
>  	$(MAKE) -C ipxe/src GITVERSION="" \
>  		CROSS_COMPILE=$(x86_64_cross_prefix) \
>  		$(patsubst %,bin-i386-efi/%.efidrv,$(pxerom_targets)) \
> diff --git a/roms/config.ipxe.branding.h b/roms/config.ipxe.branding.h
> new file mode 100644
> index 0000000..324995e
> --- /dev/null
> +++ b/roms/config.ipxe.branding.h
> @@ -0,0 +1,2 @@
> +#undef PRODUCT_NAME
> +#define PRODUCT_NAME "iPXE for qemu-project.org"
> 

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

Patch

diff --git a/roms/Makefile b/roms/Makefile
index c0153c7..4971f6b 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -120,12 +120,12 @@  efi-rom-%: build-pxe-roms build-efi-roms
 		-ec ipxe/src/bin-x86_64-efi/$(VID)$(DID).efidrv \
 		-o ../pc-bios/efi-$*.rom
 
-build-pxe-roms: ipxe/src/config/local/general.h
+build-pxe-roms: ipxe/src/config/local/general.h ipxe/src/config/local/branding.h
 	$(MAKE) -C ipxe/src GITVERSION="" \
 		CROSS_COMPILE=$(x86_64_cross_prefix) \
 		$(patsubst %,bin/%.rom,$(pxerom_targets))
 
-build-efi-roms: build-pxe-roms ipxe/src/config/local/general.h
+build-efi-roms: build-pxe-roms ipxe/src/config/local/general.h ipxe/src/config/local/branding.h
 	$(MAKE) -C ipxe/src GITVERSION="" \
 		CROSS_COMPILE=$(x86_64_cross_prefix) \
 		$(patsubst %,bin-i386-efi/%.efidrv,$(pxerom_targets)) \
diff --git a/roms/config.ipxe.branding.h b/roms/config.ipxe.branding.h
new file mode 100644
index 0000000..324995e
--- /dev/null
+++ b/roms/config.ipxe.branding.h
@@ -0,0 +1,2 @@ 
+#undef PRODUCT_NAME
+#define PRODUCT_NAME "iPXE for qemu-project.org"