Skip to content

Commit b62f887

Browse files
committed
Makefile: add proper docs for bin/podman.cross.%
To avoid any confusion where people think this target is unused. Signed-off-by: Paul Holzinger <[email protected]>
1 parent 3633cd5 commit b62f887

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,9 @@ podman-testing: bin/podman-testing
481481
generate-bindings: .install.golangci-lint
482482
$(GOCMD) generate ./pkg/bindings/... ;
483483

484-
# DO NOT USE: use local-cross instead
484+
# Do the cross build with the OS/ARCH extrcted from the target name, i.e.
485+
# pass a path like "podman.cross.linux.amd64". This target is used by
486+
# local-cross to build all CROSS_BUILD_TARGETS.
485487
bin/podman.cross.%:
486488
TARGET="$*"; \
487489
GOOS="$${TARGET%%.*}"; \

0 commit comments

Comments
 (0)