build: include BUILD_VARIANT in PKG_BUILD_DIR
authorJeffery To <jeffery.to@gmail.com>
Sat, 3 Aug 2019 20:45:06 +0000 (04:45 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 5 Aug 2019 21:22:26 +0000 (23:22 +0200)
commite545fac8d968864a965edb9e50c6f90940b0a6c9
tree88124cfc0b0dae11f216a8391dcb66916c55cc5d
parenta3a2b4857eb9c926bdbce7809bf5bd92f777e967
build: include BUILD_VARIANT in PKG_BUILD_DIR

This changes the default PKG_BUILD_DIR to take BUILD_VARIANT into
account (if set), so that packages do not need to manually override
PKG_BUILD_DIR just to handle variants.

This also updates most base packages with variants to use the updated
default PKG_BUILD_DIR.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
17 files changed:
include/kernel.mk
include/package.mk
package/boot/tfa-layerscape/Makefile
package/kernel/lantiq/ltq-adsl-mei/Makefile
package/kernel/lantiq/ltq-atm/Makefile
package/kernel/lantiq/ltq-deu/Makefile
package/kernel/lantiq/ltq-ptm/Makefile
package/libs/ustream-ssl/Makefile
package/network/services/hostapd/Makefile
package/network/services/odhcpd/Makefile
package/network/services/openvpn/Makefile
package/network/services/ppp/Makefile
package/network/utils/iproute2/Makefile
package/network/utils/iw/Makefile
package/network/utils/tcpdump/Makefile
package/system/ucert/Makefile
package/utils/px5g/Makefile