Add new IMAGE_CLASSES variable for classes for image generation
Allows us to import classes only for images and not to the global namespace (From OE-Core rev: 49dcb301ab39327554d86d23cf6f8d435d7a7351) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
261d611cbe
commit
4115f94f22
|
@ -114,3 +114,9 @@
|
||||||
# The network based PR service host and port
|
# The network based PR service host and port
|
||||||
#PRSERV_HOST = "localhost"
|
#PRSERV_HOST = "localhost"
|
||||||
#PRSERV_PORT = "8585"
|
#PRSERV_PORT = "8585"
|
||||||
|
|
||||||
|
# Additional image generation features
|
||||||
|
#
|
||||||
|
# The following is a list of classes to import to use in the generation of images
|
||||||
|
# currently an example class is image_types_uboot
|
||||||
|
# IMAGE_CLASSES = " image_types_uboot"
|
||||||
|
|
|
@ -109,7 +109,8 @@ def get_devtable_list(d):
|
||||||
str += " %s" % bb.which(bb.data.getVar('BBPATH', d, 1), devtable)
|
str += " %s" % bb.which(bb.data.getVar('BBPATH', d, 1), devtable)
|
||||||
return str
|
return str
|
||||||
|
|
||||||
inherit image_types
|
IMAGE_CLASSES ?= "image_types"
|
||||||
|
inherit ${IMAGE_CLASSES}
|
||||||
|
|
||||||
IMAGE_POSTPROCESS_COMMAND ?= ""
|
IMAGE_POSTPROCESS_COMMAND ?= ""
|
||||||
MACHINE_POSTPROCESS_COMMAND ?= ""
|
MACHINE_POSTPROCESS_COMMAND ?= ""
|
||||||
|
|
Loading…
Reference in New Issue