blob: d046faa4e5ffe22c18b168d68ba7e6b7764e52fb [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001require bash.inc
2
Andrew Geissler9aee5002022-03-30 16:27:02 +00003# GPL-2.0-or-later (< 4.0), GPL-3.0-or-later (>= 4.0)
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00004LICENSE = "GPL-3.0-or-later"
Andrew Geissler595f6302022-01-24 19:11:47 +00005LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6
7SRC_URI = "${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \
8 file://execute_cmd.patch \
9 file://mkbuiltins_have_stringize.patch \
10 file://build-tests.patch \
11 file://test-output.patch \
12 file://run-ptest \
13 file://run-bash-ptests \
14 file://fix-run-builtins.patch \
15 file://use_aclocal.patch \
16 file://makerace.patch \
17 file://makerace2.patch \
18 "
19
20SRC_URI[tarball.sha256sum] = "5bac17218d3911834520dad13cd1f85ab944e1c09ae1aba55906be1f8192f558"
21
22DEBUG_OPTIMIZATION:append:armv4 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
23DEBUG_OPTIMIZATION:append:armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
24
25BBCLASSEXTEND = "nativesdk"