Skip to content

Commit

Permalink
Merge #229
Browse files Browse the repository at this point in the history
229: add ld-memory r=kaspar030 a=kaspar030

This adds [ld-memory](https://github.com/kaspar030/ld-memory), a utility I wrote that creates GNU ld MEMORY sections from command line parameters.

Needed for RIOT-OS/RIOT#19692.

(adds ~800kB to the image)

Co-authored-by: Kaspar Schleiser <[email protected]>
  • Loading branch information
bors[bot] and kaspar030 authored May 31, 2023
2 parents 3b18ad8 + b772adc commit b34ee1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions riotbuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,10 @@ RUN \
echo 'Cleaning up root-owned crates.io cache' >&2 && \
rm -rf /opt/rustup/.cargo/{git,registry,.package-cache}

# get ld-memory from pre-built containers (ld-memory is used for on-the-fly
# .ld linker script generation)
COPY --from=kaspar030/ld-memory:0.2 /ld-memory /usr/bin/ld-memory

# get Dockerfile version from build args
ARG RIOTBUILD_VERSION=unknown
ENV RIOTBUILD_VERSION $RIOTBUILD_VERSION
Expand Down

0 comments on commit b34ee1e

Please sign in to comment.