1*eb8dc403SDave CobbleyDISABLE_STATIC = " --disable-static"
2*eb8dc403SDave Cobbley
3*eb8dc403SDave Cobbley# qemu aborts on unrecognised option
4*eb8dc403SDave CobbleyDISABLE_STATIC_pn-qemu = ""
5*eb8dc403SDave CobbleyDISABLE_STATIC_pn-qemu-native = ""
6*eb8dc403SDave CobbleyDISABLE_STATIC_pn-nativesdk-qemu = ""
7*eb8dc403SDave Cobbley# pciutils fails build
8*eb8dc403SDave CobbleyDISABLE_STATIC_pn-pciutils = ""
9*eb8dc403SDave Cobbley# libcap aborts on unrecognised option
10*eb8dc403SDave CobbleyDISABLE_STATIC_pn-libcap = ""
11*eb8dc403SDave CobbleyDISABLE_STATIC_pn-libcap-native = ""
12*eb8dc403SDave CobbleyDISABLE_STATIC_pn-nativesdk-libcap = ""
13*eb8dc403SDave Cobbley# libpcap aborts on unrecognised option
14*eb8dc403SDave CobbleyDISABLE_STATIC_pn-libpcap = ""
15*eb8dc403SDave Cobbley# needed by gdb
16*eb8dc403SDave CobbleyDISABLE_STATIC_pn-readline = ""
17*eb8dc403SDave Cobbley# needed by pseudo
18*eb8dc403SDave CobbleyDISABLE_STATIC_pn-sqlite3 = ""
19*eb8dc403SDave CobbleyDISABLE_STATIC_pn-sqlite3-native = ""
20*eb8dc403SDave CobbleyDISABLE_STATIC_pn-nativesdk-sqlite3 = ""
21*eb8dc403SDave Cobbley# openjade/sgml-common have build issues without static libs
22*eb8dc403SDave CobbleyDISABLE_STATIC_pn-sgml-common-native = ""
23*eb8dc403SDave CobbleyDISABLE_STATIC_pn-openjade-native = ""
24*eb8dc403SDave Cobbley# openssl has build issues without static libs
25*eb8dc403SDave CobbleyDISABLE_STATIC_pn-openssl = ""
26*eb8dc403SDave CobbleyDISABLE_STATIC_pn-openssl-native = ""
27*eb8dc403SDave CobbleyDISABLE_STATIC_pn-nativesdk-openssl = ""
28*eb8dc403SDave CobbleyDISABLE_STATIC_pn-openssl10 = ""
29*eb8dc403SDave CobbleyDISABLE_STATIC_pn-openssl10-native = ""
30*eb8dc403SDave CobbleyDISABLE_STATIC_pn-nativesdk-openssl10 = ""
31*eb8dc403SDave Cobbley# libssp-static-dev included in build-appliance
32*eb8dc403SDave CobbleyDISABLE_STATIC_pn-gcc-runtime = ""
33*eb8dc403SDave Cobbley# libusb1-native is used to build static dfu-util-native
34*eb8dc403SDave CobbleyDISABLE_STATIC_pn-libusb1-native = ""
35*eb8dc403SDave Cobbley
36*eb8dc403SDave CobbleyEXTRA_OECONF_append = "${DISABLE_STATIC}"
37*eb8dc403SDave Cobbley
38*eb8dc403SDave CobbleyEXTRA_OECMAKE_append_pn-libical = " -DSHARED_ONLY=True"
39*eb8dc403SDave Cobbley
40*eb8dc403SDave CobbleyEXCONFIG_ARGS_append_pn-ncurses = " --without-normal"
41*eb8dc403SDave CobbleyEXCONFIG_ARGS_append_pn-ncurses-native = " --without-normal"
42*eb8dc403SDave CobbleyEXCONFIG_ARGS_append_pn-nativesdk-ncurses = " --without-normal"
43