blob: 6df73b653b47ef7f78801996d70881e782b50a46 [file] [log] [blame]
Patrick Williamsac13d5f2023-11-24 18:59:46 -06001require bash.inc
2
3# GPL-2.0-or-later (< 4.0), GPL-3.0-or-later (>= 4.0)
4LICENSE = "GPL-3.0-or-later"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6
7SRC_URI = "${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \
8 file://mkbuiltins_have_stringize.patch \
9 file://build-tests.patch \
10 file://test-output.patch \
11 file://run-ptest \
12 file://run-bash-ptests \
13 file://fix-run-builtins.patch \
14 file://use_aclocal.patch \
15 "
16
17SRC_URI[tarball.sha256sum] = "c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b977f078560d5b8"
18
19DEBUG_OPTIMIZATION:append:armv4 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
20DEBUG_OPTIMIZATION:append:armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
21
22BBCLASSEXTEND = "nativesdk"