AnsweredAssumed Answered

Menuconfig & Makefiles

Question asked by gilgm on Mar 30, 2012
Latest reply on Apr 6, 2012 by Aaronwu

I've added custom options in menuconfig, specifically in Kconfig.local.  I've also added corresponding hooks in Makefile.local, and all that jazz.  When either of my options are selected, the makefile is appropriately executed.


However, in my local makefile (IE - uClinux/lib/project/Makefile),  I'm looking for a way to test the selected config options.  (I've got a project that needs selectable sub-options, and builds different versions depending on the menuconfig selection)  I know that, typically, the config system adds a 'CONFIG_' prefix to the library definition, but I can't seem to use those definitions in my *local makefile. (IE - neither CONFIG_LIB_MYOPTION or LIB_MYOPTION seem to work)


Ideas?  Has anybody here successfully tied in Kconfig's option definitions with project-specific makefiles?