mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
Add armv7 support
This allows the nfd to run on arm devices like the Raspberry Pi > 2 with armv7 core or armv8 in 32Bit mode. The build tests will only be run for linux/amd64 and linux/arm64. Releases will be made for all Platforms.
This commit is contained in:
parent
1696c6589e
commit
8acff5ede6
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -63,7 +63,7 @@ BUILD_FLAGS = -tags osusergo,netgo \
|
|||
-ldflags "-s -w -extldflags=-static -X sigs.k8s.io/node-feature-discovery/pkg/version.version=$(VERSION) -X sigs.k8s.io/node-feature-discovery/pkg/utils/hostpath.pathPrefix=$(HOSTMOUNT_PREFIX)"
|
||||
|
||||
# multi-arch build with buildx
|
||||
IMAGE_ALL_PLATFORMS ?= linux/amd64,linux/arm64
|
||||
IMAGE_ALL_PLATFORMS ?= linux/amd64,linux/arm64,linux/arm/v7
|
||||
|
||||
# enable buildx
|
||||
ensure-buildx:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
# cross build
|
||||
make image-all
|
||||
IMAGE_ALL_PLATFORMS=linux/amd64,linux/arm64 make image-all
|
||||
|
|
Loading…
Reference in a new issue