Skip to content

Commit

Permalink
Makefile: fix parameter when calling build_golang
Browse files Browse the repository at this point in the history
build_golang accepts two parameters: <PATH> and <MAKE-COMMAND>,
that will compose a `<MAKE-COMMAND> -C <PATH>` command finally.

docker-nydusify-image-test passes invalid parameters to build_golang.

Signed-off-by: bin liu <[email protected]>
  • Loading branch information
liubin committed Mar 11, 2022
1 parent 3f1e30c commit 3956965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ docker-nydusify-smoke: docker-static
-v $(current_dir):/nydus-rs $(dind_cache_mount) nydusify-smoke TestSmoke

docker-nydusify-image-test: docker-static
$(call build_golang,make -C contrib/nydusify build-smoke)
$(call build_golang,$(NYDUSIFY_PATH),build-smoke)
docker build -t nydusify-smoke misc/nydusify-smoke
docker run --rm --privileged \
-e BACKEND_TYPE=$(BACKEND_TYPE) \
Expand Down

0 comments on commit 3956965

Please sign in to comment.