summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2015-05-14 13:39:50 +0100
committerVishal Bhoj <vishal.bhoj@linaro.org>2015-05-14 13:39:50 +0100
commite5a68410328faa996dd389f7f49e127040106279 (patch)
treef926cd82ce963701c0eba4d7d3d21737e0fa71c0
downloadjuno_prebuilt_kernel-e5a68410328faa996dd389f7f49e127040106279.tar.gz
Add wrapper device juno with prebuilt kernel
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--AndroidProducts.mk13
-rw-r--r--BoardConfig.mk3
-rw-r--r--juno_prebuilt_kernel.mk9
-rwxr-xr-xvendorsetup.sh23
4 files changed, 48 insertions, 0 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
new file mode 100644
index 0000000..e2a3380
--- /dev/null
+++ b/AndroidProducts.mk
@@ -0,0 +1,13 @@
+#
+# This file should set PRODUCT_MAKEFILES to a list of product makefiles
+# to expose to the build system. LOCAL_DIR will already be set to
+# the directory containing this file.
+#
+# This file may not rely on the value of any variable other than
+# LOCAL_DIR; do not use any conditionals, and do not look up the
+# value of any variable that isn't set in this file or in a file that
+# it includes.
+#
+
+PRODUCT_MAKEFILES := \
+$(LOCAL_DIR)/juno_prebuilt_kernel.mk
diff --git a/BoardConfig.mk b/BoardConfig.mk
new file mode 100644
index 0000000..aa1f2a8
--- /dev/null
+++ b/BoardConfig.mk
@@ -0,0 +1,3 @@
+TARGET_PREBUILT_KERNEL := device/linaro/juno/kernel
+TARGET_PREBUILT_DTB := device/linaro/juno.dtb
+include device/linaro/juno/BoardConfig.mk
diff --git a/juno_prebuilt_kernel.mk b/juno_prebuilt_kernel.mk
new file mode 100644
index 0000000..1d9f1df
--- /dev/null
+++ b/juno_prebuilt_kernel.mk
@@ -0,0 +1,9 @@
+#
+# Inherit the full_base and device configurations
+$(call inherit-product, device/linaro/juno/device.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
+
+#
+# Overrides
+PRODUCT_NAME := juno_prebuilt_kernel
+PRODUCT_DEVICE := juno_prebuilt_kernel
diff --git a/vendorsetup.sh b/vendorsetup.sh
new file mode 100755
index 0000000..a434e50
--- /dev/null
+++ b/vendorsetup.sh
@@ -0,0 +1,23 @@
+#
+# Copyright (C) 2013 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# This file is executed by build/envsetup.sh, and can use anything
+# defined in envsetup.sh.
+#
+# In particular, you can add lunch options with the add_lunch_combo
+# function: add_lunch_combo generic-eng
+
+add_lunch_combo juno_prebuilt_kernel-userdebug