Skip to content

Commit 8acff5e

Browse files
committed
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.
1 parent 1696c65 commit 8acff5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ BUILD_FLAGS = -tags osusergo,netgo \
6363
-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)"
6464

6565
# multi-arch build with buildx
66-
IMAGE_ALL_PLATFORMS ?= linux/amd64,linux/arm64
66+
IMAGE_ALL_PLATFORMS ?= linux/amd64,linux/arm64,linux/arm/v7
6767

6868
# enable buildx
6969
ensure-buildx:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash -e
22

33
# cross build
4-
make image-all
4+
IMAGE_ALL_PLATFORMS=linux/amd64,linux/arm64 make image-all

0 commit comments

Comments
 (0)