summaryrefslogtreecommitdiffstats
path: root/package/utils/ct-bugcheck/Makefile
diff options
context:
space:
mode:
authorWeijie Gao <hackpascal@gmail.com>2025-04-23 02:15:09 +0800
committerRobert Marko <robimarko@gmail.com>2025-04-23 12:19:26 +0200
commitb9cb07eced1de81b647608ee89a95d925c7c12a8 (patch)
tree063966ceca9cf1428ea71895a10fb5d747dd06e4 /package/utils/ct-bugcheck/Makefile
parent410111a8daadd9e71fddc4ea278ce0a372b863ad (diff)
downloadopenwrt-main.tar.gz
openwrt-main.tar.bz2
openwrt-main.zip
toolchain: mold: add PKG_NAME to MakefileHEADmastermain
In include/host-build.mk, HOST_BUILD_DIR is set by default value: HOST_BUILD_DIR ?= $(BUILD_DIR_HOST)/$(PKG_NAME) However the mold package has no PKG_NAME set at all. This means the HOST_BUILD_DIR is identical to $(BUILD_DIR_HOST). In the Host/Prepare stage, by default, the $(HOST_BUILD_DIR) will be deleted at first unconditionally. Since HOST_BUILD_DIR is identical to $(BUILD_DIR_HOST), the entire build_dir/toolchain-* directory will be removed and this will cause build failure. Adding PKG_NAME:=ld.mold can solve this issue. Signed-off-by: Weijie Gao <hackpascal@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18567 Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'package/utils/ct-bugcheck/Makefile')
0 files changed, 0 insertions, 0 deletions