Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | DISABLE_STATIC ?= " --disable-static" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 2 | |
| 3 | # qemu aborts on unrecognised option |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 4 | DISABLE_STATIC:pn-qemu = "" |
| 5 | DISABLE_STATIC:pn-qemu-native = "" |
| 6 | DISABLE_STATIC:pn-nativesdk-qemu = "" |
| 7 | DISABLE_STATIC:pn-qemu-system-native = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 8 | # pciutils fails build |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 9 | DISABLE_STATIC:pn-pciutils = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 10 | # libcap aborts on unrecognised option |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 11 | DISABLE_STATIC:pn-libcap = "" |
| 12 | DISABLE_STATIC:pn-libcap-native = "" |
| 13 | DISABLE_STATIC:pn-nativesdk-libcap = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 14 | # libpcap aborts on unrecognised option |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 15 | DISABLE_STATIC:pn-libpcap = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 16 | # needed by gdb |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 17 | DISABLE_STATIC:pn-readline = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 18 | # openjade/sgml-common have build issues without static libs |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 19 | DISABLE_STATIC:pn-sgml-common-native = "" |
| 20 | DISABLE_STATIC:pn-openjade-native = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 21 | # openssl has build issues without static libs |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 22 | DISABLE_STATIC:pn-openssl = "" |
| 23 | DISABLE_STATIC:pn-openssl-native = "" |
| 24 | DISABLE_STATIC:pn-nativesdk-openssl = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 25 | # libssp-static-dev included in build-appliance |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 26 | DISABLE_STATIC:pn-gcc-runtime = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 27 | # libusb1-native is used to build static dfu-util-native |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 28 | DISABLE_STATIC:pn-libusb1-native = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 29 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 30 | EXTRA_OECONF:append = "${DISABLE_STATIC}" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 31 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 32 | EXTRA_OECMAKE:append:pn-libical = " -DSHARED_ONLY=True" |
| 33 | EXTRA_OECMAKE:append:pn-libjpeg-turbo = " -DENABLE_STATIC=False" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 34 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 35 | EXCONFIG_ARGS:append:pn-ncurses = " --without-normal" |
| 36 | EXCONFIG_ARGS:append:pn-ncurses-native = " --without-normal" |
| 37 | EXCONFIG_ARGS:append:pn-nativesdk-ncurses = " --without-normal" |