Browse Source

toolchain: started modeling target as a docker image.

Removed packages that are not needed in a docker image,
linux, syslinux, sudo.
The Image is set to none for now, later we will pack
the rootfs in a tar.xz
master
Nagy Károly Gábriel 8 years ago
parent
commit
ce2c5be84f
5 changed files with 5 additions and 2009 deletions
  1. +5
    -12
      target/toolchain/config.in
  2. +0
    -1969
      target/toolchain/linux.cfg
  3. +0
    -24
      target/toolchain/pkgsel.d/opensde-boot.all
  4. +0
    -1
      target/toolchain/pkgsel.d/opensde-development-toolchain.all
  5. +0
    -3
      target/toolchain/pkgsel.d/toolchain-core.all

+ 5
- 12
target/toolchain/config.in

@ -15,25 +15,18 @@
#Description: Toolchain target
const SDECFG_TRG_TOOLCHAIN ${target:-$SDECFG_TARGET}
for x in OPT=size MULTILIB=0 \
INIT=runit \
; do
for x in OPT=size MULTILIB=0; 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 LINUX_CONFIG_STYLE='none' \
LINUX_CONFIG_FILE="target/$target/linux.cfg" \
; do
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=squashfs
SDECFGSET_IMAGE_SQUASHFS_COMP=gzip
SDECFGSET_IMAGE='none'
SDECFGSET_XTRACE='1'
if [ ! -s "$cfgtmpdir/$target.config.in" ]; then

+ 0
- 1969
target/toolchain/linux.cfg
File diff suppressed because it is too large
View File


+ 0
- 24
target/toolchain/pkgsel.d/opensde-boot.all

@ -1,24 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/toolchain/pkgsel.d/opensde-boot.all
# 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 ---
# linux kernel
X linux
X kmod
X bc
# x86/x86-64 boot loader
X syslinux
# needed by syslinux
X nasm

+ 0
- 1
target/toolchain/pkgsel.d/opensde-development-toolchain.all

@ -34,7 +34,6 @@ X diffutils
X texinfo
X openssl
X perl
X sudo
X curl
X pcre
X python

+ 0
- 3
target/toolchain/pkgsel.d/toolchain-core.all

@ -25,9 +25,6 @@ X linux-header
# zoneinfo
X tzdata
# we build a qemu image
X squashfs-tools
#needed by gcc
X cloog
X gmp

Loading…
Cancel
Save