1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-20 19:08:33 +00:00
morpheus/config.def.mk

21 lines
765 B
Makefile
Raw Normal View History

2014-02-27 12:41:37 +00:00
#arch = i486
arch = x86_64
root = ${top}/root
nprocs = 4 # number of processes for building separate packages
2014-03-04 11:54:28 +00:00
NPROC = 4 # number of processes for mk concurrency
libcroot = ${root}/opt/cross/${arch}-linux-musl/${arch}-linux-musl
2014-02-27 12:41:37 +00:00
version = 0.0
mirror = http://dl.2f30.org/morpheus-pkgs/${arch}/${version}
CC = ${arch}-linux-musl-gcc
# these don't work for all packages yet...
optldflags = -s -Wl,--gc-sections -Wl,-z,relro,-z,now
optcflags = -fdata-sections -ffunction-sections -Os -g0 -fno-unwind-tables -fno-asynchronous-unwind-tables -Wa,--noexecstack
CPPFLAGS = -D_BSD_SOURCE -D_GNU_SOURCE
2014-03-05 14:13:22 +00:00
CFLAGS = -I${libcroot}/include ${CPPFLAGS} # ${optcflags}
2014-03-05 17:05:30 +00:00
LDFLAGS = -L${libcroot}/lib -static ${optldflags}
2014-02-27 12:41:37 +00:00
2014-02-28 13:41:26 +00:00
PATH = ${root}/opt/cross/${arch}-linux-musl/bin:${PATH}