Skip to content

Commit

Permalink
Address comment: remove one pushd for P4RT Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bocon13 committed Dec 6, 2021
1 parent c8d3d71 commit 57a3043
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sonic-p4rt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
pushd ./sonic-pins
bazel $(BAZEL_OPTS) build $(BAZEL_BUILD_OPTS) $(BAZEL_BUILD_TARGETS)
bazel $(BAZEL_OPTS) test $(BAZEL_BUILD_OPTS) //$(BAZEL_TARGET_PATH)/...
pushd ./bazel-bin/$(BAZEL_TARGET_PATH)
cd ./bazel-bin/$(BAZEL_TARGET_PATH)
mv $* $(DERIVED_TARGETS) $(DEST)/
popd
popd

$(addprefix $(DEST)/, $(DERIVED_TARGETS)): $(DEST)/% : $(DEST)/$(MAIN_TARGET)

0 comments on commit 57a3043

Please sign in to comment.