blob: a3a865cac457dc54facadd3afa60e05c77122168 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001DISABLE_STATIC ?= " --disable-static"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05002
3# qemu aborts on unrecognised option
4DISABLE_STATIC_pn-qemu = ""
5DISABLE_STATIC_pn-qemu-native = ""
6DISABLE_STATIC_pn-nativesdk-qemu = ""
Brad Bishop19323692019-04-05 15:28:33 -04007DISABLE_STATIC_pn-qemu-system-native = ""
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05008# pciutils fails build
9DISABLE_STATIC_pn-pciutils = ""
10# libcap aborts on unrecognised option
11DISABLE_STATIC_pn-libcap = ""
12DISABLE_STATIC_pn-libcap-native = ""
13DISABLE_STATIC_pn-nativesdk-libcap = ""
14# libpcap aborts on unrecognised option
15DISABLE_STATIC_pn-libpcap = ""
16# needed by gdb
17DISABLE_STATIC_pn-readline = ""
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050018# openjade/sgml-common have build issues without static libs
19DISABLE_STATIC_pn-sgml-common-native = ""
20DISABLE_STATIC_pn-openjade-native = ""
21# openssl has build issues without static libs
22DISABLE_STATIC_pn-openssl = ""
23DISABLE_STATIC_pn-openssl-native = ""
24DISABLE_STATIC_pn-nativesdk-openssl = ""
25# libssp-static-dev included in build-appliance
26DISABLE_STATIC_pn-gcc-runtime = ""
27# libusb1-native is used to build static dfu-util-native
28DISABLE_STATIC_pn-libusb1-native = ""
29
30EXTRA_OECONF_append = "${DISABLE_STATIC}"
31
Brad Bishop6e60e8b2018-02-01 10:27:11 -050032EXTRA_OECMAKE_append_pn-libical = " -DSHARED_ONLY=True"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080033EXTRA_OECMAKE_append_pn-libjpeg-turbo = " -DENABLE_STATIC=False"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050034
35EXCONFIG_ARGS_append_pn-ncurses = " --without-normal"
36EXCONFIG_ARGS_append_pn-ncurses-native = " --without-normal"
37EXCONFIG_ARGS_append_pn-nativesdk-ncurses = " --without-normal"