Commit efda9cab authored by Pietro Fezzardi's avatar Pietro Fezzardi Committed by Alessandro Rubini

Makefile: added check for wrpc-sw path sanity

parent 3e7f50cd
......@@ -30,3 +30,11 @@ TIME := wrpc
include time-wrpc/Makefile
$(TARGET).o: $(LIBARCH)
$(OBJ-y): wrpcsw_root_check
wrpcsw_root_check:
if ! [ -e "$(WRPCSW_ROOT)/include/wrc.h" ]; then\
echo "Error: WRPCSW_ROOT: can't find $(WRPCSW_ROOT)/include/wrc.h" >&2;\
exit 1;\
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment