summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-17 15:29:05 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-17 15:29:05 +0200
commitb2e4bbd4e62982852b8a7da8f618d01d2013641e (patch)
tree968e7998c78e750162e60c747ab039f78d2f8289 /Makefile
parent1a2a22729ff0256725a3561e46f465efc18801f7 (diff)
parentd6aaf0be5bfa8e5944d9ae44cf175f9388564ac6 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: package/binutils/Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index bfa10b106..449d3eb8a 100644
--- a/Makefile
+++ b/Makefile
@@ -61,9 +61,6 @@ pkg-help:
@echo 'This does not automatically resolve package dependencies!'
dev-help:
- @echo 'Regenerate menu information via "make menu"'
- @echo 'Regenerate dependency information via "make dep"'
- @echo
@echo 'Fast way of updating package patches:'
@echo ' run "make package=<pkgname> clean" to start with a good base'
@echo ' run "make package=<pkgname> patch" to fetch, unpack and patch the source'
@@ -180,15 +177,6 @@ NO_ERROR=0
echo "GNU bash needs to be installed."; \
exit 1; \
fi
- @if ! mksh -c 'echo $$KSH_VERSION' 2>&1 | grep -F 'MIRBSD' >/dev/null 2>&1; then \
- echo "MirBSD ksh (mksh) needs to be installed."; \
- exit 1; \
- else \
- if [ $$(mksh -c 'echo $$KSH_VERSION' |cut -d ' ' -f 3|sed "s#R##") -le 34 ]; then \
- echo "MirBSD ksh is too old. R35 or higher needed."; \
- exit 1; \
- fi \
- 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; \
@@ -221,6 +209,7 @@ NO_ERROR=0
@echo 'LC_ALL:=C' >>prereq.mk
@echo 'MAKE:=$${GMAKE}' >>prereq.mk
@echo "OStype:=$$(env uname)" >>prereq.mk
+ @echo "ADKtype:=$$(cat /etc/adktarget 2>/dev/null)" >>prereq.mk
@echo "_PATH:=$$PATH" >>prereq.mk
@echo "PATH:=\$${TOPDIR}/scripts:/usr/sbin:$$PATH" >>prereq.mk
@echo "SHELL:=$$(which bash)" >>prereq.mk
@@ -228,6 +217,7 @@ NO_ERROR=0
CC='${CC}' CPPFLAGS='${CPPFLAGS}' \
bash scripts/scan-tools.sh
@echo '===> Prerequisites checked successfully.'
+ @touch .adkinit
@touch $@
.PHONY: prereq prereq-noerror