[Buildroot] [PATCH 2 of 2 v3] xzcat: treat as host prerequisite and build if needed

Peter Korsgaard jacmet at uclibc.org
Sat Sep 7 06:11:00 UTC 2013


>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin+buildroot at gmail.com> writes:

 Thomas> If xzcat is not present on the host system, buildroot bails out early asking
 Thomas> the developer to install it (xzcat is now a DL_TOOLS_DEPENDENCY)
 Thomas> Conversely, when BR2_TARGET_ROOTFS_CPIO_XZ is enabled, then host-xz is a
 Thomas> build dependency, and no manual action is required from the developer.

 Thomas> Because the second approach is nicer, also build host-xz when xzcat is not
 Thomas> available, using the host-prerequisite and suitable-host-pkg mechanisms,
 Thomas> already used for tar.

 Thomas> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>

 Thomas> ---
 Thomas> v3: update after $(firstword) change
 Thomas> v2: avoid filtering out xzcat from DL_TOOLS_DEPENDENCIES (comment ThomasP)

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list