11a4b7ee2SBrad BishopDISABLE_STATIC ?= " --disable-static"
2eb8dc403SDave Cobbley
3eb8dc403SDave Cobbley# qemu aborts on unrecognised option
4*213cb269SPatrick WilliamsDISABLE_STATIC:pn-qemu = ""
5*213cb269SPatrick WilliamsDISABLE_STATIC:pn-qemu-native = ""
6*213cb269SPatrick WilliamsDISABLE_STATIC:pn-nativesdk-qemu = ""
7*213cb269SPatrick WilliamsDISABLE_STATIC:pn-qemu-system-native = ""
8eb8dc403SDave Cobbley# pciutils fails build
9*213cb269SPatrick WilliamsDISABLE_STATIC:pn-pciutils = ""
10eb8dc403SDave Cobbley# libcap aborts on unrecognised option
11*213cb269SPatrick WilliamsDISABLE_STATIC:pn-libcap = ""
12*213cb269SPatrick WilliamsDISABLE_STATIC:pn-libcap-native = ""
13*213cb269SPatrick WilliamsDISABLE_STATIC:pn-nativesdk-libcap = ""
14eb8dc403SDave Cobbley# libpcap aborts on unrecognised option
15*213cb269SPatrick WilliamsDISABLE_STATIC:pn-libpcap = ""
16eb8dc403SDave Cobbley# needed by gdb
17*213cb269SPatrick WilliamsDISABLE_STATIC:pn-readline = ""
18eb8dc403SDave Cobbley# openjade/sgml-common have build issues without static libs
19*213cb269SPatrick WilliamsDISABLE_STATIC:pn-sgml-common-native = ""
20*213cb269SPatrick WilliamsDISABLE_STATIC:pn-openjade-native = ""
21eb8dc403SDave Cobbley# openssl has build issues without static libs
22*213cb269SPatrick WilliamsDISABLE_STATIC:pn-openssl = ""
23*213cb269SPatrick WilliamsDISABLE_STATIC:pn-openssl-native = ""
24*213cb269SPatrick WilliamsDISABLE_STATIC:pn-nativesdk-openssl = ""
25eb8dc403SDave Cobbley# libssp-static-dev included in build-appliance
26*213cb269SPatrick WilliamsDISABLE_STATIC:pn-gcc-runtime = ""
27eb8dc403SDave Cobbley# libusb1-native is used to build static dfu-util-native
28*213cb269SPatrick WilliamsDISABLE_STATIC:pn-libusb1-native = ""
29eb8dc403SDave Cobbley
30*213cb269SPatrick WilliamsEXTRA_OECONF:append = "${DISABLE_STATIC}"
31eb8dc403SDave Cobbley
32*213cb269SPatrick WilliamsEXTRA_OECMAKE:append:pn-libical = " -DSHARED_ONLY=True"
33*213cb269SPatrick WilliamsEXTRA_OECMAKE:append:pn-libjpeg-turbo = " -DENABLE_STATIC=False"
34eb8dc403SDave Cobbley
35*213cb269SPatrick WilliamsEXCONFIG_ARGS:append:pn-ncurses = " --without-normal"
36*213cb269SPatrick WilliamsEXCONFIG_ARGS:append:pn-ncurses-native = " --without-normal"
37*213cb269SPatrick WilliamsEXCONFIG_ARGS:append:pn-nativesdk-ncurses = " --without-normal"
38