From 4a18f28b3503ec4a898d52f6b3bedaf262e09600 Mon Sep 17 00:00:00 2001 From: gaoyang3513 Date: Sun, 4 Jun 2023 16:18:32 +0000 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9]=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E9=A1=B9=E7=9B=AEwifi=5Fiot=5Feval?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wifi-iot-cm33/AndroidProducts.mk | 18 +++++++++++++ .../gigadevice/wifi-iot-cm33/BoardConfig.mk | 7 ++++++ .../gigadevice/wifi-iot-cm33/vendorsetup.sh | 23 +++++++++++++++++ .../gigadevice/wifi-iot-cm33/wifi_iot_cm33.mk | 25 +++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 device/gigadevice/wifi-iot-cm33/AndroidProducts.mk create mode 100644 device/gigadevice/wifi-iot-cm33/BoardConfig.mk create mode 100644 device/gigadevice/wifi-iot-cm33/vendorsetup.sh create mode 100644 device/gigadevice/wifi-iot-cm33/wifi_iot_cm33.mk diff --git a/device/gigadevice/wifi-iot-cm33/AndroidProducts.mk b/device/gigadevice/wifi-iot-cm33/AndroidProducts.mk new file mode 100644 index 0000000..d5effa0 --- /dev/null +++ b/device/gigadevice/wifi-iot-cm33/AndroidProducts.mk @@ -0,0 +1,18 @@ +# +# Copyright (C) 2013 The Android Open-Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +PRODUCT_MAKEFILES := \ + $(LOCAL_DIR)/wifi_iot_cm33.mk diff --git a/device/gigadevice/wifi-iot-cm33/BoardConfig.mk b/device/gigadevice/wifi-iot-cm33/BoardConfig.mk new file mode 100644 index 0000000..b41ff3b --- /dev/null +++ b/device/gigadevice/wifi-iot-cm33/BoardConfig.mk @@ -0,0 +1,7 @@ +# BoardConfig.mk +# +# Product-specific compile-time definitions. +# + +# same as cm33s except HAL +include device/generic/mips/BoardConfig.mk diff --git a/device/gigadevice/wifi-iot-cm33/vendorsetup.sh b/device/gigadevice/wifi-iot-cm33/vendorsetup.sh new file mode 100644 index 0000000..bec113b --- /dev/null +++ b/device/gigadevice/wifi-iot-cm33/vendorsetup.sh @@ -0,0 +1,23 @@ +# +# Copyright (C) 2012 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# This file is executed by build/envsetup.sh, and can use anything +# defined in envsetup.sh. +# +# In particular, you can add lunch options with the add_lunch_combo +# function: add_lunch_combo generic-eng + +add_lunch_combo wifi_iot_cm33-userdebug \ No newline at end of file diff --git a/device/gigadevice/wifi-iot-cm33/wifi_iot_cm33.mk b/device/gigadevice/wifi-iot-cm33/wifi_iot_cm33.mk new file mode 100644 index 0000000..b8afa95 --- /dev/null +++ b/device/gigadevice/wifi-iot-cm33/wifi_iot_cm33.mk @@ -0,0 +1,25 @@ +# Copyright (C) 2013 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +$(call inherit-product, device/generic/mini-emulator-armv7-a-neon/mini_emulator_common.mk) + +PRODUCT_NAME := wifi_iot_cm33 +PRODUCT_DEVICE := wifi-iot-cm33 +PRODUCT_BRAND := Android +PRODUCT_MODEL := wifi-iot-cm33 + +LOCAL_KERNEL := prebuilts/qemu-kernel/mips/kernel-qemu +PRODUCT_COPY_FILES += \ + $(LOCAL_KERNEL):kernel +