The executable which gdb was launched with is extracted from a core file and
then transformed into an absolute path with "which". The latter failed, as by
the time it's executed, PATH has not yet been expanded. Solved by using the
executable name only, which then gets searched in the PATH by gdb.
Signed-off-by: Jan Lindemann <jan@janware.com>
With jw-build, it is now unnecessary to maintain any packages' dependency
information outside of its own directory. To integrate a package into the
central build and versioning system, it suffices to keep it in a directory
next to all other project directories. Within a package, a small,
self-explaining, ini-file can be used to define packages required for building
and installing it.
Signed-off-by: Jan Lindemann <jan@janware.com>
- Fix superflous dots in module names
- Generate PYTHONPATH in projects.py
- Add support for __init__.py.tmpl
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>
The target pkg-install-prereq-release ignored errors from the package manager,
this fixes it. Presumably many other ignored pipe errors, let's see what this
turns up.
Signed-off-by: Jan Lindemann <jan@janware.com>
This target runs ssh -l root $(TARGET_HOST), with TARGET_HOST typically defined in
$(MODDIR)/make/local.mk. Seems a bit out-of-place, everything, but anyway.
Signed-off-by: Jan Lindemann <jan@janware.com>
Since the packaging machinery is pretty complicated, the information about
conflicting packages had to be passed through many APIs. The last commit
contained a patch which is left in the tree to have it in one file, it actually
is identical to this commit's diff, though. Git would save me that quirk.
Signed-off-by: Jan Lindemann <jan@janware.com>
This opens up a more concise handling of pkg.conflicts.xxx in the future, and
prepares some code simplification in projects.py.
Signed-off-by: Jan Lindemann <jan@janware.com>
Installation was done with plain install -d instead of $(INSTALL) -d, which
yielded a permission denied.
Signed-off-by: Jan Lindemann <jan@janware.com>
Most notably, this allows to define OTHER_CPP to the empty string. Which
effectively speeds up the build by not creating a local.a, and disabling symbol
sharing in that directory by means of the library. With local.a, all other .so
files have to be relinked and installed to BUILD_LIB_DIR after a change in a
single source file.
Signed-off-by: Jan Lindemann <jan@janware.com>