[Peter: add semicolon and || exit 1 to catch failures] Signed-off-by: Laurent Hartanerot <laurent.hartanerot@atos.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
@@ -79,7 +79,7 @@ endif
ifeq ($(IMX_GPU_VIV_LIB_TARGET),x11)
define IMX_GPU_VIV_FIXUP_PKGCONFIG
for lib in egl gbm glesv1_cm glesv2 vg; do \
- ln -sf $${lib}_x11.pc $(@D)/gpu-core/usr/lib/pkgconfig/$${lib}.pc
+ ln -sf $${lib}_x11.pc $(@D)/gpu-core/usr/lib/pkgconfig/$${lib}.pc || exit 1; \
done
endef
endif