mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-13 17:38:48 +04:00
Commit501123eb7a("include/subdir: on build failure always print error") passes $(2) instead of $(1) to ERROR for the builds of a build type, such as host builds. subdir has no second parameter, so with BUILD_LOG set a failed host build is written to logs/error.txt instead of logs/package/error.txt, where the other errors of the subdir go. Fixes:501123eb7a("include/subdir: on build failure always print error") Signed-off-by: John Crispin <john@phrozen.org>