Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion BoardConfig.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#
# Copyright (C) 2016 The CyanogenMod Project
# Copyright (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -45,7 +46,7 @@ BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100
BOARD_KERNEL_IMAGE_NAME := zImage-dtb
TARGET_KERNEL_APPEND_DTB := true
TARGET_KERNEL_ARCH := arm
TARGET_KERNEL_CONFIG := onyx_defconfig
TARGET_KERNEL_CONFIG := lineageos_onyx_defconfig
TARGET_KERNEL_SOURCE := kernel/oneplus/onyx

# ANT+
Expand Down
4 changes: 4 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
com.android.future.usb.accessory

# Weather providers
PRODUCT_PACKAGES += \
OpenWeatherMapWeatherProvider

# WiFi
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/wifi/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions cm.mk → lineage.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Inherit from onyx device
$(call inherit-product, device/oneplus/onyx/device.mk)

# Inherit some common CM stuff.
# Inherit some common Lineage stuff.
$(call inherit-product, vendor/cm/config/common_full_phone.mk)

# Call the proprietary setup
$(call inherit-product-if-exists, vendor/oneplus/onyx/onyx-vendor.mk)

PRODUCT_NAME := cm_onyx
PRODUCT_NAME := lineage_onyx
PRODUCT_DEVICE := onyx
PRODUCT_MANUFACTURER := OnePlus

Expand Down
6 changes: 3 additions & 3 deletions vendorsetup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
add_lunch_combo cm_onyx-user
add_lunch_combo cm_onyx-userdebug
add_lunch_combo cm_onyx-eng
add_lunch_combo lineage_onyx-user
add_lunch_combo lineage_onyx-userdebug
add_lunch_combo lineage_onyx-eng