Doing so isn't appropriate here - this gets done very early in the build
process. If the directory is mean to to be buildable on its own,
different arrangements would be needed.
The issue has become more pronounced by
47654a0d7320 ("tools/include:
fix (drop) dependencies of when to populate xen/"), but was there before
afaict.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Ian Jackson <ian.jackson@eu.citrix.com>
all: build
.PHONY: build
-build: xen-headers xg_all.a $(XG_HDRS) $(XG_OBJS) Makefile
+build: xg_all.a $(XG_HDRS) $(XG_OBJS) Makefile
# build: mk-symlinks xg_all.a $(XG_HDRS) $(XG_OBJS) Makefile
# build: mk-symlinks xg_all.a
# $(LD) -b elf32-i386 $(LDFLAGS) -r -o $@ $^
# $(CC) -m32 -c -o $@ $^
-xen-headers:
- $(MAKE) -C ../../../include
-
# xg_main.o: xg_main.c Makefile $(XG_HDRS)
#$(CC) -c $(CFLAGS) -o $@ $<