select SUNXI_CCU_MP
        select SUNXI_CCU_PHASE
        default ARM64 && ARCH_SUNXI
+       depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
 
 config SUN5I_CCU
        bool "Support for the Allwinner sun5i family CCM"
        select SUNXI_CCU_MP
        select SUNXI_CCU_PHASE
        default MACH_SUN5I
+       depends on MACH_SUN5I || COMPILE_TEST
 
 config SUN6I_A31_CCU
        bool "Support for the Allwinner A31/A31s CCU"
        select SUNXI_CCU_MP
        select SUNXI_CCU_PHASE
        default MACH_SUN6I
+       depends on MACH_SUN6I || COMPILE_TEST
 
 config SUN8I_A23_CCU
        bool "Support for the Allwinner A23 CCU"
        select SUNXI_CCU_MP
        select SUNXI_CCU_PHASE
        default MACH_SUN8I
+       depends on MACH_SUN8I || COMPILE_TEST
 
 config SUN8I_A33_CCU
        bool "Support for the Allwinner A33 CCU"
        select SUNXI_CCU_MP
        select SUNXI_CCU_PHASE
        default MACH_SUN8I
+       depends on MACH_SUN8I || COMPILE_TEST
 
 config SUN8I_H3_CCU
        bool "Support for the Allwinner H3 CCU"
        select SUNXI_CCU_MP
        select SUNXI_CCU_PHASE
        default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
+       depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
 
 config SUN8I_V3S_CCU
        bool "Support for the Allwinner V3s CCU"
        select SUNXI_CCU_MP
        select SUNXI_CCU_PHASE
        default MACH_SUN8I
+       depends on MACH_SUN8I || COMPILE_TEST
 
 config SUN9I_A80_CCU
        bool "Support for the Allwinner A80 CCU"
        select SUNXI_CCU_MP
        select SUNXI_CCU_PHASE
        default MACH_SUN9I
+       depends on MACH_SUN9I || COMPILE_TEST
 
 endif