[OpenWrt-Devel] [PATCH 1/1] [polarssl] Fix build failures due to PKG_NAME != dir name

Daniel Dickinson openwrt at daniel.thecshore.com
Mon Aug 10 22:13:12 EDT 2015

On 2015-08-10 10:00 PM, Yousong Zhou wrote:
> Nice catch, but only setting PKG_BUILD_DIR should be enough to fix
> this.  No need to introduce a new variable.

Actually the source package is used *two* places.  For the download and 
for PKG_BUILD_DIR.  It's needed for the download because you need the 
upstream tarball name, and it is also used for PKG_BUILD_DIR because 
general convention (at least of F/LOSS) for source tarballs is to have a 
subdirectory with <upstream-package>-<version> in the tarball (which is 
why PKG_BUILD_DIR uses <upstream-package>-<version>, not for an 
OpenWrt-specific reason).


openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list