On 29.02.2012 14:16, [email protected] wrote: > Quoting [email protected]: > ... >> more along the lines of >> >> ... >> >> define Package/parted >> SECTION:=utils >> CATEGORY:=Utilities >> SUBMENU:=disc >> DEFAULT:=n >> TITLE:=GNU Parted manipulates partition tables >> URL:=http://www.gnu.org/software/parted/ >> DEPENDS:= +libuuid +libreadline +libncurses >> endef >> >> # enable kernel module if package selected >> ifdef CONFIG_PACKAGE_parted >> CONFIG_KERNEL_EFI_PARTITION:=y >> endif > > This makes sense. Thanks. > >> >> ... >> >> >> but adding a proper kernel module package wouldn't probably hurt either ..ede > > A kernel module seems like the best plan, however, since this config > parameter can't be configured as a module AFAICT I am unclear how to > accomplish this. >
if this really is no module, but just a symbol it would be probably most elegant to include a config file in the package Makefile to allow the user to switch on off partition schemes via menuconfig. actually this should probably be dealt with in the buildroot kernel Makefile definition, shouldn't it, so that packages do not override each other. see how madwifi includes Config.in for configuration parameters https://dev.openwrt.org/browser/trunk/package/madwifi/Makefile be aware the var names get the leading CONFIG_ automatically in this case e.g. defs would be like ... config KERNEL_EFI_PARTITION default y ... ..ede _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
