Based on an email sent by Weedy [1] I have a config file that deselects 
packages I don’t need or want via 'CONFIG_PACKAGE_ppp=n’ or similar lines. In 
that same fashion, you can select via ‘CONFIG_PACKAGE_nano=y’ (provided nano is 
installed via the packages feed).

Then you can copy that file to be the main .config file, and 'make defconfig && 
make’.

[1] https://lists.openwrt.org/pipermail/openwrt-devel/2013-November/022653.html

On 23 Jan 2014, at 19:55, [email protected] wrote:

> Hi
> 
> For AA I have a package that select and deselect everything I need,
> like deselect wpad-mini and select wpad (full)
> 
> In BB deselect isn't supported anymore,
> so how can i do a '1 click' packages selection in BB
> 
> the relevant commits:
> f6a0204436d51e2227a1b9c8f0463936a9c03f0a
> build: add new menuconfig code based on linux 3.9
> r36361 18/04/13 nbd
> 
> 927764abf2c7710c29a100332587e4235fb36cf2
> add 'deselect' property for menuconfig
> r6647 23/03/2007 nbd
> 
> Exemple of what i'm doing in AA (in a Makefile):
> ##############################################
> 
> include $(TOPDIR)/rules.mk
> 
> PKG_NAME:=aa-all
> PKG_VERSION:=1
> PKG_RELEASE:=0
> 
> include $(INCLUDE_DIR)/package.mk
> 
> define Package/aa-all
>   SECTION:=etienne
>   CATEGORY:=Etienne
>   DEPENDS:=
>   TITLE:=Tous ce qu'il faut pour AA
>   MAINTAINER:=Etienne CHAMPETIER <[email protected]>
>   PKGARCH:=all
> endef
> 
> define Package/aa-all/config
>   select BUSYBOX_CONFIG_FEATURE_DATE_NANO
>   select PACKAGE_openvpn
>   deselect PACKAGE_wpad-mini
>   select PACKAGE_wpad
>   deselect WPA_SUPPLICANT_INTERNAL
>   select WPA_SUPPLICANT_OPENSSL
> 
> <......>
> 
> endef
> 
> define Build/Compile
> endef
> 
> define Build/Install
> endef
> 
> $(eval $(call BuildPackage,aa-all))
> 
> ##############################################
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to