Skip to content

Commit

Permalink
Fix the build target error when building sonic-rest-api (sonic-net#10693
Browse files Browse the repository at this point in the history
)

Why I did it
Fix target target/debs/bullseye/sonic-rest-api_1.0.1_arm64.deb not existing issue, the correct target is target/debs/bullseye/sonic-rest-api_1.0.1_armhf.deb.
Fix issue: sonic-net#9896

[ FAIL LOG START ] [ target/debs/stretch/sonic-rest-api_1.0.1_amd64.deb ]
[ REASON ] :      target/debs/stretch/sonic-rest-api_1.0.1_amd64.deb does not exist   NON-EXISTENT PREREQUISITES:
[ FLAGS  FILE    ] : []
  • Loading branch information
xumia authored and liushilongbuaa committed May 12, 2022
1 parent 58b8f6e commit 92378b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/restapi.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# sonic-rest-api package

RESTAPI = sonic-rest-api_1.0.1_amd64.deb
RESTAPI = sonic-rest-api_1.0.1_$(CONFIGURED_ARCH).deb
$(RESTAPI)_SRC_PATH = $(SRC_PATH)/sonic-restapi
$(RESTAPI)_DEPENDS += $(LIBHIREDIS_DEV) $(LIBNL3_DEV) $(LIBNL_GENL3_DEV) \
$(LIBNL_ROUTE3_DEV) $(LIBSWSSCOMMON_DEV) $(LIBSWSSCOMMON)
Expand Down

0 comments on commit 92378b9

Please sign in to comment.