diff --git a/target/product/aosp_arm64.mk b/target/product/aosp_arm64.mk index ea8ec06eb..623229523 100644 --- a/target/product/aosp_arm64.mk +++ b/target/product/aosp_arm64.mk @@ -19,6 +19,12 @@ # build quite specifically for the emulator, and might not be # entirely appropriate to inherit from for on-device configurations. +# This is for enabling ethernet support for ranchu. +# Consider removing this after RIL support is provided in ranchu. +# Having this permission file on the target requires additional +# dhcpcd_eth0 service defined in the init.ranchu.rc. +PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml + $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk) $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_arm64/device.mk) diff --git a/target/product/aosp_mips64.mk b/target/product/aosp_mips64.mk index 723c59f43..d485677fd 100644 --- a/target/product/aosp_mips64.mk +++ b/target/product/aosp_mips64.mk @@ -19,6 +19,12 @@ # mips64 build quite specifically for the emulator, and might not be # entirely appropriate to inherit from for on-device configurations. +# This is for enabling ethernet support for ranchu. +# Consider removing this after RIL support is provided in ranchu. +# Having this permission file on the target requires additional +# dhcpcd_eth0 service defined in the init.ranchu.rc. +PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml + $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk) $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_mips64/device.mk) diff --git a/target/product/aosp_x86_64.mk b/target/product/aosp_x86_64.mk index a14508f7b..6c01e5aef 100644 --- a/target/product/aosp_x86_64.mk +++ b/target/product/aosp_x86_64.mk @@ -23,6 +23,12 @@ # that isn't a wifi connection. This will instruct init.rc to enable the # network connection so that you can use it with ADB +# This is for enabling ethernet support for ranchu. +# Consider removing this after RIL support is provided in ranchu. +# Having this permission file on the target requires additional +# dhcpcd_eth0 service defined in the init.ranchu.rc. +PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml + $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk) $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_64/device.mk)