summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/package/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/package/Makefile b/scripts/package/Makefile
index f67cc88..5c0b43a 100644
--- a/scripts/package/Makefile
+++ b/scripts/package/Makefile
@@ -79,7 +79,8 @@ clean-files += $(objtree)/binkernel.spec
# ---------------------------------------------------------------------------
deb-pkg: FORCE
$(MAKE) KBUILD_SRC=
- $(CONFIG_SHELL) $(srctree)/scripts/package/builddeb
+ $(KBUILD_PKG_ROOTCMD) $(CONFIG_SHELL) \
+ $(srctree)/scripts/package/builddeb
clean-dirs += $(objtree)/debian/
OpenPOWER on IntegriCloud