From 78e084811da15efc06f612a852c35c4a114710f3 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 22 Oct 2018 11:47:41 +0100 Subject: [PATCH] debian/rules.real: Fix build failure with pkg.linux.nosource profile --- debian/changelog | 1 + debian/rules.real | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 3d51b0e5d..61d2996b7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,7 @@ linux (4.19-1~exp1) UNRELEASED; urgency=medium debian/changelog * Move generation of CONFIG_BUILD_SALT to gencontrol.py * [x86] hyperv-daemons: Make all services conditional on device existence + * debian/rules.real: Fix build failure with pkg.linux.nosource profile [ Karsten Merker ] * [riscv64] Build a kernel image and udebs for riscv64 (Closes: #908161) diff --git a/debian/rules.real b/debian/rules.real index a2f339fed..96640640f 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -60,8 +60,10 @@ build-indep: binary-arch-arch: binary-indep: -ifneq ($(DO_CONFIG),False) - binary-arch-arch: install-config_$(ARCH) +ifeq (,$(filter pkg.linux.nosource,$(DEB_BUILD_PROFILES))) + ifneq ($(DO_CONFIG),False) + binary-arch-arch: install-config_$(ARCH) + endif endif ifneq ($(DO_HEADERS_ALL),False) binary-arch-arch: install-headers_$(ARCH)