L4Re/departure

Changeset

522:9c9e342f58f8
2023-03-19 Paul Boddie raw files shortlog changelog graph Employ a more general way of including programs in the generated filesystem.
test_files/Makefile (file)
     1.1 --- a/test_files/Makefile	Sat Mar 18 23:57:46 2023 +0100
     1.2 +++ b/test_files/Makefile	Sun Mar 19 00:46:24 2023 +0100
     1.3 @@ -16,6 +16,7 @@
     1.4  L4_SYSTEM	= $(BUILD_ARCH)_$(CPU)
     1.5  
     1.6  PROGRAMS_DIR	= $(PKGDIR_OBJ)/programs/OBJ-$(L4_SYSTEM)-l4f
     1.7 +PROGRAMS	= $(foreach PROGRAM,$(wildcard $(PROGRAMS_DIR)/*),$(if $(shell test -x $(PROGRAM) && echo "Y"),$(PROGRAM),))
     1.8  
     1.9  LIBEXEC_DIR	= $(PKGDIR)/../libexec
    1.10  RM_PROGRAM_DIR	= $(call absfilename,$(OBJ_DIR)/$(LIBEXEC_DIR))/rm/OBJ-$(L4_SYSTEM)-l4f
    1.11 @@ -28,7 +29,7 @@
    1.12  $(TARGET): $(PROGRAMS_DIR) $(RM_PROGRAM)
    1.13  	$(MAKE) -C $(E2ACCESS_DIR) && \
    1.14  	$(PKGDIR)/mk_e2test.sh -q $(PKGDIR) $(E2ACCESS_DIR) $@ \
    1.15 -		$(PROGRAMS_DIR)/dstest_* \
    1.16 +		$(PROGRAMS) \
    1.17  		$(RM_PROGRAM)
    1.18  
    1.19  $(PROGRAMS_DIR): $(PKGDIR)/programs/*.c*