OSDN Git Service

ipxe: don't override GITVERSION
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 9 Apr 2015 09:37:15 +0000 (11:37 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 3 Sep 2015 12:46:24 +0000 (14:46 +0200)
We had build problems due to the git version checking in the ipxe build
system in the past.  Don't remember the details, but the problem seems
to be gone now, so lets remove the workaround.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
[ most likely ipxe commit 6153c09c41034250408f3596555fcaae715da46c:
  [build] Set GITVERSION only if there is a git repository ]

Reviewed-by: Laszlo Ersek <lersek@redhat.com>
roms/Makefile

index 7b3f156..eb13836 100644 (file)
@@ -121,12 +121,12 @@ efi-rom-%: build-pxe-roms build-efi-roms
                -o ../pc-bios/efi-$*.rom
 
 build-pxe-roms: ipxe/src/config/local/general.h
-       $(MAKE) -C ipxe/src GITVERSION="" \
+       $(MAKE) -C ipxe/src \
                CROSS_COMPILE=$(x86_64_cross_prefix) \
                $(patsubst %,bin/%.rom,$(pxerom_targets))
 
 build-efi-roms: build-pxe-roms ipxe/src/config/local/general.h
-       $(MAKE) -C ipxe/src GITVERSION="" \
+       $(MAKE) -C ipxe/src \
                CROSS_COMPILE=$(x86_64_cross_prefix) \
                $(patsubst %,bin-i386-efi/%.efidrv,$(pxerom_targets)) \
                $(patsubst %,bin-x86_64-efi/%.efidrv,$(pxerom_targets))