Initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Class to test UBOOT_MKIMAGE and UBOOT_MKIMAGE_SIGN
|
||||
# (in conjunction with kernel-fitimage.bbclass)
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
UBOOT_MKIMAGE = "test_mkimage_wrapper"
|
||||
UBOOT_MKIMAGE_SIGN = "test_mkimage_signing_wrapper"
|
||||
|
||||
test_mkimage_wrapper() {
|
||||
echo "### uboot-mkimage wrapper message"
|
||||
uboot-mkimage "$@"
|
||||
}
|
||||
|
||||
test_mkimage_signing_wrapper() {
|
||||
echo "### uboot-mkimage signing wrapper message"
|
||||
uboot-mkimage "$@"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
python test1_eventhandler() {
|
||||
bb.note("Test for bb.event.BuildStarted")
|
||||
}
|
||||
python test2_eventhandler() {
|
||||
bb.note("Test for bb.event.BuildCompleted")
|
||||
}
|
||||
python test3_eventhandler() {
|
||||
bb.note("Test for bb.event.InvalidEvent")
|
||||
}
|
||||
|
||||
addhandler test1_eventhandler
|
||||
test1_eventhandler[eventmask] = "bb.event.BuildStarted"
|
||||
addhandler test2_eventhandler
|
||||
test2_eventhandler[eventmask] = "bb.event.BuildCompleted"
|
||||
addhandler test3_eventhandler
|
||||
test3_eventhandler[eventmask] = "bb.event.InvalidEvent"
|
||||
Reference in New Issue
Block a user