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 | # needed by gdb |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 9 | DISABLE_STATIC:pn-readline = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 10 | # openjade/sgml-common have build issues without static libs |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 11 | DISABLE_STATIC:pn-sgml-common-native = "" |
| 12 | DISABLE_STATIC:pn-openjade-native = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 13 | # openssl has build issues without static libs |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 14 | DISABLE_STATIC:pn-openssl = "" |
| 15 | DISABLE_STATIC:pn-openssl-native = "" |
| 16 | DISABLE_STATIC:pn-nativesdk-openssl = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 17 | # libssp-static-dev included in build-appliance |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 18 | DISABLE_STATIC:pn-gcc-runtime = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 19 | # libusb1-native is used to build static dfu-util-native |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 20 | DISABLE_STATIC:pn-libusb1-native = "" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 21 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 22 | EXTRA_OECONF:append = "${DISABLE_STATIC}" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 23 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 24 | EXTRA_OECMAKE:append:pn-libical = " -DSHARED_ONLY=True" |
| 25 | EXTRA_OECMAKE:append:pn-libjpeg-turbo = " -DENABLE_STATIC=False" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 26 | EXTRA_OECMAKE:append:pn-libjpeg-turbo-native = " -DENABLE_STATIC=False" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 27 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 28 | EXCONFIG_ARGS:append:pn-ncurses = " --without-normal" |
| 29 | EXCONFIG_ARGS:append:pn-ncurses-native = " --without-normal" |
| 30 | EXCONFIG_ARGS:append:pn-nativesdk-ncurses = " --without-normal" |