aboutsummaryrefslogtreecommitdiff
path: root/template/make/snip-os-cpu-detect.mak
blob: e4dc038ea11265b03c797f083220a8aa1a7057bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ifeq ($(OS),Windows_NT)
    ifeq ($(PROCESSOR_ARCHITECTURE),AMD64)
    endif
    ifeq ($(PROCESSOR_ARCHITECTURE),x86)
    endif
else
    OS := $(shell uname -s)
    ifeq ($(OS),Linux)
    endif
    ifeq ($(OS),Darwin)
    endif
    CPU := $(shell uname -p)
    ifeq ($(CPU),x86_64)
    endif
    ifneq ($(filter %86,$(CPU)),)
    endif
    ifneq ($(filter arm%,$(CPU)),)
    endif
endif