On 2013-02-27 5:45 PM, Pietro Paolini wrote: > Hello all, > > I'd like understand how customise the .config file in order to put inside it > some variable I need and which I use in Makefile in this way : > > ifeq ($(PRODNAME),"custom") > do some stuff here .. > endif > > What I tried, without success :-( was to insert in the .config : > > CONFIG_PLATFORM="custom" > > but as I said it doesn't work. Could you suggest me a document when I can > find how the .config is "read" by the Makefile ? > Yes it seems a bit confusing, but it is how I feel now ! What kind of Makefile are you putting the ifeq test into? .config is read from rules.mk with this line: -include $(TOPDIR)/.config
- Felix _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
