File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -13,4 +13,7 @@ SRC_URI += "\
13
13
SRC_URI += "\
14
14
file://patches/0101-b1.patch \
15
15
"
16
+ UMPF_BASE = "base"
17
+ UMPF_VERSION = "20221209-1"
18
+ PV = "${UMPF_BASE}-${UMPF_VERSION}"
16
19
# umpf-end
Original file line number Diff line number Diff line change @@ -1414,6 +1414,15 @@ format_patch_end() {
1414
1414
if ${NIX} ; then
1415
1415
echo " ]" >& ${series_out}
1416
1416
fi
1417
+ if ${BB} ; then
1418
+ local base_name=" $( < " ${STATE} /base-name" ) "
1419
+ echo " UMPF_BASE = \" ${base_name// v/ } \" " >& ${series_out}
1420
+ echo " UMPF_VERSION = \" $( < " ${STATE} /version" ) \" " >& ${series_out}
1421
+ echo " PV = \"\$ {UMPF_BASE}-\$ {UMPF_VERSION}\" " >& ${series_out}
1422
+ if [ " $( head -n 1 README 2> /dev/null) " = " Linux kernel" ]; then
1423
+ echo " LINUX_VERSION = \"\$ {UMPF_BASE}\" " >& ${series_out}
1424
+ fi
1425
+ fi
1417
1426
echo " $line " >& ${series_out}
1418
1427
}
1419
1428
You can’t perform that action at this time.
0 commit comments