From e5a68410328faa996dd389f7f49e127040106279 Mon Sep 17 00:00:00 2001 From: Vishal Bhoj Date: Thu, 14 May 2015 13:39:50 +0100 Subject: Add wrapper device juno with prebuilt kernel Signed-off-by: Vishal Bhoj --- AndroidProducts.mk | 13 +++++++++++++ BoardConfig.mk | 3 +++ juno_prebuilt_kernel.mk | 9 +++++++++ vendorsetup.sh | 23 +++++++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 AndroidProducts.mk create mode 100644 BoardConfig.mk create mode 100644 juno_prebuilt_kernel.mk create mode 100755 vendorsetup.sh 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 -- cgit v1.2.3