From c813a04c2bd78c9eb10ebb4ac36f00e35c33a467 Mon Sep 17 00:00:00 2001 From: Konstantin Demin Date: Tue, 29 Oct 2024 05:12:06 +0300 Subject: [PATCH] minor rules improvements --- debian/rules.real | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/rules.real b/debian/rules.real index 3a06688..1582bc4 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -8,11 +8,15 @@ include /usr/share/dpkg/default.mk +include debian/rules.defs + +COMPILER ?= gcc +ALL_KERNEL_ARCHES ?= x86 +export COMPILER + MAINTAINER := $(shell sed -ne 's,^Maintainer: .[^<]*<\([^>]*\)>,\1,p' debian/control) SOURCE_DATE_UTC_ISO := $(shell date -u -d '@$(SOURCE_DATE_EPOCH)' +%Y-%m-%d) -include debian/rules.defs - ifdef ARCH ifneq ($(DEB_HOST_ARCH),$(ARCH)) $(error Attempting to build a $(ARCH) target but host architecture is $(DEB_HOST_ARCH). Use dpkg-architecture to override the host architecture)