mirror of
https://git.proxmox.com/git/pve-edk2-firmware
synced 2025-10-04 05:11:11 +00:00
buildsys: inline getting git revision
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
871a8ed305
commit
fa632d48a5
4
Makefile
4
Makefile
@ -6,8 +6,6 @@ SRCDIR=edk2
|
||||
BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM)
|
||||
ORIG_SRC_TAR=$(PACKAGE)_$(DEB_VERSION_UPSTREAM).orig.tar.gz
|
||||
|
||||
GITVERSION:=$(shell git rev-parse HEAD)
|
||||
|
||||
DEB=$(PACKAGE)_$(DEB_VERSION)_all.deb
|
||||
DSC=$(PACKAGE)_$(DEB_VERSION).dsc
|
||||
|
||||
@ -19,7 +17,7 @@ $(BUILDDIR): $(SRCDIR)/Readme.md
|
||||
cp -rpa $(SRCDIR) $@.tmp
|
||||
rm -rf $@.tmp/ArmPkg/Library/GccLto/*.a
|
||||
cp -a debian $@.tmp
|
||||
echo "git clone git://git.proxmox.com/git/pve-edk2-firmware.git\\ngit checkout $(GITVERSION)" > $@.tmp/debian/SOURCE
|
||||
echo "git clone git://git.proxmox.com/git/pve-edk2-firmware.git\\ngit checkout $(shell git rev-parse HEAD)" > $@.tmp/debian/SOURCE
|
||||
mv $@.tmp $@
|
||||
|
||||
.PHONY: deb
|
||||
|
Loading…
Reference in New Issue
Block a user