diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-24 12:02:33 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-24 12:02:33 +0100 |
commit | b3259201a158cb1a571c2a3b2976fbd7b95a4b80 (patch) | |
tree | d1bf8edcf012880df29e52bf326b96c18c624dab /Makefile | |
parent | 0c0ed379d9f34a2d085d9ebf7accf63d48684439 (diff) | |
parent | 537a2c4eaa446e52c6ba07007eb9ae75998b5580 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 23 |
1 files changed, 15 insertions, 8 deletions
@@ -1,11 +1,6 @@ # This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. -CC?= gcc -GMAKE?= $(PWD)/scripts/make -GMAKE_FMK= ${GMAKE} -f $(PWD)/mk/build.mk -GMAKE_INV= ${GMAKE_FMK} --no-print-directory - _UNLIMIT= ulimit -dS $$(ulimit -dH 2>/dev/null ) 2>/dev/null; all: .prereq_done @@ -66,11 +61,13 @@ pkg-help: @echo 'This does not automatically resolve package dependencies!' dev-help: + @echo 'Regenerate menu information via "make menu"' + @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' @echo ' edit the package sources at build_dir/w-<pkgname>-*/<pkgname>-<version>' - @echo ' run "make package=<pkgname> update-patches to regenerate patch files' + @echo ' run "make package=<pkgname> update-patches" to regenerate patch files' @echo '' @echo 'All changed patches will be opened with your $$EDITOR,' @echo 'so you can add a description and verify the modifications.' @@ -122,6 +119,9 @@ image_clean imageclean cleanimage: .prereq_done menuconfig: .prereq_done @${GMAKE_INV} menuconfig +defconfig: .prereq_done + @${GMAKE_INV} defconfig + allnoconfig: .prereq_done @${GMAKE_INV} _config W=-n @@ -137,16 +137,19 @@ package_index: .prereq_done bulk: .prereq_done @${GMAKE_INV} bulk +menu: .prereq_done + @${GMAKE_INV} menu + world: .prereq_done @${GMAKE_INV} world prereq: @rm -f .prereq_done - @${MAKE} .prereq_done --no-print-directory + @${GMAKE} .prereq_done prereq-noerror: @rm -f .prereq_done - @${MAKE} .prereq_done NO_ERROR=1 + @${GMAKE} .prereq_done NO_ERROR=1 NO_ERROR=0 .prereq_done: @@ -155,6 +158,10 @@ NO_ERROR=0 echo "GNU bash needs to be installed."; \ exit 1; \ fi + @if ! mksh -c 'echo $$KSH_VERSION' 2>&1 | fgrep 'MIRBSD' >/dev/null 2>&1; then \ + echo "MirBSD ksh (mksh) 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; \ |