Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset a8010272 in mainline


Ignore:
Timestamp:
2011-07-23T22:56:29Z (10 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master
Children:
e76e833
Parents:
7fc9820
Message:

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • HelenOS.config

    r7fc9820 ra8010272  
    553553! CONFIG_WRITE_CORE_FILES (n/y)
    554554
     555% Include development files (headers, libraries)
     556! [RDFMT=tmpfs] CONFIG_DEVEL_FILES (n/y)
     557
    555558% Strip binaries
    556559! CONFIG_STRIP_BINARIES (n/y)
  • 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.