bash_5.3.bb 1022 B

1234567891011121314151617181920212223242526
  1. require bash.inc
  2. # GPL-2.0-or-later (< 4.0), GPL-3.0-or-later (>= 4.0)
  3. LICENSE = "GPL-3.0-or-later"
  4. LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
  5. SRC_URI = "${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \
  6. file://mkbuiltins_have_stringize.patch \
  7. file://build-tests.patch \
  8. file://test-output.patch \
  9. file://run-ptest \
  10. file://run-bash-ptests \
  11. file://fix-run-builtins.patch \
  12. "
  13. SRC_URI[tarball.sha256sum] = "0d5cd86965f869a26cf64f4b71be7b96f90a3ba8b3d74e27e8e9d9d5550f31ba"
  14. DEBUG_OPTIMIZATION:append:armv4 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
  15. DEBUG_OPTIMIZATION:append:armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
  16. CFLAGS += "-std=gnu17"
  17. # mkbuiltins.c is built with native toolchain and needs gnu17 as well:
  18. # http://errors.yoctoproject.org/Errors/Details/853016/
  19. BUILD_CFLAGS += "-std=gnu17"
  20. BBCLASSEXTEND = "nativesdk"