Re: [U-Boot] [PATCH v1] common: fix building image.c

2019-08-30 Thread Ricardo Salveti
On Tue, Aug 20, 2019 at 11:09 AM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Wrap image_decomp() and all dependent functions with > !ifdef(USE_HOSTCC) macro, as this function isn't used by > any tool from /tools. > > Without this it leads to compilation issues (because of > CONFIG_LZMA from ne

Re: [U-Boot] [PATCH v1] common: fix building image.c

2019-08-20 Thread Igor Opaniuk
On Tue, Aug 20, 2019 at 5:09 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Wrap image_decomp() and all dependent functions with > !ifdef(USE_HOSTCC) macro, as this function isn't used by > any tool from /tools. > > Without this it leads to compilation issues (because of > CONFIG_LZMA from new

[U-Boot] [PATCH v1] common: fix building image.c

2019-08-20 Thread Igor Opaniuk
From: Igor Opaniuk Wrap image_decomp() and all dependent functions with !ifdef(USE_HOSTCC) macro, as this function isn't used by any tool from /tools. Without this it leads to compilation issues (because of CONFIG_LZMA from newly added #include statement, which pulls all these definitions): In