Always copy init.aoc.daemon.rc to vendor init

We don't have google bsp in tree but we include google's binaries.

Change-Id: I9fbe5b819a46b4500e2d78e65d02dfd1dcfdc8a4
This commit is contained in:
Michael Bestas 2022-08-02 23:30:12 +03:00 committed by Michael Bestas
parent 2801e361ab
commit 8045332316
No known key found for this signature in database
GPG Key ID: CC95044519BE6669

View File

@ -11,13 +11,8 @@ PRODUCT_PACKAGES += \
endif
# If AoC Daemon is not present on this build, load firmware at boot via rc
ifeq ($(wildcard vendor/google/whitechapel/aoc/aocd),)
PRODUCT_COPY_FILES += \
device/google/gs-common/aoc/conf/init.aoc.nodaemon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.aoc.rc
else
PRODUCT_COPY_FILES += \
device/google/gs-common/aoc/conf/init.aoc.daemon.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.aoc.rc
endif
# AoC debug support
PRODUCT_PACKAGES_DEBUG += \