etienne.champet...@free.fr wrote:
> zabbix-agentd select BUSYBOX_CONFIG_UNAME and BUSYBOX_CONFIG_HOSTNAME,
> It's working ok in r39105 (419db8ef231eae6c0a514f32ff6c423c384900ca)(just 
> before busybox config changes),
> but it's not in r39185 (13b222d757237eb7772eb7cf8433306ffd6b8ccd)(latest 
> commit).
>
> does 'select' command need the symbol to be already in .config?
> because it was the case before but not now.
>
> Are you sure of r39125 "busybox: add back support for top-level menuconfig 
> based config overrides"?

The config symbol needs to show up somewhere. Here’s what I use in a
local package called ifplugd_support to be able to have it select
busybox ifplugd:

In ifplugd_support/Makefile:

define Package/ifplugd_support/config
  source "$(SOURCE)/Config.in"
endef

The contents of ifplugd_support/Config.in:

--
config PACKAGE_ifplugd_support
  select BUSYBOX_CONFIG_IFPLUGD

menu "Busybox Configuration"
  visible if false
  depends on PACKAGE_ifplugd_support

  if PACKAGE_busybox
    config BUSYBOX_CONFIG_IFPLUGD
      bool BUSYBOX_CONFIG_IFPLUGD

  endif

endmenu
--

I’m not thrilled about having to provide a Config.in for each of my
local packages that depends on busybox features now, but this seems to
be how things were intended to work under the new busybox
configuration.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to