Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d06f702 authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

Do not force rebuilds after changing host kernel.

Change-Id: I0c62eda893531853e6d192f6551a919d10e12acd
parent 53519bf2
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -135,6 +135,7 @@ ifneq (,$(findstring Darwin,$(UNAME)))
  HOST_OS := darwin
endif

ifeq ($(CALLED_FROM_SETUP),true)
  HOST_OS_EXTRA := $(shell uname -rsm)
  ifeq ($(HOST_OS),linux)
    ifneq ($(wildcard /etc/os-release),)
@@ -144,6 +145,7 @@ else ifeq ($(HOST_OS),darwin)
    HOST_OS_EXTRA += $(shell sw_vers -productVersion)
  endif
  HOST_OS_EXTRA := $(subst $(space),-,$(HOST_OS_EXTRA))
endif

# BUILD_OS is the real host doing the build.
BUILD_OS := $(HOST_OS)