make menuconfig result as follow:

Collecting target info: target/linux/rdcERROR: please fix
target/linux/rdc/Makefile
Collecting target info: target/linux/rb532ERROR: please fix
target/linux/rb532/Makefile
Collecting target info: target/linux/amazonERROR: please fix
target/linux/amazon/Makefile
Collecting target info: target/linux/ar7ERROR: please fix
target/linux/ar7/Makefile
Collecting target info: target/linux/x86ERROR: please fix
target/linux/x86/Makefile
Collecting target info: target/linux/iop32xERROR: please fix
target/linux/iop32x/Makefile
Collecting target info: target/linux/au1000ERROR: please fix
target/linux/au1000/Makefile
Collecting target info: target/linux/umlERROR: please fix
target/linux/uml/Makefile
Collecting target info: target/linux/atherosERROR: please fix
target/linux/atheros/Makefile
Collecting target info: target/linux/etraxERROR: please fix
target/linux/etrax/Makefile
Collecting target info: target/linux/brcm63xxERROR: please fix
target/linux/brcm63xx/Makefile
Collecting target info: target/linux/avr32ERROR: please fix
target/linux/avr32/Makefile
Collecting target info: target/linux/at91ERROR: please fix
target/linux/at91/Makefile
Collecting target info: target/linux/stormERROR: please fix
target/linux/storm/Makefile
Collecting target info: target/linux/magicboxERROR: please fix
target/linux/magicbox/Makefile
Collecting target info: target/linux/adm5120ERROR: please fix
target/linux/adm5120/Makefile
Collecting target info: target/linux/olpcERROR: please fix
target/linux/olpc/Makefile
Collecting target info: target/linux/ppc44xERROR: please fix
target/linux/ppc44x/Makefile
Collecting target info: target/linux/pxaERROR: please fix
target/linux/pxa/Makefile
Collecting target info: target/linux/brcm-2.4ERROR: please fix
target/linux/brcm-2.4/Makefile
Collecting target info: target/linux/ifxmipsERROR: please fix
target/linux/ifxmips/Makefile
Collecting target info: target/linux/sibyteERROR: please fix
target/linux/sibyte/Makefile
Collecting target info: target/linux/ppc40xERROR: please fix
target/linux/ppc40x/Makefile
Collecting target info: target/linux/brcm47xxERROR: please fix
target/linux/brcm47xx/Makefile
Collecting target info: target/linux/ps3ERROR: please fix
target/linux/ps3/Makefile
Collecting target info: target/linux/ixp4xxERROR: please fix
target/linux/ixp4xx/Makefile
Collecting target info: done
tmp/.config-target.in:1:warning: config symbol defined without type

tmp/.config-target.in:8:warning: config symbol defined without type

tmp/.config-target.in:13:warning: config symbol defined without type

#
# using defaults found in .config
#


Your configuration changes were NOT saved.


---- Mensagem Original ----
From: "Travis Kemen" <[EMAIL PROTECTED]>
To: "OpenWrt Development List" <[email protected]>
Sent: Qua, Maio 14, 2008 9:58 pm
Subject: Re: [OpenWrt-Devel] [PATCH 1/2] kernel: allow kernel modules tohave
a configuration definition

Axel Gembe wrote:
> This patch makes kernel modules check if config is defined and creates a
config
> passthrough target which will evaluate the original config in the
generated
> package. This is done so kernel modules can have configuration menus like
> busybox, etc...
>
> Signed-off-by: Axel Gembe <[EMAIL PROTECTED]>
> ---
>  include/kernel.mk |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/include/kernel.mk b/include/kernel.mk
> index 52355dc..6d03683 100644
> --- a/include/kernel.mk
> +++ b/include/kernel.mk
> @@ -120,6 +120,12 @@ $(call KernelPackage/$(1)/description)
>      endef
>    endif
>
> +  ifdef KernelPackage/$(1)/config
> +    define Package/kmod-$(1)/config
> +$(call KernelPackage/$(1)/config)
> +    endef
> +  endif
> +
>    ifneq ($(if $(KCONFIG),$(filter m,$(foreach c,$(filter-out %=y %=n
%=m,$(KCONFIG)),$($(c)))),.),)
>      ifneq ($(strip $(FILES)),)
>        define Package/kmod-$(1)/install

Committed r11139. Thanks

Travis
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel




_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to