Saqib Khan | 4172347 | 2017-09-22 10:21:30 -0500 | [diff] [blame] | 1 | inherit image_version |
| 2 | |
Brad Bishop | 273ec60 | 2018-02-08 16:37:10 -0500 | [diff] [blame] | 3 | SRC_URI_append_aspeed = " file://0001-configs-ast-Add-redundnant-env.patch" |
Adriana Kobylak | 57ef722 | 2017-08-19 09:32:18 -0500 | [diff] [blame] | 4 | |
Brad Bishop | 8623bbe | 2018-03-09 00:04:00 -0500 | [diff] [blame] | 5 | SRC_URI_append_aspeed_df-obmc-ubi-fs = " \ |
| 6 | file://0002-config-ast-common-hack-bootopts.patch \ |
| 7 | file://0003-config-ast-common-Add-bootopts-to-support-ubi-and-mt.patch \ |
| 8 | file://0004-config-ast-common-Add-conditional-factory-reset-comm.patch \ |
Andrew Jeffery | 6a7aa19 | 2018-04-20 13:52:04 +0930 | [diff] [blame] | 9 | file://0005-config-ast-common-Fall-back-to-secondary-flash-on-fa.patch \ |
Brad Bishop | 8623bbe | 2018-03-09 00:04:00 -0500 | [diff] [blame] | 10 | " |
Patrick Williams | 470e25e | 2017-07-27 13:32:33 -0500 | [diff] [blame] | 11 | |
Andrew Jeffery | 66270f4 | 2018-07-26 14:15:21 +0930 | [diff] [blame] | 12 | SRC_URI_append_aspeed_df-isolate-bmc = " \ |
| 13 | file://0001-aspeed-Disable-unnecessary-features.patch \ |
| 14 | " |
John Wang | c2f3526 | 2019-07-10 17:24:54 +0800 | [diff] [blame] | 15 | SRC_URI_append_aspeed_df-aspeednic-use-mac2 = " \ |
| 16 | file://0002-board-aspeed-aspeednic-Use-MAC2-for-networking.patch \ |
| 17 | " |
Andrew Jeffery | 66270f4 | 2018-07-26 14:15:21 +0930 | [diff] [blame] | 18 | |
Andrew Geissler | 32a2f0b | 2018-04-17 10:57:39 -0700 | [diff] [blame] | 19 | do_patch[depends] += "os-release:do_populate_sysroot" |
Brad Bishop | 273ec60 | 2018-02-08 16:37:10 -0500 | [diff] [blame] | 20 | |
Andrew Jeffery | 1cadf4c | 2018-04-05 15:31:15 +0930 | [diff] [blame] | 21 | python do_patch_append_aspeed_df-obmc-ubi-fs () { |
Brad Bishop | 8623bbe | 2018-03-09 00:04:00 -0500 | [diff] [blame] | 22 | version_id=do_get_versionID(d) |
| 23 | d.setVar('VERSION_ID', version_id) |
Andrew Jeffery | 1cadf4c | 2018-04-05 15:31:15 +0930 | [diff] [blame] | 24 | bb.build.exec_func("patch_kernelname", d) |
Saqib Khan | 4172347 | 2017-09-22 10:21:30 -0500 | [diff] [blame] | 25 | } |
| 26 | |
Andrew Jeffery | 1cadf4c | 2018-04-05 15:31:15 +0930 | [diff] [blame] | 27 | patch_kernelname () { |
| 28 | sed -ri "s/kernel-(0|[a-fA-F0-9]{8})/kernel-${VERSION_ID}/g" \ |
| 29 | ${S}/include/configs/ast-common.h &> /dev/null |
Saqib Khan | 4172347 | 2017-09-22 10:21:30 -0500 | [diff] [blame] | 30 | } |