diff options
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc index 0a6b7bbe91..d757c89a07 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -75,7 +75,11 @@ subdirs-y += site-local ####################################################################### # Add source classes and their build options -classes-y := ramstage romstage bootblock smm smmstub cpu_microcode rmodules +classes-y := ramstage romstage bootblock smm smmstub cpu_microcode + +# Add dynamic classes for rmodules +$(foreach supported_arch,$(ARCH_SUPPORTED), \ + $(eval $(call define_class,rmodules_$(supported_arch),$(supported_arch)))) ####################################################################### # Helper functions for ramstage postprocess |