Hi,

On 08/31/2017 05:13 PM, Robert Hartung wrote:
>>     SRC := $(pm_fallback.c,$(wildcard *.c))
>>   to drivers/periph_common/Makefile
>>
>> - add "PSEUDOMODULES += periph_common_%" to makefiles/pseudomodules.mk
>>
>> That would compile pm_fallback *only* if periph_common_pm_fallback is
>> selected. (with #5757, all periph files will become submodules...)
> 
> This does not work for me, should it be
> SRC := $(filter-out pm_fallback.c,$(wildcard *.c))
> ?

Ah, yes.

> 
> In any case, if I added USE_MODULES += periph_common_pm_fallback, it
> will not get compiled. Any idea why?

Did you use "USEMODULE" instead of "USE_MODULES"?
Maybe the periph_common directory doesn't get selected. But we can't
make periph_common_pm_fallback depend on periph_common, that might have
side effects.

How about drivers/pm_fallback/... for now?

Kaspar
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to