build: catch obviously wrong UAPI setting

This commit is contained in:
Philippe Gerum 2020-03-06 16:24:00 +01:00
parent 01a10f0d5d
commit 865d8f62da
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ TARGETS := uapi
uapi: $(O_UAPI)
$(O_UAPI): $(O_DIR)/.uapi_stamp
@test -d $(UAPI)/ || (echo "make: UAPI: $(UAPI) does not look right" && exit 1)
$(Q)$(MKDIR_P) $(O_UAPI)
$(Q)$(RM) -f $(O_UAPI)/asm $(O_UAPI)/evl
$(Q)if test -r $(UAPI)/Kbuild; then \