> -----Original Message----- > From: Kacper Kołodziej [mailto:kacper@xxxxxxxxxxxx] > Sent: Tuesday, February 05, 2019 9:38 PM > To: Yamada, Masahiro/山田 真弘 <yamada.masahiro@xxxxxxxxxxxxx>; > michal.lkml@xxxxxxxxxxx > Cc: linux-kbuild@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; > kacper@xxxxxxxxxxxx > Subject: [PATCH] kbuild: [bin]deb-pkg: add DPKG_FLAGS variable > > DPKG_FLAGS variable lets user to add more flags to dpkg-buildpackage > command in deb-pkg and bindeb-pkg. > > Signed-off-by: Kacper Kołodziej <kacper@xxxxxxxxxxxx> > --- Applied to linux-kbuild. Thanks. > scripts/package/Makefile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/scripts/package/Makefile b/scripts/package/Makefile > index 453fecee62f0..6963eacb323c 100644 > --- a/scripts/package/Makefile > +++ b/scripts/package/Makefile > @@ -72,11 +72,11 @@ deb-pkg: FORCE > $(call cmd,src_tar,$(KDEB_SOURCENAME)) > origversion=$$(dpkg-parsechangelog -SVersion |sed > 's/-[^-]*$$//');\ > mv > $(KDEB_SOURCENAME).tar.gz ../$(KDEB_SOURCENAME)_$${origversion}.orig.t > ar.gz > - +dpkg-buildpackage -r$(KBUILD_PKG_ROOTCMD) -a$$(cat debian/arch) > -i.git -us -uc > + +dpkg-buildpackage -r$(KBUILD_PKG_ROOTCMD) -a$$(cat debian/arch) > $(DPKG_FLAGS) -i.git -us -uc > > bindeb-pkg: FORCE > $(CONFIG_SHELL) $(srctree)/scripts/package/mkdebian > - +dpkg-buildpackage -r$(KBUILD_PKG_ROOTCMD) -a$$(cat debian/arch) > -b -nc -uc > + +dpkg-buildpackage -r$(KBUILD_PKG_ROOTCMD) -a$$(cat debian/arch) > $(DPKG_FLAGS) -b -nc -uc > > intdeb-pkg: FORCE > +$(CONFIG_SHELL) $(srctree)/scripts/package/builddeb > -- > 2.20.1