linux: ensure correct make targets are used for cuImage/simpleImage.<dtb>
authorPeter Korsgaard <peter@korsgaard.com>
Sun, 6 May 2018 06:34:18 +0000 (08:34 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 6 May 2018 15:35:00 +0000 (17:35 +0200)
commit978a997c81f41702bc039f89a20129ef65060801
tree1e6e41b37523e998f8470a532d8bdf4fa49c3923
parent10caac5be476d530be7977a618b801ee12ad1dd2
linux: ensure correct make targets are used for cuImage/simpleImage.<dtb>

Fixes https://gitlab.com/buildroot.org/buildroot/-/jobs/66561794

LINUX_DTS_NAME may end up with a leading space because of the += logic, and
may contain multiple dts files - Neither of which works when we construct
the {cu,simple}Image.$(LINUX_DTS_NAME) make target name.

Fix it by using the first word in the variable.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
linux/linux.mk