First commit

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2022-11-01 13:28:53 +01:00
commit 4b912741cb
73 changed files with 3753 additions and 0 deletions

4
make/Makefile Normal file
View file

@ -0,0 +1,4 @@
TOPDIR = ..
include $(TOPDIR)/make/proj.mk
include $(JWBDIR)/make/make.mk

4
make/java-defs.mk Normal file
View file

@ -0,0 +1,4 @@
ifeq ($(OS_NAME),ubuntu)
export JAVA_HOME = $(shell PATH=/usr/sbin:$(PATH) update-alternatives --query javac | \
sed '/^Alternative:.*java-8/ !d; s/Alternative: *//; s,/bin/javac$$,,')
endif

9
make/proj.mk Normal file
View file

@ -0,0 +1,9 @@
# to be included from inside the project directory
DEV_PROJECTS_DIR ?= $(TOPDIR)/..
JWBDIR ?= $(firstword $(wildcard $(DEV_PROJECTS_DIR)/jw-build $(BUILD_TOOLS_PREFIX)/opt/$(FLAVOUR_PATH_PREFIX)jw-build))
include $(JWBDIR)/make/projects.mk
USE_PROJECT_LIB = false
HDRDIR_SCOPE_SUFFIX = $(PROJECT)

46
make/project.conf Normal file
View file

@ -0,0 +1,46 @@
[summary]
janware GmbH test utilities
[description]
This package provides utilities used for testing embedded devices
[global]
group = Development/Tools/Building
subpackages = run
license = LGPL
jw-maintainer = jan
[build]
libname = none
[pkg.run.post]
case "$1" in
0)
;;
1|2)
/usr/bin/systemctl enable atd
;;
esac
udevadm control --reload
[pkg.requires.os]
run = bridge-utils, at, = python3-texttable
#build = doxygen, graphviz, gcc, cmake, cpio, unzip, rsync, bc, python3-texttable, \
# gpg, bison, flex, gettext, texinfo, subversion, pkg-config, maven, \
# mtools, dosfstools, parted, mtd-utils, wget, curl, xmlto, iproute2, \
# bc, python3-networkx, udev, systemd
#[pkg.requires.ubuntu]
#build = openjdk-8-jdk, fdupes,libboost-system-dev, libboost-filesystem-dev, ncurses-dev, \
# squashfs-tools, kmod, repo, openbios-ppc, python3.7, python3-networkx, libc6-i386, \
# xxd, g++, qemu-system-arm, qemu-system-ppc, libnl-cli-3-dev, libiw-dev, libnm-dev
[pkg.requires.suse]
build = squashfs, ncurses-devel, python3-GitPython, gcc-c++, qemu-arm, qemu-ppc, \
vim, glibc-32bit, python3-click, python3-itsdangerous, python3-lxml, python3-Jinja2, \
python3-MarkupSafe, python3-Werkzeug
[pkg.requires.jw]
run = jw-python-run = VERSION
devel = jw-devtest-run = VERSION-REVISION, jw-build-devel = VERSION
build = jw-build-devel, jw-python-devel

View file

@ -0,0 +1 @@
include $(JWBDIR)/make/py-mod.mk