abuild.conf 817 Bytes
Newer Older
1 2
CARCH=x86
CBUILD=i486-alpine-linux-uclibc
3 4 5 6 7 8 9 10 11

# for x86_64 we want:
# CARCH=x86_64
# CBUILD=x86_64-alpine-linux-uclibc

# for powerpc we want:
# CARCH=powerpc
# CBUILD=powerpc-alpine-linux-uclibc

12
CHOST=$CBUILD
13 14 15
CTARGET=$CHOST

export CFLAGS="-Os -fomit-frame-pointer"
Natanael Copa's avatar
Natanael Copa committed
16
export CXXFLAGS="$CFLAGS"
17
export CPPFLAGS="$CFLAGS"
18
export LDFLAGS="-Wl,--as-needed"
Natanael Copa's avatar
Natanael Copa committed
19

20 21
export JOBS=2
export MAKEFLAGS=-j$JOBS
Linux User's avatar
Linux User committed
22 23 24

# remove line below to disable colors
USE_COLORS=1
25

26
SRCDEST=/var/cache/distfiles
27 28

# uncomment line below to store built packages in other location
Natanael Copa's avatar
Natanael Copa committed
29 30 31
# The package will be stored as $REPODEST/$repo/$pkgname-$pkgver-r$pkgrel.apk
# where $repo is the name of the parent directory of $startdir.
#REPODEST=/var/lib/packages/
Natanael Copa's avatar
Natanael Copa committed
32

33
# PACKAGER is used to create new aports with 'newapkbuild ...'
Natanael Copa's avatar
Natanael Copa committed
34 35
#PACKAGER="Your Name <your@email.address>"