From 162c3d7f5064a987b4aa3cc8accc4f6bcd0b805f Mon Sep 17 00:00:00 2001 From: Mayur Waghmode <42777188+mayurwaghmode@users.noreply.github.com> Date: Thu, 7 Jul 2022 23:45:20 +0530 Subject: [PATCH] Added ppc64le and s90x support This PR will add support to the ppc64le and s390x architecture --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 20650e9..a94069a 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,18 @@ build: mod @echo "Building spdx-sbom-generator for Linux Intel/AMD 64-bit version:$(VERSION)" @GO111MODULE=on GOFLAGS=-mod=vendor GOOS=linux go build -ldflags $(ldflags) -o bin/spdx-sbom-generator cmd/generator/generator.go @chmod +x bin/spdx-sbom-generator + +.PHONY: build-ppc64le +build-ppc64le: mod + @echo "Building spdx-sbom-generator for Linux ppc64le version:$(VERSION)" + @GO111MODULE=on GOFLAGS=-mod=vendor GOOS=linux GOARCH=ppc64le go build -ldflags $(ldflags) -o bin/spdx-sbom-generator cmd/generator/generator.go + @chmod +x bin/spdx-sbom-generator + +.PHONY: build-s390x +build-s390x: mod + @echo "Building spdx-sbom-generator for Linux s390x version:$(VERSION)" + @GO111MODULE=on GOFLAGS=-mod=vendor GOOS=linux GOARCH=s390x go build -ldflags $(ldflags) -o bin/spdx-sbom-generator cmd/generator/generator.go + @chmod +x bin/spdx-sbom-generator .PHONY: build-mac build-mac: mod