16 months ago | Paul Boddie | raw annotate files changeset graph | Changed the process server to act as a plain Opener object, yielding a context through which program invocation details are communicated. Such details include program arguments which are now, once again, passed to the created process. When starting a process, only a collection of argument strings, this including the program filename, are now provided. This is to permit the indication of programs accessible to the process creator that are not necessarily resident in the filesystem of the initiating task. |
1 PKGDIR ?= . 2 L4DIR ?= $(PKGDIR)/../../.. 3 4 E2ACCESS_DIR = $(PKGDIR)/../libe2access/host 5 TARGET = $(PKGDIR)/../conf/e2test.fs 6 7 REQUIRES_LIBS = libc libstdc++ libexec libipc 8 9 include $(L4DIR)/mk/Makeconf 10 11 # Attempt to define system details manually, since the following will not work 12 # until a complete build has been performed. 13 # 14 #include $(OBJ_BASE)/l4defs.mk.inc 15 16 L4_SYSTEM = $(BUILD_ARCH)_$(CPU) 17 18 PROGRAMS_DIR = $(PKGDIR_OBJ)/programs/OBJ-$(L4_SYSTEM)-l4f 19 20 LIBEXEC_DIR = $(PKGDIR)/../libexec 21 RM_PROGRAM_DIR = $(call absfilename,$(OBJ_DIR)/$(LIBEXEC_DIR))/rm/OBJ-$(L4_SYSTEM)-l4f 22 RM_PROGRAM = $(RM_PROGRAM_DIR)/exec_region_mapper 23 24 # Special rules to build the test filesystem. 25 26 all:: $(TARGET) $(PROGRAMS_DIR) 27 28 $(TARGET): $(PROGRAMS_DIR) $(RM_PROGRAM) 29 $(MAKE) -C $(E2ACCESS_DIR) && \ 30 $(PKGDIR)/mk_e2test.sh -q $(PKGDIR) $(E2ACCESS_DIR) $@ \ 31 $(PROGRAMS_DIR)/dstest_* \ 32 $(RM_PROGRAM) 33 34 $(PROGRAMS_DIR): $(PKGDIR)/programs/*.c* 35 $(MAKE) -C $(PKGDIR)/programs $(MKFLAGS) && \ 36 touch $@