OSDN Git Service

Fix the building issues on Android 6.0
authorChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 10 Oct 2015 18:31:17 +0000 (02:31 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 5 May 2016 18:17:12 +0000 (02:17 +0800)
Remove components that can't be built temporarily.

BoardConfig.mk
packages.mk
tablet-mode/tablet-mode.c

index 7faf53b..c3a18eb 100644 (file)
@@ -70,7 +70,7 @@ BOARD_WPA_SUPPLICANT_PRIVATE_LIB ?= private_lib_driver_cmd
 WPA_SUPPLICANT_VERSION ?= VER_2_1_DEVEL
 WIFI_DRIVER_MODULE_PATH ?= auto
 
-BOARD_GPU_DRIVERS ?= i915 i965 nouveau r300g r600g radeonsi swrast
+BOARD_GPU_DRIVERS ?= i915 i965 nouveau r300g r600g swrast
 ifneq ($(strip $(BOARD_GPU_DRIVERS)),)
 TARGET_HARDWARE_3D := true
 BOARD_EGL_CFG ?= device/generic/common/gpu/egl_mesa.cfg
index dc06b59..1c6cd05 100644 (file)
@@ -46,7 +46,6 @@ PRODUCT_PACKAGES := \
     libhuaweigeneric-ril \
     lights.default \
     make_ext4fs \
-    parted \
     powerbtnd \
     scp \
     sensors.hsb \
@@ -76,6 +75,5 @@ PRODUCT_PACKAGES += \
 
 # Third party apps
 PRODUCT_PACKAGES += \
-    CMFileManager \
     Superuser \
     TSCalibration2 \
index aea8d97..a06778f 100644 (file)
@@ -16,6 +16,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <dirent.h>
+#include <string.h>
 #include <cutils/log.h>
 #include <linux/input.h>
 #include <linux/uinput.h>