Re: [LEDE-DEV] [PATCH 1/5] tools/zlib: move zlib build to tools

2018-04-21 Thread Koen Vandeputte
Previously I mentioned the following issue on imx6 (ubi): - Make owrt build - Add custom files using imagebuilder - Flash (jtag or tftp via uboot) - Boot 1st time (all is OK) - Boot 2nd time (custom files are corrupt now) After testing this a few times using JTAG on the same board (which

Re: [LEDE-DEV] [PATCH 1/5] tools/zlib: move zlib build to tools

2018-04-20 Thread Hauke Mehrtens
On 04/20/2018 01:10 PM, Koen Vandeputte wrote: > > > On 2018-04-20 00:15, Hauke Mehrtens wrote: >> On 04/18/2018 12:24 AM, Koen Vandeputte wrote: > >> > I tested the patch series because I have a linking problem with zlib and python an I wanted to see if this fixes it (it does not)

Re: [LEDE-DEV] [PATCH 1/5] tools/zlib: move zlib build to tools

2018-04-20 Thread Koen Vandeputte
On 2018-04-20 00:15, Hauke Mehrtens wrote: On 04/18/2018 12:24 AM, Koen Vandeputte wrote: I tested the patch series because I have a linking problem with zlib and python an I wanted to see if this fixes it (it does not) but on i686 I have this error make[8]: Entering directory

Re: [LEDE-DEV] [PATCH 1/5] tools/zlib: move zlib build to tools

2018-04-19 Thread Hauke Mehrtens
On 04/18/2018 09:44 AM, Lucian Cristian wrote: > On 18.04.2018 01:24, Koen Vandeputte wrote: >> >> >> On 17-04-18 19:16, Lucian Cristian wrote: >>> On 16.04.2018 01:53, Hauke Mehrtens wrote: This allows us to link the other tools against our libz and we do not need the system zlib any

Re: [LEDE-DEV] [PATCH 1/5] tools/zlib: move zlib build to tools

2018-04-19 Thread Hauke Mehrtens
On 04/18/2018 12:24 AM, Koen Vandeputte wrote: > > > On 17-04-18 19:16, Lucian Cristian wrote: >> On 16.04.2018 01:53, Hauke Mehrtens wrote: >>> This allows us to link the other tools against our libz and we do not >>> need the system zlib any more. >>> >>> Only the static linked library is

Re: [LEDE-DEV] [PATCH 1/5] tools/zlib: move zlib build to tools

2018-04-18 Thread Lucian Cristian
On 18.04.2018 01:24, Koen Vandeputte wrote: On 17-04-18 19:16, Lucian Cristian wrote: On 16.04.2018 01:53, Hauke Mehrtens wrote: This allows us to link the other tools against our libz and we do not need the system zlib any more. [...] +endef + +$(eval $(call HostBuild)) I tested the

Re: [LEDE-DEV] [PATCH 1/5] tools/zlib: move zlib build to tools

2018-04-17 Thread Koen Vandeputte
On 17-04-18 19:16, Lucian Cristian wrote: On 16.04.2018 01:53, Hauke Mehrtens wrote: This allows us to link the other tools against our libz and we do not need the system zlib any more. Only the static linked library is copied to the staging directory so we have a statically linked library

Re: [LEDE-DEV] [PATCH 1/5] tools/zlib: move zlib build to tools

2018-04-17 Thread Lucian Cristian
On 16.04.2018 01:53, Hauke Mehrtens wrote: This allows us to link the other tools against our libz and we do not need the system zlib any more. Only the static linked library is copied to the staging directory so we have a statically linked library on all systems and not only on Linux. This

[LEDE-DEV] [PATCH 1/5] tools/zlib: move zlib build to tools

2018-04-15 Thread Hauke Mehrtens
This allows us to link the other tools against our libz and we do not need the system zlib any more. Only the static linked library is copied to the staging directory so we have a statically linked library on all systems and not only on Linux. This also adds the new dependencies of the packages