Browse Source

package: add package managers sub menu

Peter Korsgaard 17 năm trước cách đây
mục cha
commit
3cec3b453a
1 tập tin đã thay đổi với 14 bổ sung3 xóa
  1. 14 3
      package/Config.in

+ 14 - 3
package/Config.in

@@ -73,7 +73,6 @@ endif
 source "package/file/Config.in"
 source "package/file/Config.in"
 source "package/gamin/Config.in"
 source "package/gamin/Config.in"
 source "package/icu/Config.in"
 source "package/icu/Config.in"
-source "package/ipkg/Config.in"
 source "package/kexec/Config.in"
 source "package/kexec/Config.in"
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/less/Config.in"
 source "package/less/Config.in"
@@ -98,13 +97,11 @@ source "package/modutils/Config.in"
 endif
 endif
 source "package/ng-spice-rework/Config.in"
 source "package/ng-spice-rework/Config.in"
 source "package/popt/Config.in"
 source "package/popt/Config.in"
-source "package/portage/Config.in"
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/procps/Config.in"
 source "package/procps/Config.in"
 endif
 endif
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/psmisc/Config.in"
 source "package/psmisc/Config.in"
-source "package/rpm/Config.in"
 endif
 endif
 source "package/screen/Config.in"
 source "package/screen/Config.in"
 source "package/startup-notification/Config.in"
 source "package/startup-notification/Config.in"
@@ -436,6 +433,20 @@ source "package/lzma/Config.in"
 source "package/zlib/Config.in"
 source "package/zlib/Config.in"
 endif
 endif
 
 
+menuconfig BR2_PACKAGEMGRS_SUPPORT
+	bool "Package managers"
+	default y
+	help
+	  Support for package managers like rpm, portage, ipkg, ..
+
+if BR2_PACKAGEMGRS_SUPPORT
+source "package/ipkg/Config.in"
+source "package/portage/Config.in"
+if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
+source "package/rpm/Config.in"
+endif
+endif
+
 menuconfig BR2_SCRIPTING_SUPPORT
 menuconfig BR2_SCRIPTING_SUPPORT
 	bool "Interpreter languages / Scripting"
 	bool "Interpreter languages / Scripting"
 	default y
 	default y