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