severity: warning
include ../../include-file.inc
This makes assumptions about the layout, how layers are stored on the storage of the local workspace. If now someone places the files in a different layout, the include will be broken.
Use a relative path from the layer root instead
include recipes-something/some-path/include-file.inc