Message ID | 20180221221342.15683-1-thomas.petazzoni@bootlin.com |
---|---|
Headers | show |
Series | New pkg-stats script, with version information | expand |
On 21-02-18 23:13, Thomas Petazzoni wrote: > - Pass BR2_HAVE_DOT_CONFIG=y when calling make, in order to fake > having a .config. This allows "printvars" to dump all variables > even without a .config. Perhaps it would make more sense to do this directly in the top-level Makefile: # Some targets require the package information but don't really require a # .config. Force BR2_HAVE_DOT_CONFIG=y for these so the packages get included. ifneq ($(filter printvars,$(MAKECMDGOALS),) BR2_HAVE_DOT_CONFIG = y endif There are probably more targets in addition to printvars that could benefit from this (though I can't immediately think of any). Regards, Arnout