-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfiguration
65 lines (59 loc) · 3.72 KB
/
configuration
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# this file contains the configuration variables for the main script
# vim: noai:ts=4:sw=4:syn=sh
# Copyright 2013 Jon Allen ([email protected])
#
# 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.
# configuration
# this is a shell script meant to be sourced by builder.sh to provide
# configuration options for the package
# basically our working directory you can change this
# if you want the script to dump everything in a different
# location from where the script is run
BASE_DIR=`pwd`
#this is the path that will be used while the script is running
#it should contain paths to keep the host system and the chroot
#functional
DUAL_PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
# target and sources for our chroot
ROOT_TARGET=build_environment
ROOT_SUITE=saucy
ROOT_SOURCE=http://archive.ubuntu.com/ubuntu/
ROOT_LOCALE=en_US.UTF-8\ UTF-8
ROOT_SOURCES_LIST="
deb http://archive.ubuntu.com/ubuntu $ROOT_SUITE main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu $ROOT_SUITE-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu $ROOT_SUITE-security main restricted universe multiverse
"
# these packages will be installed into the chroot build environment
# and are needed to build the kernel
REQUIRED_PACKAGES=gcc-arm-linux-gnueabihf\ ccache\ kernel-wedge\ libncursesw5-dev\ devscripts\ fakeroot
# the script should be able to figure this out, but you can override
# or set it manually here, leaving it blank is fine
ROOT_ARCH=
# debootstrap sources and working directory
DEBOOT_DEB=debootstrap_1.0.55_all.deb
#DEBOOT_DEB=debootstrap_1.0.48+deb7u1_all.deb
DEBOOT_SRC=http://ftp.debian.org/debian/pool/main/d/debootstrap
DEBOOT_DIR=deboot_working
# directory where the kernel source tree is kept
KERNEL_DIR=kernel_source
#KERNEL_REPO=git://kernel.ubuntu.com/ubuntu/ubuntu-nexus7.git
KERNEL_REPO=https://github.com/ylixir/grouper-kernel.git
KERNEL_OUT_DIR=kernel_target
#KERNEL_TARGET='vmlinuz-3.1.10-8-nexus7'
KERNEL_TARGET='zImage'
RAMDISK_TARGET='initrd.img-3.1.10-8-nexus7'
#KERNEL_CMD_LINE='tegra_wdt.heartbeat=30 tegra_wdt.heartbeat=30 tegraid=30.1.3.0.0 mem=1022M@2048M android.commchip=0 vmalloc=512M androidboot.serialno=015d165c32300010 video=tegrafb no_console_suspend=1 console=none debug_uartport=hsport usbcore.old_scheme_first=1 lp0_vec=8192@0xbddf9000 tegra_fbmem=8195200@0xabe01000 core_edp_mv=0 audio_codec=rt5640 board_info=f41:a00:1:44:2 tegraboot=sdmmc gpt gpt_sector=30535679 androidboot.bootloader=4.23 androidboot.baseband=unknown root=/dev/mmcblk0p9 rootfstype=ext4 rw console=tty0 fbcon=rotate:1 access=m2 splash rootflags=defaults,noatime,nodiratime quiet rootsubdir=/media/0/multirom/roms/arch_20130626/root'
KERNEL_CMD_LINE='tegra_wdt.heartbeat=30 tegraid=30.1.3.0.0 mem=1022M@2048M android.commchip=0 vmalloc=512M androidboot.serialno=015d165c32300010 video=tegrafb debug_uartport=hsport usbcore.old_scheme_first=1 lp0_vec=8192@0xbddf9000 tegra_fbmem=8195200@0xabe01000 core_edp_mv=0 audio_codec=rt5640 board_info=f41:a00:1:44:2 tegraboot=sdmmc gpt gpt_sector=30535679 root=/dev/mmcblk0p9 rootfstype=ext4 rw console=tty0 access=m2 rootflags=defaults,noatime,nodiratime rootsubdir=/media/0/multirom/roms/arch_20130626/root'
#how many processes do you want the build to use?
BUILD_PROCESSES=9