mirror of
https://github.com/containers/podman.git
synced 2026-02-05 06:45:31 +01:00
Makefile: add SOURCES dep to bin/podman.cross.% target
Without this the corss binaries will never get rebuild until the user manually deletes them which is not very useful. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -484,7 +484,7 @@ generate-bindings: .install.golangci-lint
|
||||
# Do the cross build with the OS/ARCH extrcted from the target name, i.e.
|
||||
# pass a path like "podman.cross.linux.amd64". This target is used by
|
||||
# local-cross to build all CROSS_BUILD_TARGETS.
|
||||
bin/podman.cross.%:
|
||||
bin/podman.cross.%: $(SOURCES)
|
||||
TARGET="$*"; \
|
||||
GOOS="$${TARGET%%.*}"; \
|
||||
GOARCH="$${TARGET##*.}"; \
|
||||
|
||||
Reference in New Issue
Block a user