Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Possible libarchive.mk issue
@ 2015-05-22 22:41 Nimai Mahajan
  2015-05-23  9:59 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Nimai Mahajan @ 2015-05-22 22:41 UTC (permalink / raw)
  To: buildroot

Just wanted to get this resolved before the official 2015.05 release.
Is there any reason libarchive has LIBARCHIVE_CONF_OPTS =
--without-lzma hard coded/defined without if/else's? We use libarchive
with xz on our project and don't know how to pre patch these
package/*.mk files before a build so was wondering if this change
could be made now. My assumption is that this was an oversight and
guessing it should be like this ... will push a patch if so.

ifeq ($(BR2_PACKAGE_XZ),y)
LIBARCHIVE_DEPENDENCIES += xz
else
LIBARCHIVE_CONF_OPTS += --without-lzma
endif

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Possible libarchive.mk issue
  2015-05-22 22:41 [Buildroot] Possible libarchive.mk issue Nimai Mahajan
@ 2015-05-23  9:59 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2015-05-23  9:59 UTC (permalink / raw)
  To: buildroot

Nimai, All,

On 2015-05-22 18:41 -0400, Nimai Mahajan spake thusly:
> Just wanted to get this resolved before the official 2015.05 release.
> Is there any reason libarchive has LIBARCHIVE_CONF_OPTS =
> --without-lzma hard coded/defined without if/else's?

Because nobody needed it so far. ;-)

> We use libarchive
> with xz on our project and don't know how to pre patch these
> package/*.mk files before a build so was wondering if this change
> could be made now. My assumption is that this was an oversight and
> guessing it should be like this ... will push a patch if so.
> 
> ifeq ($(BR2_PACKAGE_XZ),y)
> LIBARCHIVE_DEPENDENCIES += xz
> else
> LIBARCHIVE_CONF_OPTS += --without-lzma
> endif

Yeah, looks sane. Please send a patch.

However, we're in feature-freeze for the up-coming release, only
bug-fixes are accepted, and that would be a new feature, so will not be
in the upcming release, but the next one (~3 months from now).

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-23  9:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-22 22:41 [Buildroot] Possible libarchive.mk issue Nimai Mahajan
2015-05-23  9:59 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox