build: image: Fix off-by-one in DTC kernel version checks
authorPetr Štetiar <ynezz@true.cz>
Mon, 1 Apr 2019 11:53:31 +0000 (13:53 +0200)
committerPetr Štetiar <ynezz@true.cz>
Mon, 1 Apr 2019 11:53:31 +0000 (13:53 +0200)
commit6027e490930a2a5ade1c7056303ebc18740ec6f1
treebc356b07c1009fca950637ce30acee71a42f0676
parent0a67e84baea3df19de2df6dd0e191183a96daf46
build: image: Fix off-by-one in DTC kernel version checks

It was reported to me on IRC today, that my change causes issues with
kernel versions between 4.14 and 4.19.

It's because I've wrongly used `git describe` in order to get kernel
version where we should disable noisy DTC checks, but I should've used
`git tag --contains` instead.

Fixes: cbbef976e2b ("build: dtc: Disable noisy warnings by default")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
include/image.mk