Skip to content

Commit 6e88f05

Browse files
authored
Fix the build target error when building sonic-rest-api (#10693)
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: #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 ] : []
1 parent 1d84e0d commit 6e88f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/restapi.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# sonic-rest-api package
22

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

0 commit comments

Comments
 (0)