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

Daniel Dickinson openwrt at daniel.thecshore.com
Mon Aug 17 02:32:37 EDT 2015


I have confirmed this issue exists in trunk (although I had no issue 
with CC) and have filed the patch in ticket #20340 
(https://dev.openwrt.org/ticket/20340)

On 2015-08-12 12:21 AM, Yousong Zhou wrote:
> On 11 August 2015 at 10:00, Yousong Zhou <yszhou4tech at gmail.com> wrote:
>> On 2 August 2015 at 19:46, Daniel Dickinson
>> <openwrt at daniel.thecshore.com> wrote:
>>> Packages that depend on PolarSSL fail to build because polarssl's InstallDev
>>> section never actually gets executed because (prior to this patch) the package
>>> name does not match the subdir the package is in (presumably due to upstream
>>> name change).  As a workaround I have changed the package name back to
>>> polarssl and used a new variable SRC_PKG_NAME for the purposes of downloading
>>> the upstream tarball and creating PKG_BUILD_DIR.
>>>
>>
>> Nice catch, but only setting PKG_BUILD_DIR should be enough to fix
>> this.  No need to introduce a new variable.
>>
>
> Hello, Daniel
>
> After a second look on the code, I didn't get why there was a problem.
> Anyway, openvpn-polarssl built and run fine in my environment.
>
>                  yousong
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list