Skip to content

Commit

Permalink
[sonic-slave]: Add remake to debug makefiles (#18891)
Browse files Browse the repository at this point in the history
Remake supports GDB style debugging for makefiles making it easier
to traverse complicated makefiles and stepping through builds


Running remake from inside the slave container. For instance, running remake with the -X option starts the debugger.

remake -X -f slave.mk PLATFORM=vs ... EXTRA_DOCKER_TARGETS=docker-ptf.gz buster
  • Loading branch information
opcoder0 authored May 8, 2024
1 parent bbf4b86 commit 9e2da6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions sonic-slave-bookworm/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ RUN apt-get update && apt-get install -y \
{{ GZ_COMPRESS_PROGRAM }} \
git \
build-essential \
remake \
libtool \
lintian \
sudo \
Expand Down
1 change: 1 addition & 0 deletions sonic-slave-bullseye/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ RUN apt-get update && apt-get install -y eatmydata && eatmydata apt-get install
{{ GZ_COMPRESS_PROGRAM }} \
git \
build-essential \
remake \
libtool \
lintian \
sudo \
Expand Down
1 change: 1 addition & 0 deletions sonic-slave-buster/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ RUN apt-get update && apt-get install -y eatmydata && eatmydata apt-get install
{{ GZ_COMPRESS_PROGRAM }} \
git \
build-essential \
remake \
libtool \
lintian \
sudo \
Expand Down

0 comments on commit 9e2da6d

Please sign in to comment.