Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 1 | require vim.inc |
| 2 | |
| 3 | PROVIDES = "xxd" |
| 4 | |
| 5 | PACKAGECONFIG_class-native = "" |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame^] | 6 | BBCLASSEXTEND = "native nativesdk" |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 7 | |
| 8 | ALTERNATIVE_${PN}_append = " xxd" |
| 9 | ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd" |
| 10 | ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd" |
Andrew Geissler | 5a43b43 | 2020-06-13 10:46:56 -0500 | [diff] [blame] | 11 | |
| 12 | # We override the default in security_flags.inc because vim (not vim-tiny!) will abort |
| 13 | # in many places for _FORTIFY_SOURCE=2. Security flags become part of CC. |
| 14 | # |
| 15 | lcl_maybe_fortify = "${@oe.utils.conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=1',d)}" |