-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.sh
More file actions
27 lines (22 loc) · 762 Bytes
/
config.sh
File metadata and controls
27 lines (22 loc) · 762 Bytes
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
#!/bin/sh
#
# Config file for musl-cross <https://github.com/GregorR/musl-cross>
# You'll need a cross-compiler to build simpler and musl-cross
# can do it for you. There's no need for musl-cross if you're using
# simpler to build itself.
#
# To build a cross-compiler follow these steps:
#
# git clone https://github.com/GregorR/musl-cross.git
# cd musl-cross
# cp ../config.sh .
# ./build
GCC_BUILTIN_PREREQS=yes
ARCH=arm
TRIPLE=arm-linux-musleabihf
GCC_BOOTSTRAP_CONFFLAGS="--with-arch=armv6zk --with-float=hard --with-fpu=vfp"
GCC_CONFFLAGS="--with-arch=armv6zk --with-float=hard --with-fpu=vfp"
CC_BASE_PREFIX=/opt/cross
MAKEFLAGS=-j8
# Enable this to build the bootstrap gcc (thrown away) without optimization, to reduce build time
GCC_STAGE1_NOOPT=1