2010-11-24 08:08:51 +00:00
|
|
|
CARCH=x86
|
|
|
|
CBUILD=i486-alpine-linux-uclibc
|
2011-02-09 22:36:19 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2010-11-24 08:08:51 +00:00
|
|
|
CHOST=$CBUILD
|
2010-11-19 09:48:53 +00:00
|
|
|
CTARGET=$CHOST
|
|
|
|
|
|
|
|
export CFLAGS="-Os -fomit-frame-pointer"
|
2008-10-18 08:09:24 +00:00
|
|
|
export CXXFLAGS="$CFLAGS"
|
2008-11-13 10:41:29 +00:00
|
|
|
export CPPFLAGS="$CFLAGS"
|
2008-11-27 17:45:48 +00:00
|
|
|
export LDFLAGS="-Wl,--as-needed"
|
2008-10-18 08:09:24 +00:00
|
|
|
|
2010-01-07 19:56:12 +00:00
|
|
|
export JOBS=2
|
|
|
|
export MAKEFLAGS=-j$JOBS
|
2008-11-08 11:05:45 +00:00
|
|
|
|
|
|
|
# remove line below to disable colors
|
|
|
|
USE_COLORS=1
|
2008-11-27 17:45:48 +00:00
|
|
|
|
2010-11-19 09:48:53 +00:00
|
|
|
SRCDEST=/var/cache/distfiles
|
2008-11-27 17:45:48 +00:00
|
|
|
|
|
|
|
# uncomment line below to store built packages in other location
|
2009-01-22 09:08:50 +00:00
|
|
|
# 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/
|
2009-01-29 11:56:03 +00:00
|
|
|
|
2011-04-14 05:24:43 +00:00
|
|
|
# PACKAGER is used to create new aports with 'newapkbuild ...'
|
2009-01-29 11:56:03 +00:00
|
|
|
#PACKAGER="Your Name <your@email.address>"
|
|
|
|
|