Changeset a8010272 in mainline for boot


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

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

Location:
boot
Files:
2 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/*
  • boot/Makefile.common

    r7fc9820 ra8010272  
    121121
    122122RD_LIBS =
     123
     124ifeq ($(CONFIG_DEVEL_FILES), y)
     125        RD_LIBS += \
     126                $(USPACE_PATH)/lib/c/libc.a \
     127                $(USPACE_PATH)/lib/softint/libsoftint.a \
     128                $(USPACE_PATH)/lib/softfloat/libsoftfloat.a
     129endif
    123130
    124131ifeq ($(CONFIG_BUILD_SHARED_LIBS), y)
Note: See TracChangeset for help on using the changeset viewer.