@ -0,0 +1,15 @@ |
|||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
|
# |
||||
|
# Filename: target/toolchain/build.sh |
||||
|
# Copyright (C) 2012 - 2016 The OpenSDE Project |
||||
|
# |
||||
|
# More information can be found in the files COPYING and README. |
||||
|
# |
||||
|
# 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. A copy of the |
||||
|
# GNU General Public License can be found in the file COPYING. |
||||
|
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
|
||||
|
. target/generic/build.sh |
@ -0,0 +1,51 @@ |
|||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
|
# |
||||
|
# Filename: target/toolchain/config.in |
||||
|
# Copyright (C) 2016 The OpenSDE Project |
||||
|
# |
||||
|
# More information can be found in the files COPYING and README. |
||||
|
# |
||||
|
# 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. A copy of the |
||||
|
# GNU General Public License can be found in the file COPYING. |
||||
|
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
|
||||
|
#Description: Toolchain target |
||||
|
|
||||
|
const SDECFG_TRG_TOOLCHAIN ${target:-$SDECFG_TARGET} |
||||
|
|
||||
|
for x in OPT=size MULTILIB=0 \ |
||||
|
LIBC=glibc INIT=runit \ |
||||
|
; do |
||||
|
|
||||
|
export SDECFGSET_$x |
||||
|
done |
||||
|
|
||||
|
for x in \ |
||||
|
CCACHE_USEIT=1 \ |
||||
|
GCC_JAVA=0 GCC_F77=0 GCC_OBJC=0 GCC_GO=0 \ |
||||
|
DJB_LAYOUT=0 \ |
||||
|
; do |
||||
|
|
||||
|
export SDECFGSET_PKG_$x |
||||
|
done |
||||
|
|
||||
|
SDECFGSET_IMAGE=none |
||||
|
SDECFGSET_XTRACE='1' |
||||
|
|
||||
|
if [ ! -s "$cfgtmpdir/$target.config.in" ]; then |
||||
|
# render files just once |
||||
|
lib/sde-config/pkgseldir_compile.sh \ |
||||
|
"CFGTEMP_TRG_TOOLCHAIN_PKGSEL" "SDECFG_TRG_TOOLCHAIN_" \ |
||||
|
"$cfgtmpdir/$target." \ |
||||
|
"target/$target/pkgsel.d" |
||||
|
fi |
||||
|
|
||||
|
if [ -s "$cfgtmpdir/$target.config.in" ]; then |
||||
|
. "$cfgtmpdir/$target.config.in" |
||||
|
else |
||||
|
comment "--- Failed to process pkgsel.d ---" |
||||
|
fi |
||||
|
|
@ -0,0 +1,53 @@ |
|||||
|
O * |
||||
|
X fhs |
||||
|
X sysfiles |
||||
|
|
||||
|
X linux-header |
||||
|
X glibc |
||||
|
|
||||
|
#Toolchain |
||||
|
#this is an extended toolchain |
||||
|
#containing all needed to build |
||||
|
#OpenSDE packages andf boot a builder |
||||
|
X autoconf |
||||
|
X automake |
||||
|
X bash |
||||
|
X binutils |
||||
|
X bison |
||||
|
X bzip2 |
||||
|
X ccache |
||||
|
X coreutils |
||||
|
X diffutils |
||||
|
X file |
||||
|
X findutils |
||||
|
X flex |
||||
|
X gawk |
||||
|
X gcc |
||||
|
X gettext |
||||
|
X gmp |
||||
|
X grep |
||||
|
X groff |
||||
|
X gzip |
||||
|
X libmpc |
||||
|
X libtool |
||||
|
X m4 |
||||
|
X make |
||||
|
X mpfr |
||||
|
X patch |
||||
|
X pkgconfig |
||||
|
X sed |
||||
|
X sudo |
||||
|
X texinfo |
||||
|
X util-linux |
||||
|
X zlib |
||||
|
|
||||
|
#Various stuff |
||||
|
X device-mapper |
||||
|
X lvm2 |
||||
|
X mdadm |
||||
|
X runit |
||||
|
|
||||
|
#Boot |
||||
|
X syslinux |
||||
|
X linux |
||||
|
|