Open milani opened 3 years ago
@neheb I would like to have your feedback here.
I assume setting PKG_BUILD_DIR would work.
That's the thing. Luajit has PKG_BUILD_DIR
set and it works when building the package. But it seems it is ignored when building for host.
So basically, this fails on my system: make package/feeds/packages/luajit/host/{clean,prepare,compile} V=sc
There's also HOST_BUILD_DIR.
edit: try HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/LuaJIT-$(PKG_VERSION)
Maintainer: @milani (myself) Environment: Openwrt 19.07.7, MIPS MT 7620, HOST: ubuntu 20.04
Description:
I have a private package that depends on luajit host. It used to work on LEDE 17.01. I tried to compile it using the latest openwrt and I get this error:
Here is the relevant part of my private package:
The folder
openwrt/build_dir/hostpkg/luajit-2.1.0-beta3/
is empty butopenwrt/build_dir/hostpkg/LuaJIT-2.1.0-beta3
has the luajit source.Is there anything changed in the way OpenWRT builds host packages? Is something missing here?