(errlist.c rules): Do this in subdir stdio-common instead of stdio.

This commit is contained in:
Roland McGrath 1995-10-16 23:10:45 +00:00
parent c90514fc98
commit 10fd03c601

View File

@ -208,7 +208,7 @@ common-generated := $(common-generated) \
ioctls.h ioctls make-ioctls make-ioctls.c
endif
ifeq ($(subdir),stdio)
ifeq ($(subdir),stdio-common)
ifeq (,$(filter-out $(sysdep_dir)/stub/ $(common-objpfx),\
$(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/errlist.c))))))
@ -224,7 +224,7 @@ $(objpfx)make_errlist: $(sysdep_dir)/unix/make_errlist.c
generated := $(generated) make_errlist errlist.c
endif
endif # stdio
endif # stdio-common
ifeq (,$(filter-out $(sysdep_dir)/stub/ $(common-objpfx),\
$(dir $(firstword $(wildcard $(+sysdep_dirs:%=%/syscall.h))))))