|
|
@ -51,7 +51,7 @@ endif
|
|
|
|
XNU_VERSION?= $(shell uname -a|sed 's/^.*root:xnu-//g'|sed 's/~.*$$//')
|
|
|
|
XNU_VERSION?= $(shell uname -a|sed 's/^.*root:xnu-//g'|sed 's/~.*$$//')
|
|
|
|
OSX_VERSION?= $(shell sw_vers -productVersion)
|
|
|
|
OSX_VERSION?= $(shell sw_vers -productVersion)
|
|
|
|
ifeq ($(wildcard xnu/xnu-$(XNU_VERSION)),)
|
|
|
|
ifeq ($(wildcard xnu/xnu-$(XNU_VERSION)),)
|
|
|
|
XNU_VERSION= $(shell awk '/# $(OSX_VERSION)$/ {print $2}' xnu/GNUmakefile)
|
|
|
|
XNU_VERSION= $(shell awk '/# $(OSX_VERSION)$$/ {print $$2}' xnu/GNUmakefile)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
ifneq ($(wildcard xnu/xnu-$(XNU_VERSION)),)
|
|
|
|
ifneq ($(wildcard xnu/xnu-$(XNU_VERSION)),)
|
|
|
|
FEATURES+= -DHAVE_PF
|
|
|
|
FEATURES+= -DHAVE_PF
|
|
|
|