]> git.proxmox.com Git - pve-edk2-firmware.git/commitdiff
add rudimental DSC building
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 13:41:01 +0000 (15:41 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 13:42:07 +0000 (15:42 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile
debian/source/lintian-overrides [new file with mode: 0644]

index 8387ca6191d27ad209675ffc4a7f1aa0b7929698..12729d234471c7146c2524a46924bb758a1bec84 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ BUILDDIR ?= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
 GITVERSION:=$(shell git rev-parse HEAD)
 
 DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
-#DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc # FIXME: TODO
+DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
 
 all: ${DEB}
        @echo ${DEB}
@@ -26,6 +26,12 @@ ${DEB}: ${BUILDDIR}
        lintian ${DEB}
        @echo ${DEB}
 
+.PHONY: dsc
+dsc: ${DSC}
+${DSC}: ${BUILDDIR}
+       cd ${BUILDDIR}; dpkg-buildpackage -S -uc -us -d
+       lintian ${DSC}
+
 .PHONY: submodule
 submodule:
        git submodule update --init --recursive
@@ -43,7 +49,7 @@ upload: ${DEB}
 .PHONY: distclean clean
 distclean: clean
 clean:
-       rm -rf *~ debian/*~ *.deb ${BUILDDIR} *.changes *.dsc *.buildinfo
+       rm -rf *~ debian/*~ *.deb ${PACKAGE}-*/ *.tar.gz *.changes *.dsc *.buildinfo
 
 .PHONY: dinstall
 dinstall: ${DEB}
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644 (file)
index 0000000..96da6b1
--- /dev/null
@@ -0,0 +1,5 @@
+pve-edk2-firmware source: source-is-missing Vlv2TbltDevicePkg/GenBiosId
+pve-edk2-firmware source: source-is-missing BeagleBoardPkg/Debugger_scripts/rvi_dummy.axf
+pve-edk2-firmware source: source-is-missing ArmPkg/Library/GccLto/liblto-aarch64.a
+pve-edk2-firmware source: source-is-missing ArmPkg/Library/GccLto/liblto-arm.a
+pve-edk2-firmware source: source-contains-unsafe-symlink EmulatorPkg/Unix/Host/X11IncludeHack