From 742d19ef634c84531b98a8d13c081610c38754ba Mon Sep 17 00:00:00 2001 From: David Whetstone Date: Tue, 2 Apr 2024 13:31:29 -0700 Subject: [PATCH] Fix Makefile errors that prevent builds on macOS (#409) --- CHANGELOG.md | 2 ++ Makefile | 9 ++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8191af3459..1f9d722347 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ Here's all notable changes and commits to both the configuration repo and the ba Many thanks to all those who have submitted issues and pull requests to make this firmware better! ## Config repo +14/3/2024 - Fix Makefile errors that prevent builds on macOS [#409](https://github.com/KinesisCorporation/Adv360-Pro-ZMK/pull/409) + 18/2/2024 - Fix version.dtsi reset after build when running local builds [#385](https://github.com/KinesisCorporation/Adv360-Pro-ZMK/pull/385) 12/2/2024 - Update GitHub build workflow to use the latest actions [#376](https://github.com/KinesisCorporation/Adv360-Pro-ZMK/pull/376) diff --git a/Makefile b/Makefile index 71691e2b96..0598579485 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,7 @@ -DOCKER := "$(shell { command -v podman || command -v docker; })" -TIMESTAMP := "$(shell date -u +"%Y%m%d%H%M")" -COMMIT := "$(shell git rev-parse --short HEAD 2>/dev/null)" -detected_OS := "$(shell uname)" # Classify UNIX OS -ifeq ($(strip $(detected_OS)),Darwin) #We only care if it's OS X +DOCKER := $(shell { command -v podman || command -v docker; }) +TIMESTAMP := $(shell date -u +"%Y%m%d%H%M") +COMMIT := $(shell git rev-parse --short HEAD 2>/dev/null) +ifeq ($(shell uname),Darwin) SELINUX1 := SELINUX2 := else