#!/bin/bash # # Copyright 2013, Intel Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Library General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # native #author: Ronan Le Martret ronan@fridu.net source ./yocto-Tizen-Generic-Manager_conf #Create or checkout project. #At first the base project. checkout_project ${POCKY_DIR} ${YOCTO_OPEN_TIZEN_GIT} ${YOCTO_OPEN_TIZEN_BRANCH} ${YOCTO_OPEN_TIZEN_SHA} #add Intel BSP. checkout_project ${META_INTEL_DIR} ${META_INTEL_GIT} ${META_INTEL_BRANCH} ${META_INTEL_SHA} echo git update is over, set a build project ... cd ${POCKY_DIR} echo echo -e "source oe-init-build-env ${BUILDIR} " echo source oe-init-build-env ${BUILDIR} echo source ok # add meta path into the bblayers.conf add_meta_to_bblayers ${META_INTEL_DIR} "${BUILDPATH}/conf/bblayers.conf" add_meta_to_bblayers ${META_INTEL_DIR}/meta-chiefriver "${BUILDPATH}/conf/bblayers.conf" change_conf_default_value '#BB_NUMBER_THREADS ?= \"4\"' 'BB_NUMBER_THREADS = \"16\"' "${BUILDPATH}/conf/local.conf" change_conf_default_value '#PARALLEL_MAKE ?= \"-j 4\"' 'PARALLEL_MAKE ?= \"-j 16\"' "${BUILDPATH}/conf/local.conf" change_conf_default_value 'MACHINE ??= \"qemux86\"' 'MACHINE ??= \"chiefriver\"' "${BUILDPATH}/conf/local.conf" change_conf_default_value '#DL_DIR ?= \"\${TOPDIR}\/downloads\"' 'DL_DIR ?= \"'${YOCTO_DOWNLOAD}'\"' "${BUILDPATH}/conf/local.conf" insert_conf 'MACHINE_FEATURES_append = " acpi alsa apm bluetooth ext2 keyboard pci pcmcia screen touchscreen usbgadget usbhost wifi"' "${BUILDPATH}/conf/local.conf" insert_conf 'IMAGE_INSTALL_append = " mesa-driver-i965 man man-pages sudo connman pulseaudio pulseaudio-server pulseaudio-misc links shadow"' "${BUILDPATH}/conf/local.conf" insert_conf 'DISTRO_FEATURES_append = " ipsec keyboard pci pcmcia usbgadget usbhost wifi pam"' "${BUILDPATH}/conf/local.conf" print_end_update core-image-weston