apps/builtin/Makefile: Fix an error introduced with commit 904d68cd1f7394b1c3cb6f0b67651aa4fbee5e62: If there are no built-in functions, then the CATFILE function hangs.
This commit is contained in:
parent
32f50985a6
commit
7d47671b9d
@ -62,8 +62,8 @@ VPATH =
|
|||||||
|
|
||||||
# Registry entry lists
|
# Registry entry lists
|
||||||
|
|
||||||
PDATLIST = $(call RWILDCARD, registry, *.pdat)
|
PDATLIST = $(strip $(call RWILDCARD, registry, *.pdat))
|
||||||
BDATLIST = $(call RWILDCARD, registry, *.bdat)
|
BDATLIST = $(strip $(call RWILDCARD, registry, *.bdat))
|
||||||
|
|
||||||
# Build Targets
|
# Build Targets
|
||||||
|
|
||||||
@ -85,13 +85,17 @@ builtin_list$(OBJEXT): builtin_list.h builtin_proto.h
|
|||||||
builtin_list.h: registry$(DELIM).updated
|
builtin_list.h: registry$(DELIM).updated
|
||||||
$(call DELFILE, .xx_builtin_list.h)
|
$(call DELFILE, .xx_builtin_list.h)
|
||||||
$(Q) touch .xx_builtin_list.h
|
$(Q) touch .xx_builtin_list.h
|
||||||
|
ifneq ($(BDATLIST),)
|
||||||
$(call CATFILE, .xx_builtin_list.h, $(BDATLIST))
|
$(call CATFILE, .xx_builtin_list.h, $(BDATLIST))
|
||||||
|
endif
|
||||||
$(Q) mv .xx_builtin_list.h builtin_list.h
|
$(Q) mv .xx_builtin_list.h builtin_list.h
|
||||||
|
|
||||||
builtin_proto.h: registry$(DELIM).updated
|
builtin_proto.h: registry$(DELIM).updated
|
||||||
$(call DELFILE, .xx_builtin_proto.h)
|
$(call DELFILE, .xx_builtin_proto.h)
|
||||||
$(Q) touch .xx_builtin_proto.h
|
$(Q) touch .xx_builtin_proto.h
|
||||||
|
ifneq ($(PDATLIST),)
|
||||||
$(call CATFILE, .xx_builtin_proto.h, $(PDATLIST))
|
$(call CATFILE, .xx_builtin_proto.h, $(PDATLIST))
|
||||||
|
endif
|
||||||
$(Q) mv .xx_builtin_proto.h builtin_proto.h
|
$(Q) mv .xx_builtin_proto.h builtin_proto.h
|
||||||
|
|
||||||
.built: $(OBJS)
|
.built: $(OBJS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user