diff --git a/apps/plugins/pacbox/SOURCES b/apps/plugins/pacbox/SOURCES index cedcda1363..fdda4ca2d7 100644 --- a/apps/plugins/pacbox/SOURCES +++ b/apps/plugins/pacbox/SOURCES @@ -2,7 +2,7 @@ arcade.c pacbox.c hardware.c z80.c -#if (CONFIG_CPU == PP5020) && (LCD_WIDTH >= 288) && (LCD_HEIGHT >= 224) +#if defined(CPU_PP502x) && (LCD_WIDTH >= 288) && (LCD_HEIGHT >= 224) pacbox_arm.S #else pacbox_lcd.c diff --git a/firmware/SOURCES b/firmware/SOURCES index 2a7bea3e9f..644b7d7148 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -295,7 +295,7 @@ target/arm/pnx0101/system-pnx0101.c #if defined(CPU_PP) #if CONFIG_CPU == PP5002 target/arm/system-pp5002.c -#elif (CONFIG_CPU == PP5020) || (CONFIG_CPU == PP5024) +#elif defined CPU_PP502x target/arm/system-pp502x.c #endif #ifdef BOOTLOADER