grouper: switch to inline kernel building
lol we forgot grouper
so go inline
Change-Id: Id7531451f3e20050c0ed639d4adc6d934093044d
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index d709330..d93db47 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -42,6 +42,11 @@
BOARD_USERDATAIMAGE_PARTITION_SIZE := 6567231488
BOARD_FLASH_BLOCK_SIZE := 4096
+# Kernel
+TARGET_KERNEL_SOURCE := kernel/asus/grouper
+TARGET_KERNEL_CONFIG := slim_grouper_defconfig
+TARGET_KERNEL_CUSTOM_TOOLCHAIN := linaro/bin/arm-linux-gnueabihf-
+
# Wifi related defines
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
WPA_SUPPLICANT_VERSION := VER_0_8_X
diff --git a/device-common.mk b/device-common.mk
index c76e48c..26e4503 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -14,12 +14,6 @@
# limitations under the License.
#
-ifeq ($(TARGET_PREBUILT_KERNEL),)
- LOCAL_KERNEL := device/asus/grouper/kernel
-else
- LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
-endif
-
PRODUCT_AAPT_CONFIG := normal large tvdpi hdpi
PRODUCT_AAPT_PREF_CONFIG := tvdpi
@@ -37,7 +31,6 @@
include frameworks/native/build/tablet-7in-hdpi-1024-dalvik-heap.mk
PRODUCT_COPY_FILES += \
- $(LOCAL_KERNEL):kernel \
device/asus/grouper/ueventd.grouper.rc:root/ueventd.grouper.rc \
device/asus/grouper/init.grouper.usb.rc:root/init.grouper.usb.rc \
device/asus/grouper/gps.conf:system/etc/gps.conf
diff --git a/slim.dependencies b/slim.dependencies
index bb1c750..92205e2 100644
--- a/slim.dependencies
+++ b/slim.dependencies
@@ -33,6 +33,10 @@
"repository": "SlimRoms/proprietary_vendor_widevine",
"target_path": "vendor/widevine",
"branch": "kk4.4"
+ },
+ {
+ "repository": "SlimRoms/kernel_asus_grouper",
+ "target_path": "kernel/asus/grouper",
+ "branch": "kk4.4"
}
-
]