837f8f97bb
swig.mk: Fix multiple file location issues
...
This commit fixes multiple issues with locating Perl and Python directories and files. It was driven by the need to have it work on Yocto, and isn't tested anywhere else. It also fixes __pycache__/%.pyc issues from the Python 2 -> 3 transition.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-24 12:34:43 +00:00
48d1bd0256
projects-dir.mk: Comment beautification
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-24 12:34:42 +00:00
db312ff766
py-rules.mk: Make more consistent use of PY_CPYTHON_PREFIX
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-22 12:11:43 +00:00
fb2f57b7b9
py-mod.mk, py-rules.mk: Split up py-mod.mk in py-mod.mk and py-rules.mk
...
py-rules.mk is meant to be usable outside of a jw Python module context, just for generating .pyc, for example
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-22 10:11:44 +00:00
3ddd952187
swig.mk: Swith to Python 3
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-22 09:32:31 +00:00
6eee41ac08
projects.py: Add argument --ignore to pkg_relations()
...
Packages that should be ignored altogether with their dependencies can now be specified with --ignore to various commands using pkg_relations().
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-21 12:52:53 +00:00
0ad800315d
proj.mk: Remove references to cfg_dist.mk and cfg_dev.mk
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-21 11:52:45 +00:00
5f396a1f95
defs.mk:: Define variables empty, space and comma
...
Move definitions of empty, space and comma from targets-tools.mk into defs.mk.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-21 09:32:54 +00:00
6518c78297
cfg_dev.mk, cfg_dist.mk: Remove empty cfg_dist.mk cfg_dev.mk
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-21 09:27:18 +00:00
753ad90160
project.conf: Make OpenEmbedded build work
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-19 10:11:02 +00:00
548b4bc960
subtree.mk: Beautify target dependencies
...
Not tested, but can't hurt to have the installed regular files depend on their install directories
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-19 10:08:28 +00:00
c84f7b3f84
create-mksspec.sh: Add support for OS-cascade
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-19 09:33:12 +00:00
a627b1273e
projects-dir.mk: Beautify header
...
Remove CVS macros, because that breaks using it as a symlink from projects-dir, and add SPDX-License-Identifier GPL2.0+.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-19 08:10:35 +00:00
005eafcf1b
purge-stale-projects.sh: Handle btools and dspider shared
...
btools and dspider shared have been moved to git. This commit makes purge-stale-projects.sh remove the CVS debris and links. Needs to be fetched before it can work, so make pull will have to run twice in the projects dir. To be removed after all work trees are in sync.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-19 07:39:08 +00:00
3a180033d4
projects.py fix: Read_value() does not return entire section
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-18 07:37:15 +00:00
305cc0a1a7
pkg.sh: Remove some (not all) unnecessarily forked processes
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-16 11:19:31 +00:00
405a61b9be
projects.py: Add print_pkg_relations()
...
print_pkg_relations() does what pkg_relations() did before: print the relations. pkg_relations() now only returns them, to be used by a derived class, for instance
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-15 15:20:01 +00:00
2b7896d55f
scripts.mk: Remove include defs-cpp.mk from scripts.mk
...
I don't know why it's there. This commit could break something.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-15 15:17:53 +00:00
0c04c0fccd
project.conf: Add some dependencies for building with yocto
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-15 15:12:03 +00:00
ab51bdd20d
proj.mk: Remove legacy variables
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-15 15:10:32 +00:00
cbbd8011e3
projects-dir.mk: Remove links.done machinery
...
Remove legacy links.done, since dspider-shared and dspider-btools are now converted to git projects below the toplevel directory.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-15 10:22:19 +00:00
cbd944d254
rules.mk: Use $(CXX) instead of $(LD) for linking
...
CXX is used for linking instead of LD now, since LD might point to the real linker, which doesn't understand -Wl,--blah options, of course.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-15 10:06:50 +00:00
b1187d9d8a
rules.mk: Use $(CXX) instead of $(LD) for linking
...
CXX is used for linking instead of LD now, since LD might point to the real linker, which doesn't understand -Wl,--blah options, of course.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-15 10:03:22 +00:00
d173f91eda
projects.py: Fix ignored --prefix option
...
--prefix was ignored because the default was set after the commandline options were evaluated. This commit fixes that.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-15 10:01:33 +00:00
458fe33260
conf/profile, make, scripts: Search-and-replace cvs.jannet.de -> cvs.janware.com
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-15 08:15:28 +00:00
7e811aa755
rpmdist.mk: Rename target tgz to pkg-tgz for consistency
...
Rename tgz to pkg-tgz, even though at this point it isn't functional
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-15 08:14:44 +00:00
d84260a2ad
listfiles.mk: Fix cpio --directory option
...
cpio -D doesn't mean the same thing for different versions of cpio, --directory does, so use that
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-13 11:50:10 +00:00
9b41d4eefc
dev-utils.mk, list-files.mk, topdir.mk: Extract from dev-utils.mk and topdir.mk
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-13 11:11:20 +00:00
430a2173b2
projects.py: Ongoing code beautification
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-12 13:11:19 +00:00
fbf75b1220
projects.py: Ongoing code beautification
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-12 13:04:07 +00:00
298398af2b
projects.py: Remove dead code
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-12 11:28:20 +00:00
a629faab93
projects.py: Dissolve class Build into class Projects
...
This commit is the next code cleanup step. Needs more testing and more fixing.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-12 11:26:15 +00:00
7d12ad7f8c
projects.py: Introduce class Projects
...
The Projects class wraps all global variables. This is mostly a text-replace job and results in horrible class design.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-11 19:03:43 +00:00
187a3343c3
projects.py/get_modules_from_project_txt(): Support multiple sections
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-11 15:42:20 +00:00
a85640e58c
projects.py / pkg-relations(): Add option --recursive
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-11 11:45:20 +00:00
7abbf1d044
projects.py: Rename command requires-pkg to required-os-pkg
...
Rename command requires-pkg to required-os-pkg to avoid confusion with pkg-reqires. The command could be merged into pkg-requires at a later time.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-11 10:46:23 +00:00
a12fa52639
design-goals.txt, add-pkg-conflicts-support.patch: Add design-goals.txt
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-11 10:43:53 +00:00
2e3f046477
projects.py: Add option --os
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-11 10:20:16 +00:00
386f9304c6
py-defs.mk: Add automatic detection of PY_CPYTHON_PREFIX
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-11 08:47:46 +00:00
ab5fc0c334
py-defs.mk: Fix installation with predefined PY_INSTALL_DIR
...
Predefined PY_INSTALL_DIR was ignored prior to this commit, which shuffles the py-defs.mk variables around considerably. Still some temporary variables unnecessarily defined with ?=, but some testing would be good prior to further changes.
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-11 08:31:11 +00:00
42e01d9dd8
py-mod.mk: Fix python version conditional
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-11 07:41:45 +00:00
263820370c
projects.py: Allow import of projects.py
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-10 13:55:55 +00:00
2852ca136d
defs-cpp.mk: Code beautification
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-10 12:32:17 +00:00
4e9be149ef
py-defs.mk: Fix PY_INSTALL_XXX_MOD generation
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-09 06:24:43 +00:00
a7cd8e8cd2
Release 1.0.0-92@suse-tumbleweed/x86_64
...
Signed-off-by: Janware DevOps <devops@janware.com>
2019-06-04 13:02:59 +00:00
c69e9d9255
Start version: 1.0.0-92
...
Signed-off-by: janware DevOps <devops@janware.com>
2019-06-04 13:02:23 +00:00
0bf05a5959
projects-dir.mk: Add targets echo-projects and echo-target-projects
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-04 12:56:15 +00:00
22e7bc5aa9
Release 1.0.0-91@suse-tumbleweed/x86_64
...
Signed-off-by: Janware DevOps <devops@janware.com>
2019-06-04 10:41:14 +00:00
b28b66c9e6
Start version: 1.0.0-91
...
Signed-off-by: janware DevOps <devops@janware.com>
2019-06-04 10:40:42 +00:00
c67ce9fa1b
py-mod.mk: Make python compilation errors fatal
...
Pass doraise=True to py_compile.compile()
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-04 10:38:07 +00:00