REmoved selinux boot option from kernel command line, disabled gps module compilation.
SELinux is enforcing by default in android > 5.1.1 and cannot be set to permissive
so there was no point in preserving the boot option. The GPS code which was in the
tree couldn't compile because some proprietary code was needed so I removed the code.
diff --git a/BoardConfig.mk b/BoardConfig.mk
index c15e33d..6a26f1f 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -92,8 +92,8 @@
EXTENDED_FONT_FOOTPRINT := true
# GPS
-TARGET_GPS_HAL_PATH := $(LOCAL_PATH)/gps
-TARGET_NO_RPC := true
+#TARGET_GPS_HAL_PATH := $(LOCAL_PATH)/gps
+#TARGET_NO_RPC := true
#MTP OVERRIDE
TARGET_PROVIDES_MTP := true
@@ -108,7 +108,7 @@
# Kernel
BOARD_CUSTOM_BOOTIMG_MK := $(LOCAL_PATH)/mkbootimg.mk
BOARD_KERNEL_BASE := 0x80000000
-BOARD_KERNEL_CMDLINE := console=null androidboot.hardware=qcom user_debug=23 msm_rtb.filter=0x3F ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci androidboot.selinux=permissive
+BOARD_KERNEL_CMDLINE := console=null androidboot.hardware=qcom user_debug=23 msm_rtb.filter=0x3F ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci
BOARD_KERNEL_PAGESIZE := 2048
BOARD_KERNEL_SEPARATED_DT := true
BOARD_KERNEL_TAGS_OFFSET := 0x01E00000
@@ -154,7 +154,7 @@
TARGET_RECOVERY_PIXEL_FORMAT := ABGR_8888
TARGET_RECOVERY_QCOM_RTC_FIX := true
TARGET_USERIMAGES_USE_EXT4 := true
-TARGET_USERIMAGES_USE_F2FS := true
+TARGET_USERIMAGES_USE_F2FS := false
# RIL
TARGET_RIL_VARIANT := caf