Makefile: fix package file list if FOO_SUBDIR is set
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Wed, 18 Mar 2020 15:58:12 +0000 (16:58 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 20 Mar 2020 21:15:08 +0000 (22:15 +0100)
commit9f876c7f16a0aef8aa86ef5873b8db07aa00dce5
tree456c2ceb04faae367e062dd60a4be80dffa4c52c
parentaa1e74745c93534a14981616b92956e920a01dc5
Makefile: fix package file list if FOO_SUBDIR is set

If a package sets a FOO_SUBDIR (meaning its sources are not under
output/build/foo-123 but under output/build/foo-123/$(FOO_SUBDIR)), the
.files-list.txt file were also created under FOO_SUBDIR, due to which the
logic in the Makefile would not find it.

Change the instrumentation steps so that the file list is directly under the
package dir, ignoring the subdir.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/pkg-generic.mk