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

From: Ilya Dryomov
Date: Sun Jun 15 2014 - 06:51:19 EST


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,

Ilya
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/