package/qemu: unset TARGET_DIR
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 28 Apr 2019 17:43:59 +0000 (19:43 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 29 Apr 2019 07:02:14 +0000 (09:02 +0200)
commit138014bf233c1b946e7dab5a8cb56d4cae3093d7
tree9be7945c086cafe6c3aad116b6b972f77c61fbfb
parent80a5217476c45e765db45acd8782f7f854783f93
package/qemu: unset TARGET_DIR

qemu uses TARGET_DIR internally, and it is at least used to display the
shortened compiling commands, like (with a TARGET_DIR=/path/to/target):

    CC /path/to/targetblock/write-threshold.o

VS

    CC block/write-threshold.o

There does not seem to be any adverse effect to that, but this is very
confusing to see, especially when building the host variant.

Fix that by unsetting TARGET_DIR prior to building.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/qemu/qemu.mk