toolchain/toolchain: set TOOLCHAIN_INSTALL_STAGING only once
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 27 Oct 2019 13:37:56 +0000 (14:37 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 27 Oct 2019 13:56:52 +0000 (14:56 +0100)
commit212adf32f31f751ba104bc70de7344b2f2714289
tree88fb24ae5da3b2be4f0765e8fcd2b4cc5ae8fbc3
parentd4d4056e63a9fa09d1ac0ecb390d4c677ebbb45d
toolchain/toolchain: set TOOLCHAIN_INSTALL_STAGING only once

Currently, we set TOOLCHAIN_INSTALL_STAGING three times: once
(conditionally) in toolchain.mk, and once each (unconditionally) in
pkg-cmake.mk and pkg-meson.mk.

This is a little bit messy... Set it just once, unconditionally, in
toolchain.mk where it belongs.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/pkg-cmake.mk
package/pkg-meson.mk
toolchain/toolchain/toolchain.mk