scripts/package: add KBUILD_PKG_ROOTCMD variable
[linux-2.6.git] / scripts / package / Makefile
index f67cc88..5c0b43a 100644 (file)
@@ -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/