summaryrefslogtreecommitdiffstats
path: root/rules/host-nspr.make
blob: f3f1cbb0fcbddf4c5c3b9f5152e7d513664051ce (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
# -*-makefile-*-
#
# Copyright (C) 2018 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_NSPR) += host-nspr

HOST_NSPR_SUBDIR	:= nspr

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#
# autoconf
#
HOST_NSPR_CONF_TOOL	:= autoconf
# Note: the default is 32bit even on 64bit systems
HOST_NSPR_CONF_OPT	:= \
	$(HOST_AUTOCONF) \
	--enable-optimize=-O2 \
	--disable-debug \
	--disable-debug-symbols \
	--enable-64bit \
	--disable-mdupdate \
	--disable-cplus \
	--disable-strip \
	--disable-wrap-malloc \
	--without-mozilla \
	--with-thumb=toolchain-default \
	--with-thumb-interwork=toolchain-default \
	--with-arch=toolchain-default \
	--with-fpu=toolchain-default \
	--with-float-abi=toolchain-default \
	--with-soft-float=toolchain-default

# vim: syntax=make