From 74663fdbbd1dc92dd91f6f88dbc4f972df12c404 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 11 Dec 2015 22:40:55 +0100 Subject: Revert "rework prereq check" This reverts commit fba2ff31928b18364c1934654169806f5c800e23. --- GNUmakefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 GNUmakefile (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile new file mode 100644 index 000000000..1cd73044e --- /dev/null +++ b/GNUmakefile @@ -0,0 +1,24 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +ADK_TOPDIR:= $(shell pwd) +PWD:= ${ADK_TOPDIR} + +include Makefile.inc + +ifneq (${package},) +subdir:= package/${package} +_subdir_dep:= ${ADK_TOPDIR}/.config +endif + +ifneq (${subdir},) +${MAKECMDGOALS}: _subdir + +_subdir: ${_subdir_dep} + cd ${subdir} && ADK_TOPDIR=${ADK_TOPDIR} DEVELOPER=1 \ + make ADK_VERBOSE=1 ${MAKEFLAGS} ${MAKECMDGOALS} + +include prereq.mk +else +include Makefile +endif -- cgit v1.2.3