Browse Source

don't check configured umask. we need to take care to create firmware independent of umask setting in the shell

Waldemar Brodkorb 9 years ago
parent
commit
c6dd48ef6c
4 changed files with 0 additions and 16 deletions
  1. 0 4
      BSDmakefile
  2. 0 4
      GNUmakefile
  3. 0 4
      Makefile
  4. 0 4
      mk/build.mk

+ 0 - 4
BSDmakefile

@@ -18,10 +18,6 @@ _subdir:=	${.TARGETS}
 ${.TARGETS}: _subdir
 
 _subdir: ${_subdir_dep}
-	@if test x"$$(umask 2>/dev/null | sed 's/00*22/OK/')" != x"OK"; then \
-		echo >&2 Error: you must build with “umask 022”, sorry.; \
-		exit 1; \
-	fi
 	cd ${.CURDIR}/${subdir} && ADK_TOPDIR=${.CURDIR} DEVELOPER=1 \
 	    ${GMAKE} VERBOSE=1 ${.MFLAGS} ${_subdir}
 

+ 0 - 4
GNUmakefile

@@ -15,10 +15,6 @@ ifneq (${subdir},)
 ${MAKECMDGOALS}: _subdir
 
 _subdir: ${_subdir_dep}
-	@if test x"$$(umask 2>/dev/null | sed 's/00*22/OK/')" != x"OK"; then \
-		echo >&2 Error: you must build with “umask 022”, sorry.; \
-		exit 1; \
-	fi
 	cd ${subdir} && ADK_TOPDIR=${ADK_TOPDIR} DEVELOPER=1 \
 	    make VERBOSE=1 ${MAKEFLAGS} ${MAKECMDGOALS}
 

+ 0 - 4
Makefile

@@ -179,10 +179,6 @@ NO_ERROR=0
 		echo "GNU bash needs to be installed."; \
 		exit 1; \
 	fi
-	@if test x"$$(umask 2>/dev/null | sed 's/00*22/OK/')" != x"OK"; then \
-		echo >&2 Error: you must build with umask 022, sorry.; \
-		exit 1; \
-	fi
 	@echo "ADK_TOPDIR:=$$(readlink -nf . 2>/dev/null || pwd -P)" >prereq.mk
 	@echo "BASH:=$$(which bash)" >>prereq.mk
 	@if [ -z "$$(which gmake 2>/dev/null )" ]; then \

+ 0 - 4
mk/build.mk

@@ -4,10 +4,6 @@
 ADK_TOPDIR=$(shell pwd)
 export ADK_TOPDIR
 
-ifneq ($(shell umask 2>/dev/null | sed 's/0*022/OK/'),OK)
-$(error your umask is not 022)
-endif
-
 CONFIG_CONFIG_IN = Config.in
 CONFIG = adk/config
 DEFCONFIG=		ADK_DEBUG=n \