Hi! While this bug is not fixed I came across it while doing a crosscompile of a pi3 kernel, aplying Kevin's patch (thanks a lot) almost fixed compiling, but I found another place whre it got stuck, so here is an addon for the patch that Kevin had sent:
--- /usr/share/kernel-package/ruleset/targets/common.mk.orig 2016-02-17 00:35:18.000000000 +0100 +++ /usr/share/kernel-package/ruleset/targets/common.mk 2018-12-04 13:46:11.719595467 +0100 @@ -177,7 +177,7 @@ $(eval $(which_debdir)) ifeq ($(DEB_HOST_ARCH_OS), linux) @$(MAKE) --no-print-directory -sf $(DEBDIR)/ruleset/kernel_version.mk \ - ARCH=$(KERNEL_ARCH) $(CROSS_ARG) debian_conf_var >> debian/stamp/conf/mak + ARCH=$(KERNEL_ARCH) $(CROSS_ARG) debian_conf_var </dev/null >> debian/stamp/conf/mak endif @echo "do_parallel = $(do_parallel)" >> debian/stamp/conf/mak @echo "fast_dep = $(fast_dep)" >> debian/stamp/conf/mak This worked ok for compiling upstream 4.20-rc5. Regards. -- Santiago García Mantiñán