summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-10-11 07:52:17 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-10-11 07:55:32 (GMT)
commitf35348c3f6435e7e1a420fb07b335c1fd110aa46 (patch)
treec6fc573627c20a1df2659e95bb7ca729b9908f2d
parentda653dd4ea233aeaf314f8784c5312b6472a2a2a (diff)
downloadbuildroot-f35348c3f6435e7e1a420fb07b335c1fd110aa46.tar.gz
buildroot-f35348c3f6435e7e1a420fb07b335c1fd110aa46.tar.bz2
rpm: only show xz dependency comment if enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/rpm/Config.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/rpm/Config.in b/package/rpm/Config.in
index 8d4c6a3..a80a5a7 100644
--- a/package/rpm/Config.in
+++ b/package/rpm/Config.in
@@ -15,16 +15,16 @@ config BR2_PACKAGE_RPM
http://rpm5.org
+if BR2_PACKAGE_RPM
+
config BR2_PACKAGE_RPM_BZIP2_PAYLOADS
bool "support for bzip2 payloads"
- depends on BR2_PACKAGE_RPM
select BR2_PACKAGE_BZIP2
help
Support for bzip2 payloads in RPM.
config BR2_PACKAGE_RPM_XZ_PAYLOADS
bool "support for xz payloads"
- depends on BR2_PACKAGE_RPM
depends on BR2_INSTALL_LIBSTDCPP
help
Support for xz payloads in RPM.
@@ -32,4 +32,6 @@ config BR2_PACKAGE_RPM_XZ_PAYLOADS
comment "xz payload support requires a toolchain with c++ support"
depends on !BR2_INSTALL_LIBSTDCPP
+endif
+