|
|
@ -48,8 +48,10 @@ endif
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(shell echo $(OS) | egrep -c 'Darwin|FreeBSD|OpenBSD|DragonFly'),1)
|
|
|
|
ifeq ($(shell echo $(OS) | egrep -c 'Darwin|FreeBSD|OpenBSD|DragonFly'),1)
|
|
|
|
DATE := $(shell date -j -r $(shell git log -n 1 --format="%at") +%Y%m%d%H%M)
|
|
|
|
DATE := $(shell date -j -r $(shell git log -n 1 --format="%at") +%Y%m%d%H%M)
|
|
|
|
|
|
|
|
CPUS := $(shell sysctl hw.ncpu|awk '{print $2}')
|
|
|
|
else
|
|
|
|
else
|
|
|
|
DATE := $(shell date --utc --date="$(GIT_DATE)" +%Y%m%d%H%M)
|
|
|
|
DATE := $(shell date --utc --date="$(GIT_DATE)" +%Y%m%d%H%M)
|
|
|
|
|
|
|
|
CPUS := $(shell nproc)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
# DEB build parameters
|
|
|
|
# DEB build parameters
|
|
|
|