|
@@ -1,9 +1,11 @@
|
|
-all_hosts = Linux
|
|
|
|
|
|
+all_hosts = Skeleton Linux FreeBSD
|
|
|
|
|
|
ifeq ($(OS),)
|
|
ifeq ($(OS),)
|
|
SYS := $(shell gcc -dumpmachine)
|
|
SYS := $(shell gcc -dumpmachine)
|
|
ifeq ($(SYS),x86_64-linux-gnu)
|
|
ifeq ($(SYS),x86_64-linux-gnu)
|
|
OS := Linux
|
|
OS := Linux
|
|
|
|
+else ifeq ($(findstring freebsd,$(SYS)),freebsd)
|
|
|
|
+OS := FreeBSD
|
|
else
|
|
else
|
|
$(error Unsupported platform: $(SYS))
|
|
$(error Unsupported platform: $(SYS))
|
|
endif
|
|
endif
|