summaryrefslogtreecommitdiffstats
path: root/target/board/generic_x86/AndroidBoard.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/board/generic_x86/AndroidBoard.mk')
-rw-r--r--target/board/generic_x86/AndroidBoard.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/board/generic_x86/AndroidBoard.mk b/target/board/generic_x86/AndroidBoard.mk
index 9d64d52..ff46149 100644
--- a/target/board/generic_x86/AndroidBoard.mk
+++ b/target/board/generic_x86/AndroidBoard.mk
@@ -6,3 +6,12 @@ LOCAL_SRC_FILES := init.rc
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
+
+ifeq ($(TARGET_PREBUILT_KERNEL),)
+LOCAL_KERNEL := prebuilt/android-x86/kernel/kernel
+else
+LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
+endif
+
+PRODUCT_COPY_FILES += \
+ $(LOCAL_KERNEL):kernel