Changes in boot/Makefile [3c5b86c:ea906c29] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile

    r3c5b86c rea906c29  
    6868                cp "$$file" "$(DIST_PATH)/app/" ; \
    6969        done
    70 ifeq ($(CONFIG_PCUT_TESTS),y)
    71         echo "echo Running all tests..." >"$(DIST_PATH)/test/run_all"
    72         echo "<html><head><title>HelenOS test results</title></head><body>" >"$(DIST_PATH)/test/test.html"
    73         echo "<h1>HelenOS test results</h1><ul>" >>"$(DIST_PATH)/test/test.html"
    74         for file in $(RD_TESTS) ; do \
    75                 file2=`basename $$file`; \
    76                 cp "$$file" "$(DIST_PATH)/test/" ; \
    77                 echo "echo ' ->' $$file2" >>"$(DIST_PATH)/test/run_all"; \
    78                 echo "/test/$$file2 | to /test/$$file2.out" >>"$(DIST_PATH)/test/run_all"; \
    79                 echo "cat /test/$$file2.out" >>"$(DIST_PATH)/test/run_all"; \
    80                 echo "cp -f /test/$$file2.out /data/web/result-$$file2.txt" >>"$(DIST_PATH)/test/run_all"; \
    81                 echo "<li><a href=\"result-$$file2.txt\">$$file2</a></li>" >>"$(DIST_PATH)/test/test.html"; \
    82         done
    83         echo "cp -f /test/test.html /data/web/test.html" >>"$(DIST_PATH)/test/run_all"
    84         echo "</ul></body></html>" >>"$(DIST_PATH)/test/test.html"
    85 endif
    86 
    87 ifeq ($(CONFIG_PCUT_SELF_TESTS),y)
    88         echo "echo Running all PCUT self-tests..." >"$(DIST_PATH)/test/run_pcut"
    89         echo "<html><head><title>Results of PCUT self-tests on HelenOS</title></head><body>" >"$(DIST_PATH)/test/pcut.html"
    90         echo "<h1>Results of PCUT self-tests on HelenOS</h1><ul>" >>"$(DIST_PATH)/test/pcut.html"
    91         for file in $(USPACE_PATH)/lib/pcut/test-libpcut-*; do \
    92                 file2=`basename $$file`; \
    93                 name=`echo "$$file2" | sed 's/test-libpcut-//'`; \
    94                 cp "$$file" "$(DIST_PATH)/test/" ; \
    95                 echo "echo ' ->' $$name" >>"$(DIST_PATH)/test/run_pcut"; \
    96                 echo "/test/$$file2 | to /test/$$file2.out" >>"$(DIST_PATH)/test/run_pcut"; \
    97                 echo "cat /test/$$file2.out" >>"$(DIST_PATH)/test/run_pcut"; \
    98                 echo "cp -f /test/$$file2.out /data/web/result-$$file2.txt" >>"$(DIST_PATH)/test/run_pcut"; \
    99                 echo "<li><a href=\"result-$$file2.txt\">$$name</a></li>" >>"$(DIST_PATH)/test/pcut.html"; \
    100         done
    101         echo "cp -f /test/pcut.html /data/web/pcut.html" >>"$(DIST_PATH)/test/run_pcut"
    102         echo "</ul></body></html>" >>"$(DIST_PATH)/test/pcut.html"
    103 endif
    104 
    10570        for drv in $(RD_DRVS) ; do \
    10671                drv_dir="`dirname "$$drv"`" ; \
     
    11378                file_dir="`dirname "$$file"`" ; \
    11479                file_name="`basename "$$file"`" ; \
    115                 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$file_dir/$$file_name/"*".dev" "$(DIST_PATH)/$(DRVS_PATH)/$$file_name/" ; \
     80                cp "$(USPACE_PATH)/$(DRVS_PATH)/$$file_dir/$$file_name/$$file_name.dev" "$(DIST_PATH)/$(DRVS_PATH)/$$file_name/" ; \
    11681        done
    117         for file in $(RD_DRVS_FW) ; do \
    118                 file_dir="`dirname "$$file"`" ; \
    119                 file_name="`basename "$$file"`" ; \
    120                 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$file_dir/$$file_name/$$file_name.fw" "$(DIST_PATH)/$(DRVS_PATH)/$$file_name/" ; \
    121         done
    122         if ls $(DIST_OVERLAY_PATH)/* >/dev/null; then \
    123                 cp -r -L $(DIST_OVERLAY_PATH)/* "$(DIST_PATH)"; \
    124         fi
    12582
    12683clean: clean_dist
     
    13794        rm -f $(USPACE_PATH)/dist/srv/*
    13895        rm -rf $(USPACE_PATH)/dist/drv/*
    139         rm -rf $(USPACE_PATH)/dist/lib/*
     96        rm -f $(USPACE_PATH)/dist/lib/*
    14097        rm -rf $(USPACE_PATH)/dist/inc/*
    14198        rm -f $(USPACE_PATH)/dist/app/*
    142         rm -f $(USPACE_PATH)/dist/test/*
    14399        rm -f $(USPACE_PATH)/dist/cfg/net/*
Note: See TracChangeset for help on using the changeset viewer.