minor rules improvements
This commit is contained in:
parent
8ac2f5a9e9
commit
c813a04c2b
8
debian/rules.real
vendored
8
debian/rules.real
vendored
@ -8,11 +8,15 @@
|
|||||||
|
|
||||||
include /usr/share/dpkg/default.mk
|
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)
|
MAINTAINER := $(shell sed -ne 's,^Maintainer: .[^<]*<\([^>]*\)>,\1,p' debian/control)
|
||||||
SOURCE_DATE_UTC_ISO := $(shell date -u -d '@$(SOURCE_DATE_EPOCH)' +%Y-%m-%d)
|
SOURCE_DATE_UTC_ISO := $(shell date -u -d '@$(SOURCE_DATE_EPOCH)' +%Y-%m-%d)
|
||||||
|
|
||||||
include debian/rules.defs
|
|
||||||
|
|
||||||
ifdef ARCH
|
ifdef ARCH
|
||||||
ifneq ($(DEB_HOST_ARCH),$(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)
|
$(error Attempting to build a $(ARCH) target but host architecture is $(DEB_HOST_ARCH). Use dpkg-architecture to override the host architecture)
|
||||||
|
Loading…
Reference in New Issue
Block a user