Check-in [3fe401d585]
Overview
Comment:Updated AppFS build script to set the PIN entry program
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3fe401d5853fd52fb4e281ae2cec355c844333be
User & Date: rkeene on 2016-02-16 15:25:24
Other Links: manifest | tags
Context
2016-02-16
16:06
Better handling of loss of connection to the PCSC daemon or card resetting check-in: 9f8b1347d9 user: rkeene tags: trunk
15:25
Updated AppFS build script to set the PIN entry program check-in: 3fe401d585 user: rkeene tags: trunk
15:24
Fixed typo in script that rebuilds built-in certs causing the files to be placed in the wrong directory check-in: 1a5312bdfa user: rkeene tags: trunk
Changes

Modified build/appfs/build.sh from [0e1d570b89] to [8ef3b61bfc].

17
18
19
20
21
22
23

24
25
26
27
28
29
30
		;;
esac

gcc_default_headers_c="$(echo '' | ${CPP:-cpp} -v 2>&1 | sed '/^End of search list/,$ d;0,/search starts here:$/ d' | grep '/gcc/' | sed 's@^ *@-isystem @' | tr $'\n' ' ')"
glibcdir="$(readlink -f /opt/appfs/core.appfs.rkeene.org/glibc/platform/latest)"

./configure \

	--with-pcsc-headers=/opt/appfs/rkeene.org/pcsc-lite/platform/latest/include/PCSC \
	--with-pcsc-libs="-L$(readlink -f /opt/appfs/rkeene.org/pcsc-lite/platform/latest/lib) -Wl,-rpath,$(readlink -f /opt/appfs/rkeene.org/pcsc-lite/platform/latest/lib) -lpcsclite" \
	CC="${CC:-gcc} -nostdinc ${gcc_default_headers_c} -isystem ${glibcdir}/include -isystem /opt/appfs/core.appfs.rkeene.org/linux-headers/platform/2.6.32.63/include" \
	CPPFLAGS="-I/opt/appfs/core.appfs.rkeene.org/zlib/platform/latest/include" \
	LDFLAGS="-L${glibcdir}/lib -L$(readlink -f /opt/appfs/core.appfs.rkeene.org/zlib/platform/latest/lib) -pthread -Wl,--dynamic-linker,${glibcdir}/lib/ld-linux-${ARCH}.so.2"

make







>







17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
		;;
esac

gcc_default_headers_c="$(echo '' | ${CPP:-cpp} -v 2>&1 | sed '/^End of search list/,$ d;0,/search starts here:$/ d' | grep '/gcc/' | sed 's@^ *@-isystem @' | tr $'\n' ' ')"
glibcdir="$(readlink -f /opt/appfs/core.appfs.rkeene.org/glibc/platform/latest)"

./configure \
	--with-pin-command-x='/opt/appfs/rkeene.org/cackey/platform/latest/bin/cackey-ask-pin' \
	--with-pcsc-headers=/opt/appfs/rkeene.org/pcsc-lite/platform/latest/include/PCSC \
	--with-pcsc-libs="-L$(readlink -f /opt/appfs/rkeene.org/pcsc-lite/platform/latest/lib) -Wl,-rpath,$(readlink -f /opt/appfs/rkeene.org/pcsc-lite/platform/latest/lib) -lpcsclite" \
	CC="${CC:-gcc} -nostdinc ${gcc_default_headers_c} -isystem ${glibcdir}/include -isystem /opt/appfs/core.appfs.rkeene.org/linux-headers/platform/2.6.32.63/include" \
	CPPFLAGS="-I/opt/appfs/core.appfs.rkeene.org/zlib/platform/latest/include" \
	LDFLAGS="-L${glibcdir}/lib -L$(readlink -f /opt/appfs/core.appfs.rkeene.org/zlib/platform/latest/lib) -pthread -Wl,--dynamic-linker,${glibcdir}/lib/ld-linux-${ARCH}.so.2"

make