Changes in boot/Makefile [a79d88d:cc1a727] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile
ra79d88d rcc1a727 50 50 $(MKFAT) 1048576 $(DIST_PATH) $@ 51 51 endif 52 ifeq ($(RDFMT),ext2fs) 53 $(MKEXT2) 1048576 $(DIST_PATH) $@ 54 endif 52 55 53 56 build_dist: clean_dist 54 57 for file in $(RD_SRVS) ; do \ 55 58 cp "$$file" "$(DIST_PATH)/srv/" ; \ 59 done 60 for file in $(RD_LIBS) ; do \ 61 cp "$$file" "$(DIST_PATH)/lib/" ; \ 56 62 done 57 63 for file in $(RD_APPS) ; do \ … … 62 68 done 63 69 for drv in $(RD_DRVS) ; do \ 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" ; \ 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/" ; \ 67 75 done 68 76 for file in $(RD_DRV_CFG) ; do \ 69 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$file" "$(DIST_PATH)/$(DRVS_PATH)/$$file" ; \ 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/" ; \ 70 80 done 71 81 72 82 clean: clean_dist 73 83 $(MAKE) -f $(BUILD) clean PRECHECK=$(PRECHECK) … … 83 93 rm -f $(USPACE_PATH)/dist/srv/* 84 94 rm -rf $(USPACE_PATH)/dist/drv/* 95 rm -f $(USPACE_PATH)/dist/lib/* 85 96 rm -f $(USPACE_PATH)/dist/app/* 86 97 rm -f $(USPACE_PATH)/dist/cfg/net/*
Note:
See TracChangeset
for help on using the changeset viewer.