Changeset 0e8c158 in mainline for boot/Makefile


Ignore:
Timestamp:
2018-10-12T12:18:16Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6d00aff
Parents:
8fefd8b
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-10-12 12:09:54)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-10-12 12:18:16)
Message:

App listing in boot doesn't need whole binary path for each entry

This is not purely cosmetic. Making most of the information implicit
might allow us to automatically install app-associated data and tests,
reducing the amount of metadata maintained.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile

    r8fefd8b r0e8c158  
    6767        cat "$(USPACE_PATH)/lib/c/arch/$(UARCH)/_link.ld" | sed 's/^STARTUP(.*)$$//g' > "$(DIST_PATH)/inc/_link.ld"
    6868endif
    69         for file in $(RD_APPS) ; do \
    70                 cp "$$file" "$(DIST_PATH)/app/" ; \
     69        for app in $(RD_APPS) ; do \
     70                app_dir="`dirname "$$app"`" ; \
     71                app_name="`basename "$$app"`" ; \
     72                mkdir -p "$(DIST_PATH)/app/$$app_dir" ; \
     73                cp "$(USPACE_PATH)/app/$$app/$$app_name" "$(DIST_PATH)/app/$$app" ; \
    7174        done
    7275        for file in $(RD_DATA) ; do \
Note: See TracChangeset for help on using the changeset viewer.