Changes in boot/Makefile [cc1a727:a79d88d] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile

    rcc1a727 ra79d88d  
    5050        $(MKFAT) 1048576 $(DIST_PATH) $@
    5151endif
    52 ifeq ($(RDFMT),ext2fs)
    53         $(MKEXT2) 1048576 $(DIST_PATH) $@
    54 endif
    5552
    5653build_dist: clean_dist
    5754        for file in $(RD_SRVS) ; do \
    5855                cp "$$file" "$(DIST_PATH)/srv/" ; \
    59         done
    60         for file in $(RD_LIBS) ; do \
    61                 cp "$$file" "$(DIST_PATH)/lib/" ; \
    6256        done
    6357        for file in $(RD_APPS) ; do \
     
    6862        done
    6963        for drv in $(RD_DRVS) ; do \
    70                 drv_dir="`dirname "$$drv"`" ; \
    71                 drv_name="`basename "$$drv"`" ; \
    72                 mkdir -p "$(DIST_PATH)/$(DRVS_PATH)/$$drv_name" ; \
    73                 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$drv_dir/$$drv_name/$$drv_name" "$(DIST_PATH)/$(DRVS_PATH)/$$drv_name/" ; \
    74                 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$drv_dir/$$drv_name/$$drv_name.ma" "$(DIST_PATH)/$(DRVS_PATH)/$$drv_name/" ; \
     64                mkdir -p "$(DIST_PATH)/$(DRVS_PATH)/$$drv" ; \
     65                cp "$(USPACE_PATH)/$(DRVS_PATH)/$$drv/$$drv" "$(DIST_PATH)/$(DRVS_PATH)/$$drv/$$drv" ; \
     66                cp "$(USPACE_PATH)/$(DRVS_PATH)/$$drv/$$drv.ma" "$(DIST_PATH)/$(DRVS_PATH)/$$drv/$$drv.ma" ; \
    7567        done
    7668        for file in $(RD_DRV_CFG) ; do \
    77                 file_dir="`dirname "$$file"`" ; \
    78                 file_name="`basename "$$file"`" ; \
    79                 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$file_dir/$$file_name/$$file_name.dev" "$(DIST_PATH)/$(DRVS_PATH)/$$file_name/" ; \
     69                cp "$(USPACE_PATH)/$(DRVS_PATH)/$$file" "$(DIST_PATH)/$(DRVS_PATH)/$$file" ; \
    8070        done
    81 
     71       
    8272clean: clean_dist
    8373        $(MAKE) -f $(BUILD) clean PRECHECK=$(PRECHECK)
     
    9383        rm -f $(USPACE_PATH)/dist/srv/*
    9484        rm -rf $(USPACE_PATH)/dist/drv/*
    95         rm -f $(USPACE_PATH)/dist/lib/*
    9685        rm -f $(USPACE_PATH)/dist/app/*
    9786        rm -f $(USPACE_PATH)/dist/cfg/net/*
Note: See TracChangeset for help on using the changeset viewer.