Hi, Build fails for evbearmv7hf-eb:
% ./build.sh -U -m evbearmv7hf-eb tools release .... --- cleandir-sys --- nbmake[7]: "/var/build/src/sys/modules/dtrace/lockstat/Makefile" line 22: warning: String comparison operator should be either == or != nbmake[7]: "/var/build/src/sys/modules/dtrace/lockstat/Makefile" line 22: Malformed conditional (${ARMV} > 4) .... For earm, variable ARMV is defined as follows. ARMV:= ${MACHINE_ARCH:S/earmv//} As a result, we obtain "7hfeb" in the case of evbearmv7hf-eb. Before comparing it with 4, we must also remove "eb" and "hf". Please apply the attached patch. Thanks, Rin --- src/sys/modules/dtrace/lockstat/Makefile.orig 2016-01-24 21:37:12.485132717 +0900 +++ src/sys/modules/dtrace/lockstat/Makefile 2016-01-24 21:51:02.859728261 +0900 @@ -12,9 +12,9 @@ CPPFLAGS+= -DKDTRACE_HOOKS .if !empty(MACHINE_ARCH:Mearm*) -ARMV:= ${MACHINE_ARCH:S/earmv//} +ARMV:= ${MACHINE_ARCH:S/earmv//:S/eb//:S/hf//} .elif !empty(MACHINE_ARCH:Marm*) -ARMV:= ${MACHINE_ARCH:S/armv//} +ARMV:= ${MACHINE_ARCH:S/armv//:S/eb//:S/hf//} .else ARMV:= 0 .endif