blob: d5da62685dcf422440a4ed6ce5472beaec69c13f (
plain)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
#
# Build group minipix
#
MINIPIX_CFLAGS_CONFIGURE="$(rtl_lconcat "${DEFAULT_CFLAGS}" "--sysroot=${PREFIX_NATIVE}")";
MINIPIX_CXXFLAGS_CONFIGURE="$(rtl_lconcat "${DEFAULT_CXXFLAGS}" "--sysroot=${PREFIX_NATIVE}")";
MINIPIX_CONFIG_CACHE_LOCAL="${CONFIG_CACHE_GNULIB}";
MINIPIX_CONFIGURE_ARGS="-C --disable-nls --host=${DEFAULT_TARGET} --prefix= --program-prefix= --target=${DEFAULT_TARGET}";
MINIPIX_GROUP_DEPENDS="host_deps host_deps_rpm host_toolchain host_tools native_packages native_toolchain native_tools";
MINIPIX_LDFLAGS_BUILD="--sysroot=${PREFIX_NATIVE} -mvrfs";
MINIPIX_LDFLAGS_CONFIGURE="--sysroot=${PREFIX_NATIVE} -mvrfs";
MINIPIX_MAKEFLAGS_INSTALL="PREFIX= prefix=";
MINIPIX_PACKAGES="
bash_minipix bzip2_minipix ca_certificates_minipix coreutils_minipix
dash_minipix diffutils_minipix dropbear_minipix findutils_minipix
gawk_minipix gdb_minipix grep_minipix gzip_minipix infounzip_minipix
infozip_minipix less_minipix libz_minipix nano_minipix patch_minipix
python2_minipix sed_minipix tar_minipix tpax_minipix vim_minipix
wget_minipix which_minipix xz_minipix mintty_minipix ntctty_minipix
ntux_minipix perk_minipix ptycon_minipix toksvc_minipix";
MINIPIX_PKG_CONFIG_LIBDIR="${PREFIX_NATIVE}/lib/pkgconfig";
MINIPIX_PKGLIST_DISABLE=1;
MINIPIX_PREFIX="${PREFIX}/minipix_dist";
MINIPIX_RPM_DISABLE=1;
MINIPIX_SOFORT_NATIVE_CFLAGS="-I${PREFIX}/include";
MINIPIX_SOFORT_NATIVE_CXXFLAGS="-I${PREFIX}/include";
MINIPIX_SOFORT_NATIVE_LDFLAGS="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib";
#
# 3rd party packages
: ${PKG_BASH_MINIPIX_INHERIT_FROM:=bash};
: ${PKG_BASH_MINIPIX_BUILD_STEPS_DISABLE:=install_make};
: ${PKG_BASH_MINIPIX_INSTALL_FILES:="../obj/bash=bin/ ../obj/bashbug=bin/"};
: ${PKG_BZIP2_MINIPIX_INHERIT_FROM:=bzip2};
: ${PKG_BZIP2_MINIPIX_BUILD_STEPS_DISABLE:="install_make"};
: ${PKG_BZIP2_MINIPIX_INSTALL_FILES:="../bzip2-${PKG_BZIP2_VERSION}/bzip2=bin/ @bzip2=bin/bunzip2 @bzip2=bin/bzcat @bzip2=bin/bzip2recover @bzip2=bin/bzgrep @bzip2=bin/bzmore @bzip2=bin/bzdiff"};
: ${PKG_BZIP2_MINIPIX_MAKEFLAGS_BUILD_EXTRA:="-f Makefile"};
: ${PKG_CA_CERTIFICATES_MINIPIX_INHERIT_FROM:=ca_certificates};
: ${PKG_COREUTILS_MINIPIX_INHERIT_FROM:=coreutils};
: ${PKG_COREUTILS_MINIPIX_INSTALL_TARGET:=install-binPROGRAMS};
: ${PKG_COREUTILS_MINIPIX_MAKEFLAGS_INSTALL_EXTRA:=INSTALL_PROGRAM=${DEFAULT_TARGET}-install-strip};
: ${PKG_DASH_MINIPIX_INHERIT_FROM:=dash};
: ${PKG_DASH_MINIPIX_INSTALL_FILES:=bin/dash=bin/sh};
: ${PKG_DIFFUTILS_MINIPIX_INHERIT_FROM:=diffutils};
: ${PKG_DROPBEAR_MINIPIX_INHERIT_FROM:=dropbear};
: ${PKG_DROPBEAR_MINIPIX_INSTALL_FILES:=sbin/dropbear=bin/dropbear};
: ${PKG_FINDUTILS_MINIPIX_INHERIT_FROM:=findutils};
: ${PKG_GAWK_MINIPIX_INHERIT_FROM:=gawk};
: ${PKG_GDB_MINIPIX_INHERIT_FROM:=gdb};
: ${PKG_GDB_MINIPIX_DISABLED:=1};
: ${PKG_GREP_MINIPIX_INHERIT_FROM:=grep};
: ${PKG_GZIP_MINIPIX_INHERIT_FROM:=gzip};
: ${PKG_GZIP_MINIPIX_INSTALL_TARGET:=install-binPROGRAMS};
: ${PKG_GZIP_MINIPIX_MAKEFLAGS_INSTALL_EXTRA:="OBJA="};
: ${PKG_INFOUNZIP_MINIPIX_INHERIT_FROM:=infounzip};
: ${PKG_INFOUNZIP_MINIPIX_LDFLAGS_BUILD_EXTRA:=${MINIPIX_LDFLAGS_CONFIGURE}};
: ${PKG_INFOZIP_MINIPIX_INHERIT_FROM:=infozip};
: ${PKG_INFOZIP_MINIPIX_LDFLAGS_BUILD_EXTRA:=${MINIPIX_LDFLAGS_CONFIGURE}};
: ${PKG_LESS_MINIPIX_INHERIT_FROM:=less};
: ${PKG_LIBZ_MINIPIX_INHERIT_FROM:=libz};
: ${PKG_NANO_MINIPIX_INHERIT_FROM:=nano};
: ${PKG_PATCH_MINIPIX_INHERIT_FROM:=patch};
: ${PKG_PYTHON2_MINIPIX_INHERIT_FROM:=python2};
: ${PKG_PYTHON2_MINIPIX_BASE_DIR:=${BUILD_WORKDIR}/python2-minipix-${DEFAULT_TARGET}};
: ${PKG_SED_MINIPIX_INHERIT_FROM:=sed};
: ${PKG_TAR_MINIPIX_INHERIT_FROM:=tar};
: ${PKG_TAR_MINIPIX_MAKEFLAGS_INSTALL:="-C src install-binPROGRAMS"};
: ${PKG_VIM_MINIPIX_INHERIT_FROM:=vim};
: ${PKG_WGET_MINIPIX_INHERIT_FROM:=wget};
: ${PKG_WHICH_MINIPIX_INHERIT_FROM:=which};
: ${PKG_XZ_MINIPIX_INHERIT_FROM:=xz};
#
# Midipix tools
: ${PKG_MINTTY_MINIPIX_INHERIT_FROM:=mintty};
: ${PKG_MINTTY_MINIPIX_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib -mvrfs"};
: ${PKG_NTCTTY_MINIPIX_INHERIT_FROM:=ntctty};
: ${PKG_NTCTTY_MINIPIX_ENV_VARS_EXTRA:="CFLAGS_PATH=-I${PREFIX_NATIVE}/include:LDFLAGS_PATH=-L${PREFIX_NATIVE}/lib"};
: ${PKG_NTCTTY_MINIPIX_CONFIGURE_ARGS:="--prefix= --strict --host=${DEFAULT_TARGET}"};
: ${PKG_NTUX_MINIPIX_INHERIT_FROM:=ntux};
: ${PKG_NTUX_MINIPIX_CFLAGS_CONFIGURE:="${DEFAULT_CFLAGS_RUNTIME} --sysroot=${PREFIX_NATIVE} -O0 -DNTUX_STANDALONE"};
: ${PKG_NTUX_MINIPIX_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET} --bindir=/bin"};
: ${PKG_NTUX_MINIPIX_LDFLAGS_BUILD:="--sysroot=${PREFIX_NATIVE}"};
: ${PKG_NTUX_MINIPIX_LDFLAGS_CONFIGURE:="--sysroot=${PREFIX_NATIVE}"};
: ${PKG_PERK_MINIPIX_INHERIT_FROM:=perk};
: ${PKG_PTYCON_MINIPIX_INHERIT_FROM:=ptycon};
: ${PKG_PTYCON_MINIPIX_CONFIGURE_ARGS:="--prefix= --strict --host=${DEFAULT_TARGET}"};
: ${PKG_PTYCON_MINIPIX_ENV_VARS_EXTRA:="CFLAGS_PATH=-I${PREFIX_NATIVE}/include:LDFLAGS_PATH=-L${PREFIX_NATIVE}/lib"};
: ${PKG_TOKSVC_MINIPIX_INHERIT_FROM:=toksvc};
: ${PKG_TOKSVC_MINIPIX_CONFIGURE_ARGS:="--prefix= --strict --host=${DEFAULT_TARGET}"};
: ${PKG_TOKSVC_MINIPIX_ENV_VARS_EXTRA:="CFLAGS_PATH=-I${PREFIX_NATIVE}/include:LDFLAGS_PATH=-L${PREFIX_NATIVE}/lib"};
: ${PKG_TPAX_MINIPIX_INHERIT_FROM:=tpax};
: ${PKG_TPAX_MINIPIX_INHERIT_CONFIGURE_ARGS:="--prefix --strict --host=${DEFAULT_TARGET}"};
# vim:filetype=sh textwidth=0
|