diff options
| author | KubeEdge Bot <48982446+kubeedge-bot@users.noreply.github.com> | 2022-01-22 12:17:28 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-22 12:17:28 +0800 |
| commit | 34f21a4b278f73ee75f84298ae6352c635b14002 (patch) | |
| tree | f1c4b391c03f43463144410b1fad965f809010a7 /Makefile | |
| parent | Merge pull request #3570 from vincentgoat/fix_sync_error (diff) | |
| parent | support multi architecture image build (diff) | |
| download | kubeedge-34f21a4b278f73ee75f84298ae6352c635b14002.tar.gz | |
Merge pull request #3530 from gy95/crossimage
support multi architecture image build
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -324,6 +324,27 @@ image: hack/make-rules/image.sh $(WHAT) endif +define CROSS_IMAGE_HELP_INFO +# Use Buildx to build multi-architecture docker images. +# +# Args: +# WHAT: component names to build. support: $(BINARIES) +# If not specified, "everything" will be built. +# +# Example: +# make crossbuildimage +# make crossbuildimage HELP=y +# make crossbuildimage WHAT=cloudcore +endef +.PHONY: crossbuildimage +ifeq ($(HELP),y) +crossbuildimage: + @echo "CROSS_IMAGE_HELP_INFO" +else +crossbuildimage: + hack/make-rules/crossbuildimage.sh $(WHAT) +endif + define INSTALL_HELP_INFO # install # |
