.include method for unwanted modules list in make.conf

Very noob scripting (?) question regarding make.conf:

I would like to place my list of unwanted modules (modules not to build) in a separate file so as not to clutter my make.conf. I have placed this file in a sub-dir of /etc. I was hoping that this would do the trick; am I correct?
Code:
.include "/etc/make/modexcl.conf"
Where file modexcl.conf has:
Code:
WITHOUT_MUDULES= list of mod etc
 
I've never tried it but I see no reason why it shouldn't work.
 
So same line exactly
Code:
.include "/etc/make/modexcl.amd64.conf"
in src.conf? will try it and post result (later).

EDIT: Tried, with same result - modules listed as exclude were built anyway :(
 
Code:
WITHOUT_MODULES= "/etc/make/modexcl.conf"
When placed in /etc/make.conf has no effect at all, while the setting below gives error.
Code:
.include "/etc/make/modexcl.conf"
Code:
line 40: Need an operator.
I have tried variations on modexl.conf as I assume I have not created that file correctly. What would be the correct syntax for such a file?
 
Back
Top