proj_query based commands run projects.py, which needs $(TOPDIR), which in turn
is undefined, notably for standalone-exe.mk. This commit avoids related
warnings.
Signed-off-by: Jan Lindemann <jan@janware.com>
proj_query_command is not a callable function, as opposed to proj_query, which
now uses it. This adds the possibilty to use it multiple times in pipes.
Signed-off-by: Jan Lindemann <jan@janware.com>
This project was copied from ytools, with anything not related to providing
build-functionality left out. This commit replaces the occurences of ytools
with jw-build, and removes some but most certainly not all legacy ytools
references.
Signed-off-by: Jan Lindemann <jan@janware.com>
- Add new makefile projects.mk, which is the place to define the minimally
required set of variables to get a project's makefile oriented about
the build machinery itself, mostly its locations in the file system. This
also includes querying other projects. It's been pushed into a seperate
makefile includeable early in the Makefile hierarchy, so that other
special build variables (i.e. TARGET) can be specialized from within the
project later to define build characteristics.
- Prefixed object files with $(FLAVOUR_PREFIX), to allow for building two
targets from the same directory
Signed-off-by: Jan Lindemann <jan@janware.com>