BoardConfig.mk 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #
  2. # Copyright (C) 2021 The Android Open-Source Project
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16. TARGET_BOARD_INFO_FILE := device/google/lynx/board-info.txt
  17. TARGET_BOOTLOADER_BOARD_NAME := lynx
  18. RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_LYNX_RADIO_DIR)
  19. ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
  20. RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q1
  21. else ifneq (,$(filter AP2%,$(RELEASE_PLATFORM_VERSION)))
  22. RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q2
  23. else
  24. RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/trunk
  25. endif
  26. ifdef PHONE_CAR_BOARD_PRODUCT
  27. include vendor/auto/embedded/products/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
  28. else
  29. TARGET_SCREEN_DENSITY := 420
  30. endif
  31. BOARD_USES_GENERIC_AUDIO := true
  32. USES_DEVICE_GOOGLE_LYNX := true
  33. # Enable load module in parallel
  34. BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
  35. # The modules which need to be loaded in sequential
  36. BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
  37. include device/google/gs201/BoardConfig-common.mk
  38. -include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk
  39. -include vendor/google_devices/lynx/proprietary/BoardConfigVendor.mk
  40. include device/google/lynx-sepolicy/lynx-sepolicy.mk
  41. include device/google/gs201/wifi/qcom/BoardConfig-wifi.mk