blob: 8ff9e6edaff11585caae6fb05635c86866e60e1b [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001require bash.inc
2
3# GPLv2+ (< 4.0), GPLv3+ (>= 4.0)
4LICENSE = "GPLv3+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6
7SRC_URI = "${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \
8 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-001;apply=yes;striplevel=0;name=patch001 \
9 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-002;apply=yes;striplevel=0;name=patch002 \
10 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-003;apply=yes;striplevel=0;name=patch003 \
11 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-004;apply=yes;striplevel=0;name=patch004 \
12 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-005;apply=yes;striplevel=0;name=patch005 \
13 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-006;apply=yes;striplevel=0;name=patch006 \
14 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-007;apply=yes;striplevel=0;name=patch007 \
Andrew Geissler82c905d2020-04-13 13:39:40 -050015 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-008;apply=yes;striplevel=0;name=patch008 \
16 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-009;apply=yes;striplevel=0;name=patch009 \
17 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-010;apply=yes;striplevel=0;name=patch010 \
18 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-011;apply=yes;striplevel=0;name=patch011 \
19 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-012;apply=yes;striplevel=0;name=patch012 \
20 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-013;apply=yes;striplevel=0;name=patch013 \
21 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-014;apply=yes;striplevel=0;name=patch014 \
22 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-015;apply=yes;striplevel=0;name=patch015 \
23 ${GNU_MIRROR}/bash/bash-${PV}-patches/bash50-016;apply=yes;striplevel=0;name=patch016 \
Brad Bishopc342db32019-05-15 21:57:59 -040024 file://execute_cmd.patch \
25 file://mkbuiltins_have_stringize.patch \
26 file://build-tests.patch \
27 file://test-output.patch \
Brad Bishopc342db32019-05-15 21:57:59 -040028 file://run-ptest \
Brad Bishop15ae2502019-06-18 21:44:24 -040029 file://run-bash-ptests \
Brad Bishopc342db32019-05-15 21:57:59 -040030 file://fix-run-builtins.patch \
31 "
32
33SRC_URI[tarball.md5sum] = "2b44b47b905be16f45709648f671820b"
34SRC_URI[tarball.sha256sum] = "b4a80f2ac66170b2913efbfb9f2594f1f76c7b1afd11f799e22035d63077fb4d"
35
36SRC_URI[patch001.md5sum] = "b026862ab596a5883bb4f0d1077a3819"
37SRC_URI[patch001.sha256sum] = "f2fe9e1f0faddf14ab9bfa88d450a75e5d028fedafad23b88716bd657c737289"
38SRC_URI[patch002.md5sum] = "2f4a7787365790ae57f36b311701ea7e"
39SRC_URI[patch002.sha256sum] = "87e87d3542e598799adb3e7e01c8165bc743e136a400ed0de015845f7ff68707"
40SRC_URI[patch003.md5sum] = "af7f2dd93fd5429fb5e9a642ff74f87d"
41SRC_URI[patch003.sha256sum] = "4eebcdc37b13793a232c5f2f498a5fcbf7da0ecb3da2059391c096db620ec85b"
42SRC_URI[patch004.md5sum] = "b60545b273bfa4e00a760f2c648bed9c"
43SRC_URI[patch004.sha256sum] = "14447ad832add8ecfafdce5384badd933697b559c4688d6b9e3d36ff36c62f08"
44SRC_URI[patch005.md5sum] = "875a0bedf48b74e453e3997c84b5d8a4"
45SRC_URI[patch005.sha256sum] = "5bf54dd9bd2c211d2bfb34a49e2c741f2ed5e338767e9ce9f4d41254bf9f8276"
46SRC_URI[patch006.md5sum] = "4a8ee95adb72c3aba03d9e8c9f96ece6"
47SRC_URI[patch006.sha256sum] = "d68529a6ff201b6ff5915318ab12fc16b8a0ebb77fda3308303fcc1e13398420"
48SRC_URI[patch007.md5sum] = "411560d81fde2dc5b17b83c3f3b58c6f"
49SRC_URI[patch007.sha256sum] = "17b41e7ee3673d8887dd25992417a398677533ab8827938aa41fad70df19af9b"
Andrew Geissler82c905d2020-04-13 13:39:40 -050050SRC_URI[patch008.md5sum] = "dd7cf7a784d1838822cad8d419315991"
51SRC_URI[patch008.sha256sum] = "eec64588622a82a5029b2776e218a75a3640bef4953f09d6ee1f4199670ad7e3"
52SRC_URI[patch009.md5sum] = "c1b3e937cd6dccbb7fd772f32812a0da"
53SRC_URI[patch009.sha256sum] = "ed3ca21767303fc3de93934aa524c2e920787c506b601cc40a4897d4b094d903"
54SRC_URI[patch010.md5sum] = "19b41e73b03602d0e261c471b53e670c"
55SRC_URI[patch010.sha256sum] = "d6fbc325f0b5dc54ddbe8ee43020bced8bd589ddffea59d128db14b2e52a8a11"
56SRC_URI[patch011.md5sum] = "414339330a3634137081a97f2c8615a8"
57SRC_URI[patch011.sha256sum] = "2c4de332b91eaf797abbbd6c79709690b5cbd48b12e8dfe748096dbd7bf474ea"
58SRC_URI[patch012.md5sum] = "1870268f62b907221b078ad109e1fa94"
59SRC_URI[patch012.sha256sum] = "2943ee19688018296f2a04dbfe30b7138b889700efa8ff1c0524af271e0ee233"
60SRC_URI[patch013.md5sum] = "40d923af4b952b01983ed4c889ae2653"
61SRC_URI[patch013.sha256sum] = "f5d7178d8da30799e01b83a0802018d913d6aa972dd2ddad3b927f3f3eb7099a"
62SRC_URI[patch014.md5sum] = "57857b22053c8167677e5e5ac5c6669b"
63SRC_URI[patch014.sha256sum] = "5d6eee6514ee6e22a87bba8d22be0a8621a0ae119246f1c5a9a35db1f72af589"
64SRC_URI[patch015.md5sum] = "c4c6ea23d09a74eaa9385438e48fdf02"
65SRC_URI[patch015.sha256sum] = "a517df2dda93b26d5cbf00effefea93e3a4ccd6652f152f4109170544ebfa05e"
66SRC_URI[patch016.md5sum] = "a682ed6fa2c2e7a7c3ba6bdeada07fb5"
67SRC_URI[patch016.sha256sum] = "ffd1d7a54a99fa7f5b1825e4f7e95d8c8876bc2ca151f150e751d429c650b06d"
Brad Bishopc342db32019-05-15 21:57:59 -040068
69DEBUG_OPTIMIZATION_append_armv4 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
70DEBUG_OPTIMIZATION_append_armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
71
72BBCLASSEXTEND = "nativesdk"