Changeset 26e7d6d in mainline for boot/Makefile
- Timestamp:
- 2011-09-19T16:31:00Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a347a11
- Parents:
- 3842a955 (diff), 086290d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile
r3842a955 r26e7d6d 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 … … 58 61 cp "$$file" "$(DIST_PATH)/lib/" ; \ 59 62 done 63 ifeq ($(CONFIG_DEVEL_FILES), y) 64 mkdir "$(DIST_PATH)/inc/c/" 65 cp -r -L "$(USPACE_PATH)/lib/c/include/." "$(DIST_PATH)/inc/c/" 66 cat "$(USPACE_PATH)/lib/c/arch/$(UARCH)/_link.ld" | sed 's/^STARTUP(.*)$$//g' > "$(DIST_PATH)/inc/_link.ld" 67 endif 60 68 for file in $(RD_APPS) ; do \ 61 69 cp "$$file" "$(DIST_PATH)/app/" ; \ … … 65 73 done 66 74 for drv in $(RD_DRVS) ; do \ 67 mkdir -p "$(DIST_PATH)/$(DRVS_PATH)/$$drv" ; \ 68 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$drv/$$drv" "$(DIST_PATH)/$(DRVS_PATH)/$$drv/$$drv" ; \ 69 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$drv/$$drv.ma" "$(DIST_PATH)/$(DRVS_PATH)/$$drv/$$drv.ma" ; \ 75 drv_dir="`dirname "$$drv"`" ; \ 76 drv_name="`basename "$$drv"`" ; \ 77 mkdir -p "$(DIST_PATH)/$(DRVS_PATH)/$$drv_name" ; \ 78 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$drv_dir/$$drv_name/$$drv_name" "$(DIST_PATH)/$(DRVS_PATH)/$$drv_name/" ; \ 79 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$drv_dir/$$drv_name/$$drv_name.ma" "$(DIST_PATH)/$(DRVS_PATH)/$$drv_name/" ; \ 70 80 done 71 81 for file in $(RD_DRV_CFG) ; do \ 72 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$file" "$(DIST_PATH)/$(DRVS_PATH)/$$file" ; \ 82 file_dir="`dirname "$$file"`" ; \ 83 file_name="`basename "$$file"`" ; \ 84 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$file_dir/$$file_name/$$file_name.dev" "$(DIST_PATH)/$(DRVS_PATH)/$$file_name/" ; \ 73 85 done 74 86 75 87 clean: clean_dist 76 88 $(MAKE) -f $(BUILD) clean PRECHECK=$(PRECHECK) … … 87 99 rm -rf $(USPACE_PATH)/dist/drv/* 88 100 rm -f $(USPACE_PATH)/dist/lib/* 101 rm -rf $(USPACE_PATH)/dist/inc/* 89 102 rm -f $(USPACE_PATH)/dist/app/* 90 103 rm -f $(USPACE_PATH)/dist/cfg/net/*
Note:
See TracChangeset
for help on using the changeset viewer.