Commit graph

3,677 commits

Author SHA1 Message Date
6327f67683 Release 1.0.0-93@ubuntu-18.04/amd64
Signed-off-by: Janware DevOps <devops@janware.com>
2019-12-07 14:49:49 +00:00
92726d14a4 cache.mk: Replace $(RM) by rm
$(RM) is a cached variable, so it's not a good idea to
use it in cache.mk to get to a clean state

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-19 13:13:22 +00:00
9e936455fc py-rules.mk: Remove *.rep with clean target
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-19 13:12:16 +00:00
2a0694a497 defs.mk: Add PRISTINE_MAKE
make carries MAKEFLAGS, PATH, LD_LIBRARY_PATH and umask from the environment to
sub-makes, which sometimes is undesirable. So, instead of make -C,
$(PRISTINE_MAKE) -C will start a sub-make with a minimal environment consisting
of MINIMAL_UMASK, MINIMAL_PATH, MINIMAL_LD_LIBRARY_PATH and MINIMAL_MAKEFLAGS

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-19 13:11:51 +00:00
0186d346a5 project.conf: Add inkscape to pkg.requires.os.build
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-19 09:28:15 +00:00
83eeb7a2f9 Fix: Realpath is not a package anymore in Ubuntu 18.04
/usr/bin/realpath is part of coreutils in Ubuntu 18.04

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-19 09:07:57 +00:00
785b1929be cvs-admin.sh: Remove trailing empty lines
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-13 20:14:25 +00:00
f9e73b54a2 project.conf: Add release package dependencies for Ubuntu
Add release dependencies devscripts, debhelper, dput, libparse-debcontrol-perl,
fakeroot, pkg-config, tested on Ubuntu 18.04.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-13 12:51:43 +00:00
86d95a97f6 create-mkdebian.sh: Fix staging path
Staging path by default is debian/tmp, and the packager (dh_install) looks
there and in . for staged files, e.g. ./dist/src/jw-build-1.0.0-93/debian/tmp.
This doesn't match the file system layout as created by jw-build's make
install, which installs to ./dist/src/jw-build-1.0.0-93/debian/tmp/inst-root.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-13 12:49:28 +00:00
921a929cd3 Ubuntu: Fix PY_SITE_PACKAGES_PATH
PY_SITE_PACKAGES_PATH is set to the first element site.getsitepackages(), which
(correctly, but in this case undesirably) is below /usr/local. Use the first
path which is not.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-13 12:49:27 +00:00
ee012a8d35 defs.mk: Fix PKG_FORMAT for Ubuntu
The PKG_FORMAT variable for Ubuntu points to rpm, which is wrong. Fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-13 12:49:25 +00:00
34a42cd0a4 defs.mk: Fix uniq
uniq failed on empty argument lists, fix that

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-12 18:44:36 +00:00
8b965f16ac projects.py: Add missing import time
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-11 21:32:36 +00:00
077f4fcaae doc/licenses/Makefile, lgpl-2.1.txt: Add doc/licenses/lgpl-2.1.txt
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-11 21:31:59 +00:00
a5306bfc80 projects.py: Fix broken error message on failed build
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-11 21:25:23 +00:00
a935715036 python-tools.sh: Code beautification
This commit beautifies module import path deduction a little. It also adds
(disabled) code for importing submodules, which may or may not be enabled by a
command-line option in the future.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-10-28 12:20:52 +00:00
35def547bf py-mod.mk: Add support to async function definitions
The async keyword confused python-tools.sh, this commit fixes that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-10-28 12:20:51 +00:00
9f0276ead5 py-defs.mk: Fix clean target
pyc.clean was broken because it did rm -f __pycache__ (a directory)
Also, add include guards.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-10-28 12:20:50 +00:00
ce165ebaef doc/Makefile: Add directory doc/licenses
This directory is meant as a store for license text files, notably for use with
Yocto.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-10-28 12:20:49 +00:00
5fbfde4930 README.md: Minor rewording
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-10-28 12:20:48 +00:00
860b754535 Makefile: Add doc to SUBDIRS
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-10-28 12:20:47 +00:00
e3469d0ac0 pgit.sh: Rename clone remote user-xxx to jw-xxx
This looks more understandable for non-janware user cases

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-10-11 15:28:05 +00:00
db6bdc454e scm.sh + pgit.sh: Add on-demand to recurse-submodules
git pull, push, fetch use --recurse-submodules, which is non-optional for push.
Added --recurse-submodules=on-demand to all for consistency.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-10-09 15:16:25 +00:00
01685f5ff0 git-submod.mk: Fix vars for not yet existent submodule
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-10-01 10:55:33 +00:00
0023d7fdfb qemu-boot.sh: Come code cleanup
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-09-15 10:05:03 +00:00
23ce1b8642 platform.mk / defs.mk fix: SHELL was referenced before definition
SHELL defaults to /bin/sh on Ubuntu 16, and was used to get-os.sh, which fails

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-08-02 05:48:32 +00:00
0944f009db doxygen.mk: Code beautification
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-29 10:32:48 +00:00
32edd25779 debugger.mk: Fix core file parsing from GDB output
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-22 15:50:40 +00:00
8e2161dd5d README.md: Refine notes about its size
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-15 07:30:35 +00:00
fe69ec6248 run.mk: Remove all core files before run
Fix: Make sure that all core files are removed before the run target's command
is executed.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-14 13:23:14 +00:00
7d7a75c389 debugger.mk, defs-cpp.mk: CORE_DUMPER was misdetected for valgrind vgcore files
gdb --core=vgcore.123 doesn't output a usable executable path with "was
generated by ...".  This commit make make gdb fall back to using $(EXE_PATH) as
the executable with valgrind core files.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-13 17:14:38 +00:00
770a42cc76 subtree.mk: Add multiple-inclusion guards
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-12 12:19:41 +00:00
084d61df75 REAME.md: Ongoing addition of content.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-12 12:19:39 +00:00
154529ea23 conf/jcs/Makefile: Fix warning about multiply defined targets
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-09 11:09:37 +00:00
4170189ac0 README.md: Add section "Basic Usage"
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-07 11:11:54 +00:00
dc7962dde9 jw-build-create-project.sh: Add more patterns to .gitignore
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-06 14:53:51 +00:00
c2c0157b47 README.mk: Minor wording beautifications
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-06 14:42:07 +00:00
31d11febd8 python-cli.mk, topdir.mk: Python2 -> $(PYTHON)
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-06 14:39:33 +00:00
9e0d5db438 topdir-autoconf.mk: Fix distclean target
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-06 14:38:56 +00:00
cc929baf99 defs-cpp.mk: Add support for SRC_ALL_CPP_IGNORE
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-06 14:34:33 +00:00
d36ec44d5e lo.mk: Fix support for LOADABLE_OBJ_IGNORE
LOADABLE_OBJ_IGNORE still had stuff rebuilt that should have been ignored, this
commit fixes that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-06 14:33:36 +00:00
8522aa73fa purge-stale-projects.sh: Purge dspc/src/dspcd
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-05 12:44:22 +00:00
e0f2e04447 Fix: Failing $(PREREQ_DIRS_DONE) doesn\'t have sub-subdirectories rebuilt
Subdirectories are now always rebuilt with FORCE_REBUILD_SUBDIRS=true.
Otherwise the above check fails to even reach the source code.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-01 17:59:09 +00:00
07abf3f93e topdir.mk + dirs.mk fix: $(PREREQ_DIRS_DONE) was not checked
dirs-all.done doesn\'t check $(PREREQ_DIRS_DONE), this commit fixes that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-01 17:37:10 +00:00
6c2fa903c7 Fix: Don't set CC, LD, CXX via ?=
CC, LD and CXX are builtin, and they also override ?=, so ?= is pointless.

This solution disallows specifying a compiler from the environment. There
should be some solution with $(origin CC), but this seems too clunky for now.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-01 15:48:28 +00:00
d3f05b12b2 README.md: Ongoing beautification
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-01 14:22:24 +00:00
bdd66dbc26 Everywhere: Rename MOD_SCRIPT_DIR -> JWB_SCRIPT_DIR
Follow name change of MODDIR -> JWBDIR.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-29 21:45:24 +00:00
b2d6e6f554 Everywhere: Rename MODDIR -> JWBDIR
Rename the omnipresent MODDIR variable to JWBDIR, since that's more to the
point.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-29 21:34:18 +00:00
1ff63505e7 defs-cpp.mk: Beautify defs-cpp.mk
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-29 19:50:33 +00:00
3985c929ae topdir.mk: Ignore SUBDIRS without Makefile
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-29 19:09:08 +00:00