Commit graph

3,796 commits

Author SHA1 Message Date
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
f7b41f0652 mcu-flash.mk: Work around broken clean target
If MCU_BOARD_LC is empty, rm $(MCU_MEM|FLASH_FETCH_FILE_BIN) fails with unknown options.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-03 21:01:32 +00:00
c480eeaaca defs.mk, make.mk: Add CREATE_PKG_CONFIG variable
It was possible for DEVEL_TARGETS to contain install_PKG_CONFIG without a
package config file being built, fixed that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-03 09:06:41 +00:00
fbdca1e418 jw-build-create-project.sh: Add mkspec.sh to .gitignore
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-03 08:31:46 +00:00
956aea82eb py-*.mk: Fix python version detection
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-03 08:00:39 +00:00
ae48f6aab6 projects-dir.mk: Ditch auto-detection of interactive use
PS1 isn't set if make is run interactively, which is why auto-detection of
interactive use doesn't work. Ditch that and introduce the INTERACTIVE
variable, which can be passed as INTERACTIVE=[y|n]. Default value als of now
is "n".

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-03 07:41:43 +00:00
2ec9fcacab Release 1.0.0-90@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2019-06-02 12:30:21 +00:00
5e9b76f9e4 Start version: 1.0.0-90
Signed-off-by: janware DevOps <devops@janware.com>
2019-06-02 12:29:50 +00:00
13fa28e23f make, scripts: Flip some more switches from pathon 2 to 3 (untested!)
This commit flips some more switches from Python 2 to Python 3 in makefiles and
Python code. Build runs through, but it's still likely to break things.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-02 12:28:13 +00:00
ab7f224050 Release 1.0.0-89@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2019-05-30 13:41:58 +00:00
2566b9d42f Start version: 1.0.0-89
Signed-off-by: janware DevOps <devops@janware.com>
2019-05-30 13:41:32 +00:00
0d2e255bff projects-dir.mk: Only clean projects which have .done files lying around
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-05-30 13:33:12 +00:00
eb162a9ba6 Release 1.0.0-88@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2019-05-30 13:02:50 +00:00
bab6ad919b Start version: 1.0.0-88
Signed-off-by: janware DevOps <devops@janware.com>
2019-05-30 13:02:19 +00:00
5f92c65b0f project.conf: Add build dependency on xdg-utils
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-05-25 07:47:29 +00:00
fb22c800dc projects-dir.mk: Add xdg-utils to BASE_PKGS (for xdg-open)
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-05-25 07:35:32 +00:00
55cc335140 fix: PROJECT = jw-pf-3dprinter -> jw-pf
The contents of the PROJECT variable was misdetected from the directory name in
that everything after a number was discarded. This commit fixes that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-05-19 13:13:14 +00:00
8d1c1224e5 Release 1.0.0-87@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2019-05-17 12:48:01 +00:00
1c43887dab Start version: 1.0.0-87
Signed-off-by: janware DevOps <devops@janware.com>
2019-05-17 12:47:14 +00:00