Compare commits
8 Commits
glued-1.9.
...
release/gl
Author | SHA1 | Date | |
---|---|---|---|
|
90fe5f8cad | ||
|
0217738383 | ||
|
cba834239c | ||
|
46fdf289d9 | ||
|
715b888143 | ||
|
f93e5ff07e | ||
|
18488ce9d0 | ||
|
f447dc266e |
37
docker/Dockerfile
Normal file
37
docker/Dockerfile
Normal file
@@ -0,0 +1,37 @@
|
||||
###########################################################################
|
||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||
# Copyright (C) 2016 OceanScan - Marine Systems & Technology, Lda. #
|
||||
###########################################################################
|
||||
# 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; either version 2 of the License, or (at #
|
||||
# your option) any later version. #
|
||||
# #
|
||||
# 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 #
|
||||
# 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. #
|
||||
###########################################################################
|
||||
# Author: Ricardo Martins #
|
||||
###########################################################################
|
||||
|
||||
FROM debian:8
|
||||
|
||||
MAINTAINER Ricardo Martins <rasm@oceanscan-mst.com>
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
# Update distro.
|
||||
RUN apt-get update -y
|
||||
RUN apt-get dist-upgrade -y
|
||||
RUN apt-get install -y wget
|
||||
RUN apt-get install -y bzip2
|
||||
RUN apt-get install -y git
|
||||
RUN apt-get install -y g++-multilib
|
||||
RUN apt-get install -y cmake
|
||||
RUN apt-get install -y file
|
31
docker/Makefile
Normal file
31
docker/Makefile
Normal file
@@ -0,0 +1,31 @@
|
||||
###########################################################################
|
||||
# GLUED: GNU/Linux Uniform Environment Distribution #
|
||||
# Copyright (C) 2016 OceanScan - Marine Systems & Technology, Lda. #
|
||||
###########################################################################
|
||||
# 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; either version 2 of the License, or (at #
|
||||
# your option) any later version. #
|
||||
# #
|
||||
# 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 #
|
||||
# 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. #
|
||||
###########################################################################
|
||||
# Author: Ricardo Martins #
|
||||
###########################################################################
|
||||
|
||||
TAG := glued
|
||||
VERSION := 2016.05.0
|
||||
VOLUME := $(CURDIR)/..
|
||||
|
||||
all:
|
||||
docker build -t $(TAG):$(VERSION) .
|
||||
|
||||
shell:
|
||||
docker run -w $(VOLUME) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)
|
@@ -1,16 +1,16 @@
|
||||
version=\
|
||||
(
|
||||
'3.0.20'
|
||||
'3.0.28'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://daniel-baumann.ch/files/software/dosfstools/dosfstools-$version.tar.gz"
|
||||
"https://github.com/dosfstools/dosfstools/releases/download/v$version/dosfstools-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'7f1c1afd4ae4622e07b24ec0ddfc4184'
|
||||
'64e3b3a59b51d2a97d7ac38b23a124bb'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
|
@@ -32,5 +32,5 @@ build()
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install &&
|
||||
ln -fs kmod "$cfg_dir_toolchain/sbin/depmod"
|
||||
ln -fs ../bin/kmod "$cfg_dir_toolchain/sbin/depmod"
|
||||
}
|
||||
|
@@ -36,17 +36,20 @@ build()
|
||||
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux &&
|
||||
ARCH=$cfg_target_linux || return 1
|
||||
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux \
|
||||
modules &&
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
modules || return 1
|
||||
|
||||
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux \
|
||||
uImage
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
uImage || return 1
|
||||
fi
|
||||
|
||||
if [ -n "${cfg_target_linux_size}" ]; then
|
||||
@@ -82,11 +85,15 @@ target_install()
|
||||
CROSS_COMPILE="$cfg_target_canonical-" \
|
||||
ARCH="$cfg_target_linux" \
|
||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||
KBUILD_VERBOSE=1 \
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
modules_install
|
||||
|
||||
$cmd_make \
|
||||
CROSS_COMPILE="$cfg_target_canonical-" \
|
||||
ARCH="$cfg_target_linux" \
|
||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||
KBUILD_VERBOSE=1 \
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
firmware_install
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
version=\
|
||||
(
|
||||
'3.1.3'
|
||||
'3.1.4'
|
||||
)
|
||||
|
||||
url=\
|
||||
@@ -10,7 +10,7 @@ url=\
|
||||
|
||||
md5=\
|
||||
(
|
||||
"5fdfa3cfa5c86514ee4a241a1affa138"
|
||||
"b8a2f6b0e68bef46e53da2ac439e1cf4"
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
|
@@ -5,7 +5,7 @@ version=\
|
||||
|
||||
url=\
|
||||
(
|
||||
"ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/distfiles/ntp-$version.tar.gz"
|
||||
"https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
@@ -5,7 +5,7 @@ version=\
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://www.samba.org/ftp/rsync/rsync-$version.tar.gz"
|
||||
"https://download.samba.org/pub/rsync/src/rsync-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
@@ -5,7 +5,7 @@ version=\
|
||||
|
||||
url=\
|
||||
(
|
||||
"ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz"
|
||||
"http://downloads.sourceforge.net/infozip/unzip60.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
Reference in New Issue
Block a user