4c5e3896ef
Adjust the inclusion of the rpm2archive command as an option, to allow a developer to opt-out of building/including the command if it is not desired/needed for the target. Signed-off-by: James Knight <james.d.knight@live.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
37 lines
916 B
Plaintext
37 lines
916 B
Plaintext
comment "rpm needs a toolchain w/ dynamic library, threads and lua >= 5.3"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
|
|
|| !BR2_PACKAGE_LUA_5_3
|
|
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
|
depends on BR2_USE_MMU
|
|
|
|
config BR2_PACKAGE_RPM
|
|
bool "rpm"
|
|
depends on !BR2_STATIC_LIBS # dlfcn.h
|
|
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
|
depends on BR2_PACKAGE_LUA_5_3
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_MMU # fork()
|
|
select BR2_PACKAGE_LIBGCRYPT if !BR2_PACKAGE_OPENSSL
|
|
select BR2_PACKAGE_FILE
|
|
select BR2_PACKAGE_POPT
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
The RPM Package Manager (RPM).
|
|
|
|
http://www.rpm.org/
|
|
|
|
if BR2_PACKAGE_RPM
|
|
|
|
comment "rpm2archive support needs a toolchain w/ wchar"
|
|
depends on !BR2_USE_WCHAR
|
|
|
|
config BR2_PACKAGE_RPM_RPM2ARCHIVE
|
|
bool "rpm2archive command"
|
|
default y
|
|
depends on BR2_USE_WCHAR
|
|
select BR2_PACKAGE_LIBARCHIVE
|
|
help
|
|
Enable rpm2archive
|
|
|
|
endif
|