Changeset a8010272 in mainline for boot/Makefile


Ignore:
Timestamp:
2011-07-23T22:56:29Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e76e833
Parents:
7fc9820
Message:

Added support for development files inclusion (headers, libraries, linker scripts).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile

    r7fc9820 ra8010272  
    5858                cp "$$file" "$(DIST_PATH)/lib/" ; \
    5959        done
     60ifeq ($(CONFIG_DEVEL_FILES), y)
     61        mkdir "$(DIST_PATH)/inc/c/"
     62        cp -r -L "$(USPACE_PATH)/lib/c/include/." "$(DIST_PATH)/inc/c/"
     63        cat "$(USPACE_PATH)/lib/c/arch/$(UARCH)/_link.ld" | sed 's/^STARTUP(.*)$$//g' > "$(DIST_PATH)/inc/_link.ld"
     64endif
    6065        for file in $(RD_APPS) ; do \
    6166                cp "$$file" "$(DIST_PATH)/app/" ; \
     
    9196        rm -rf $(USPACE_PATH)/dist/drv/*
    9297        rm -f $(USPACE_PATH)/dist/lib/*
     98        rm -rf $(USPACE_PATH)/dist/inc/*
    9399        rm -f $(USPACE_PATH)/dist/app/*
    94100        rm -f $(USPACE_PATH)/dist/cfg/net/*
Note: See TracChangeset for help on using the changeset viewer.