reading the wiki "easy build" page and something there puzzles me in the section about disabling unnecessary packages:
http://wiki.openwrt.org/doc/howto/easy.build?s[]=disable&s[]=pl#disable.unnecessary.packages the perl code adjusts the .config file as follows to remove the building of packages that won't be part of the firmware: if( $_ =~ /^CONFIG_PACKAGE_(.+?)=m$/) { print("CONFIG_PACKAGE_$1=n\n"); } but the standard way to disable a .config setting is to change the line to: # CONFIG_... is not set that is, comment it out, not set it to "n", and i was wondering if this strategy might cause problems, and it would seem to in a case like this in tools/Makefile (theoretically): ifneq ($(CONFIG_PACKAGE_kmod-b43)$(CONFIG_PACKAGE_kmod-b43legacy)$(CONFIG_BRCMSMAC_USE_FW_FROM_WL),) BUILD_B43_TOOLS = y endif obviously, that make directive is checking if the combination of those options produces a non-zero string, but what if they're all set to "n"? i'm fairly sure that's not the effect you're after. can someone clarify this? i tweaked that perl script to make my own version which contains instead: if( $_ =~ /^CONFIG_PACKAGE_(.+?)=m$/) { print("# CONFIG_PACKAGE_$1 is not set\n"); but i'm wondering if the original works correctly and i'm just misreading something. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
