build: catch obviously wrong UAPI setting
This commit is contained in:
parent
01a10f0d5d
commit
865d8f62da
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue