Skip to content
Commit 2f6fdb4a authored by Steffen Eiden's avatar Steffen Eiden Committed by Janosch Frank
Browse files

s390x: snippets: Add snippet compilation



This patch provides the necessary make targets to properly compile
snippets and link them into their associated host.

To define the guest-host definition, we use the make-feature
`SECONDEXPANSION` in combination with `Target specific Variable
Values`. The variable `snippets` has different values depending on the
current target. This enables us to define which snippets (=guests)
belong to which hosts. Furthermore, using the second-expansion, we can
use `snippets` in the perquisites of the host's `%.elf` rule, which
otherwise would be not set.

Signed-off-by: default avatarSteffen Eiden <seiden@linux.ibm.com>
Acked-by: default avatarThomas Huth <thuth@redhat.com>
Acked-by: default avatarJanosch Frank <frankja@linux.ibm.com>
parent acc93cbf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment