This adds the SOURCE_BASE_DIR variable pointing to the top directory.
The variable is then later used by the patch in our delta queue that
adjusts the first hypervisor log line to insert Debian specific
information.
Signed-off-by: Maximilian Engelhardt <maxi@daemonizer.de>
SHELL := bash -e
+# SOURCE_BASE_DIR is used by our delta queue to find the top directory. It
+# seems this information is currenty not directly provided by the Debian build
+# system.
+export SOURCE_BASE_DIR=$(shell pwd)
+
# This influences dpkg-buildflags to specify better linker
# options. See https://wiki.debian.org/Hardening
# Apparently some of these might incur silent breakage