omni_PL2.mk 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #
  2. # Copyright (C) 2018 The Android Open Source Project
  3. #
  4. # This program is free software: you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation, either version 3 of the License, or
  7. # (at your option) any later version.
  8. #
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. # GNU General Public License for more details.
  13. #
  14. # You should have received a copy of the GNU General Public License
  15. # along with this program. If not, see <https://www.gnu.org/licenses/>.
  16. #
  17. # Release name
  18. PRODUCT_RELEASE_NAME := PL2
  19. $(call inherit-product, build/target/product/embedded.mk)
  20. # Inherit from our custom product configuration
  21. $(call inherit-product, vendor/omni/config/common.mk)
  22. # Inherit language packages
  23. $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
  24. # Charger
  25. PRODUCT_PACKAGES += \
  26. charger_res_images \
  27. charger
  28. # Define time zone data path
  29. ifneq ($(wildcard bionic/libc/zoneinfo),)
  30. TZDATAPATH := bionic/libc/zoneinfo
  31. else ifneq ($(wildcard system/timezone),)
  32. TZDATAPATH := system/timezone/output_data/iana
  33. endif
  34. # Time Zone data for Recovery
  35. ifdef TZDATAPATH
  36. PRODUCT_COPY_FILES += \
  37. $(TZDATAPATH)/tzdata:recovery/root/system/usr/share/zoneinfo/tzdata
  38. endif
  39. ## Device identifier. This must come after all inclusions
  40. PRODUCT_NAME := omni_PL2
  41. PRODUCT_DEVICE := PL2
  42. PRODUCT_BRAND := Nokia
  43. PRODUCT_MODEL := 6.1
  44. PRODUCT_MANUFACTURER := Nokia