On Thu, 2016-01-14 at 17:08 +0800, Du Yukun wrote: > Hi, everyone! > I am trying to add my own program as a stubdom. I failed several > times with the Makefile. I have add my own party in xen/stubdom/Makefile. > It works fine except the mini-os section saying that no rule for target > APP_OBJS
Please post the actual error message. Please also post in plain text and avoid wrapping (since it is important to the Makefile syntax). In fact it might be best to post your modifications (all of them) as a patch to remove any ambiguity. > I only modified the xen/stubdom/Makefile and configure.ac. Can anyone > help me with this problem. Thanks a lot. > > ~~~~~~~~~~~~~~~~~~~~ I added this part into the Makefile in stubdom > .PHONY: libvmi-stubdom > libvmi-stubdom: mini-os-$(XEN_TARGET_ARCH)-libvmi libxc libvmi > DEF_CPPFLAGS="$(TARGET_CPPFLAGS)" DEF_CFLAGS="$(TARGET_CFLAGS)" > DEF_LDFLAGS="$(TARGET_LDFLAGS)" > MINIOS_CONFIG="$(CURDIR)/libvmi/minios.cfg" $(MAKE ) DESTDIR= -C > $(MINI_OS) OBJ_DIR=$(CURDIR)/$< > APP_OBJS=$(CURDIR)/libvmi/example/process-list.a > ~~~~~~~~~~~~~~~~~~~~ > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel