Changeset 5fd05862 in mainline for boot/Makefile
- Timestamp:
- 2019-08-17T12:49:43Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ecf56f80
- Parents:
- 32355bc
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-15 13:55:37)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile
r32355bc r5fd05862 38 38 39 39 build_dist: clean_dist 40 cp -r -L -T -u "$(USPACE_PATH)/dist" "$(DIST_PATH)" 40 41 mkdir -p "$(DIST_PATH)/app/" 41 42 mkdir -p "$(DIST_PATH)/cfg/" … … 49 50 mkdir -p "$(DIST_PATH)/w/" 50 51 51 for srv in $(RD_SRVS) ; do \52 srv_dir="`dirname "$$srv"`" ; \53 srv_name="`basename "$$srv"`" ; \54 mkdir -p "$(DIST_PATH)/srv/$$srv_dir" ; \55 cp "$(USPACE_PATH)/srv/$$srv/$$srv_name" "$(DIST_PATH)/srv/$$srv" ; \56 done57 58 for file in $(RD_LIBS) ; do \59 cp "$$file" "$(DIST_PATH)/lib/" ; \60 done61 62 52 ifeq ($(CONFIG_DEVEL_FILES), y) 63 mkdir -p "$(DIST_PATH)/inc/c/"64 cp -r -L "$(USPACE_PATH)/lib/c/include/." "$(DIST_PATH)/inc/c/"65 cp -r -L "$(ROOT_PATH)/abi/include/." "$(DIST_PATH)/inc/c/"66 cp -r -L "$(USPACE_PATH)/lib/c/arch/$(UARCH)/include/." "$(DIST_PATH)/inc/c/"67 cp -L "$(USPACE_PATH)/lib/c/crt0.o" "$(DIST_PATH)/lib/"68 cp -L "$(USPACE_PATH)/lib/c/crt1.o" "$(DIST_PATH)/lib/"69 53 cp -L "$(LIBGCC_PATH)" "$(DIST_PATH)/lib/" 70 54 endif 71 55 72 for app in $(RD_APPS) ; do \73 app_dir="`dirname "$$app"`" ; \74 app_name="`basename "$$app"`" ; \75 mkdir -p "$(DIST_PATH)/app/$$app_dir" ; \76 cp "$(USPACE_PATH)/app/$$app/$$app_name" "$(DIST_PATH)/app/$$app" ; \77 done78 for file in $(RD_DATA) ; do \79 cp "$$file" "$(DIST_PATH)/" ; \80 done81 82 ifeq ($(CONFIG_PCUT_TESTS),y)83 for file in $(RD_TESTS) ; do \84 cp "$$file" "$(DIST_PATH)/test/" ; \85 done86 endif87 88 ifeq ($(CONFIG_PCUT_SELF_TESTS),y)89 for file in $(USPACE_PATH)/lib/pcut/test-libpcut-*; do \90 cp "$$file" "$(DIST_PATH)/test/" ; \91 done92 endif93 94 for drv in $(RD_DRVS) ; do \95 drv_dir="`dirname "$$drv"`" ; \96 drv_name="`basename "$$drv"`" ; \97 mkdir -p "$(DIST_PATH)/$(DRVS_PATH)/$$drv_name" ; \98 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$drv_dir/$$drv_name/$$drv_name" "$(DIST_PATH)/$(DRVS_PATH)/$$drv_name/" ; \99 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$drv_dir/$$drv_name/$$drv_name.ma" "$(DIST_PATH)/$(DRVS_PATH)/$$drv_name/" ; \100 done101 for file in $(RD_DRV_CFG) ; do \102 file_dir="`dirname "$$file"`" ; \103 file_name="`basename "$$file"`" ; \104 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$file_dir/$$file_name/"*".dev" "$(DIST_PATH)/$(DRVS_PATH)/$$file_name/" ; \105 done106 for file in $(RD_DRVS_FW) ; do \107 file_dir="`dirname "$$file"`" ; \108 file_name="`basename "$$file"`" ; \109 cp "$(USPACE_PATH)/$(DRVS_PATH)/$$file_dir/$$file_name/$$file_name.fw" "$(DIST_PATH)/$(DRVS_PATH)/$$file_name/" ; \110 done111 56 if ls $(DIST_OVERLAY_PATH)/* >/dev/null 2>/dev/null; then \ 112 57 cp -r -L $(DIST_OVERLAY_PATH)/* "$(DIST_PATH)"; \
Note:
See TracChangeset
for help on using the changeset viewer.