package/pkg-golang.mk: postpone evaluation of TARGET_DIR and HOST_DIR
authorTian Yuanhao <tianyuanhao@aliyun.com>
Fri, 18 Dec 2020 05:58:56 +0000 (13:58 +0800)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 19 Dec 2020 11:25:08 +0000 (12:25 +0100)
commit8d595c0d926d6b352b0e08366095bb92c7318c4c
tree6053f6b03a1eff386113d4dbca1a7c3e984a8aa2
parentc59409afd93b2a9bda9d5c3d6b765eaa4c1720dd
package/pkg-golang.mk: postpone evaluation of TARGET_DIR and HOST_DIR

When BR2_PER_PACKAGE_DIRECTORIES=y, $(TARGET_DIR) is evaluated as
$(BASE_DIR)/target, but $$(TARGET_DIR) is evaluated as
$(BASE_DIR)/per-package/$(PKG)_NAME/target.

Signed-off-by: Tian Yuanhao <tianyuanhao@aliyun.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/pkg-golang.mk