From 08be039e300fb533d77d600fa15b6251c790490b Mon Sep 17 00:00:00 2001 From: leopesto Date: Tue, 4 Dec 2012 21:14:36 +0100 Subject: [PATCH] Initial Release --- AndroidBoard.mk | 6 +++--- G2L.mk | 13 +++++-------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/AndroidBoard.mk b/AndroidBoard.mk index 91a7fc5..1dda6a6 100644 --- a/AndroidBoard.mk +++ b/AndroidBoard.mk @@ -1,8 +1,8 @@ -LOCAL_PATH := $(call my-dir) +#LOCAL_PATH := $(call my-dir) -include $(CLEAR_VARS) +#include $(CLEAR_VARS) -ALL_PREBUILT += $(INSTALLED_KERNEL_TARGET) +#ALL_PREBUILT += $(INSTALLED_KERNEL_TARGET) # include the non-open-source counterpart to this file diff --git a/G2L.mk b/G2L.mk index c4333df..51f8495 100644 --- a/G2L.mk +++ b/G2L.mk @@ -8,19 +8,16 @@ $(call inherit-product-if-exists, vendor/jiayu/G2L/G2L-vendor.mk) DEVICE_PACKAGE_OVERLAYS += device/jiayu/G2L/overlay LOCAL_PATH := device/Jiayu/G2L -ifeq ($(TARGET_PREBUILT_KERNEL),) - LOCAL_KERNEL := $(LOCAL_PATH)/kernel -else - LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) -endif -PRODUCT_COPY_FILES += \ - $(LOCAL_KERNEL):kernel +ifneq ($(TARGET_PREBUILT_KERNEL),) + PRODUCT_COPY_FILES += \ + device/jiayu/G2L/kernel:kernel +endif PRODUCT_COPY_FILES += \ device/jiayu/G2L/prebuilt/root/init.G2L.rc:root/init.G2L.rc \ device/jiayu/G2L/prebuilt/root/init.G2L.usb.rc:root/init.G2L.usb.rc \ - device/jiayu/G2L/prebuilt/root/ueventd.G2L.rc:root/ueventd.rc \ + device/jiayu/G2L/prebuilt/root/ueventd.G2L.rc:root/ueventd.G2L.rc \ $(call inherit-product, build/target/product/full.mk)