Don't copy overlays if the copy_overlay package is active
@@ -74,6 +74,9 @@ define RPI_INSTALL_OVERLAYS
endef
RPI_FIRMWARE_INSTALL_TARGET_CMDS += $(RPI_INSTALL_FIRMWARE)
+
+ifneq ($(BR2_PACKAGE_COPY_OVERLAYS),y)
RPI_FIRMWARE_INSTALL_TARGET_CMDS += $(RPI_INSTALL_OVERLAYS)
+endif
$(eval $(generic-package))
