Re: Regression: make O=... deb-pkg broken in 3.16

Michal Marek
2014-06-16T09:18:39Z

On 2014-06-15 12:51, Ilya Dryomov wrote:
> Hi Michal,
>
> Your relative path changes in the first kbuild pull request for 3.16
> broke make O=... deb-pkg.
>
> /home/ubuntu/foo/linux-a/scripts/package/builddeb: line 291:
> ./debian/hdrsrcfiles: No such file or directory
>
> 290 # Build header package
> 291 (cd $srctree; find . -name Makefile\* -o -name Kconfig\* -o -name
> \*.pl > "$objtree/debian/hdrsrcfiles")
> 292 (cd $srctree; find arch/$SRCARCH/include include scripts -type f
>>> "$objtree/debian/hdrsrcfiles")
>
> The $objtree passed in is a '.' and hence the hdrsrcfiles path is
> interpreted relative to the $srctree, which, if building with O=,
> doesn't have a 'debian' directory.

Thanks for the report, I'll have a look.

Michal