diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-10-14 16:43:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-10-14 16:43:14 +0200 |
commit | 7d741ce67266e50648e2060ff40f5c098c6bdba3 (patch) | |
tree | b8bd65b9f94fb94fb29b032ad8eb518699da9b2e /dist/etc/vxworks/config-6.7-max.make | |
parent | 36ba4a4f1af667682416f48c1698b1167e66e2b1 (diff) |
Add support for post-link step (e.g., VxWorks munch)
Diffstat (limited to 'dist/etc/vxworks/config-6.7-max.make')
-rw-r--r-- | dist/etc/vxworks/config-6.7-max.make | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/dist/etc/vxworks/config-6.7-max.make b/dist/etc/vxworks/config-6.7-max.make index 77ad171..92dd363 100644 --- a/dist/etc/vxworks/config-6.7-max.make +++ b/dist/etc/vxworks/config-6.7-max.make @@ -4,7 +4,7 @@ # # Note that iostream support requires static initialization so # you will need to 'munch' the examples (and your application) -# before you can run them. Here are the sample step that are +# before you can run them. Here are the sample steps that are # needed to run the C++/Hybrid 'library' example: # # $ cd examples/cxx/hybrid/library/ @@ -15,6 +15,9 @@ # $ ccpentium -O3 -c -fdollars-in-identifiers -fno-zero-initialized-in-bss -I$WIND_BASE/target/h -I$WIND_BASE/target/h/wrn/coreip -D_VSB_CONFIG_FILE=\"$WIND_BASE/target/lib/h/config/vsbConfig.h\" ctdt.c -o ctdt.o # $ ccpentium -O3 -r -nostdlib -T $WIND_BASE/target/h/tool/gnu/ldscripts/link.OUT partial-image.o ctdt.o -o driver # +# You could also wrap the last three steps into a script and use +# is as a post-link command (see POSTLD below). +# # Toolchain. # @@ -29,6 +32,12 @@ LD := $(CXX) LDFLAGS := $(CXXFLAGS) LIBS := +# Optional post-link command. The first argument to this command is +# the executable name and the rest of the arguments are the object +# files and libraries that were used to link this executable. +# +POSTLD := + # Set RANLIB to empty if your system does not need ranlib. # AR := arpentium |