diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-02-25 13:53:05 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-02-25 13:53:11 +0000 |
commit | 9d7518c2cb43f1fb1eb54495899945523fd5dc99 (patch) | |
tree | 57fcfe56162934f5f78b3b22920623546c8d126c /package/toolbox/src | |
parent | 30f5a076475d08daa882fa2e636a19200877aa33 (diff) |
toolbox: add OpenADK toolbox for very small systems, thx Thorsten Glaser
Diffstat (limited to 'package/toolbox/src')
120 files changed, 15125 insertions, 0 deletions
diff --git a/package/toolbox/src/Makefile b/package/toolbox/src/Makefile new file mode 100644 index 000000000..50afea707 --- /dev/null +++ b/package/toolbox/src/Makefile @@ -0,0 +1,516 @@ +# toolbox for OpenADK on memory-constrained NOMMU binfmt_flat systems +# Copyright © 2017 +# mirabilos <m@mirbsd.org> +# Derived from Android Toolbox +# platform/system/core, as of commit efbf36f2dad8f083de6f48dbb682461d7cfa9781 +# +# Provided that these terms and disclaimer and all copyright notices +# are retained or reproduced in an accompanying document, permission +# is granted to deal in this work without restriction, including un‐ +# limited rights to use, publicly perform, distribute, sell, modify, +# merge, give away, or sublicence. +# +# This work is provided “AS IS” and WITHOUT WARRANTY of any kind, to +# the utmost extent permitted by applicable law, neither express nor +# implied; without malicious intent or gross negligence. In no event +# may a licensor, author or contributor be held liable for indirect, +# direct, other damage, loss, or other issues arising in any way out +# of dealing in the work, even if advised of the possibility of such +# damage or existence of a defect, except proven that it results out +# of said person’s immediate fault when using the work as intended. +# +# Individual files are covered by their own licence notices, which are +# also reproduced below (at the end of the top-level Makefile, this file). +# Changes to those files done within the OpenADK toolbox and the build +# system of the toolbox are published under Ⓕ The MirOS Licence as above. +# +# Summarising the licences used: +# • 3-clause BSD +# • ISC (OpenBSD) +# • MirOS +# • Public Domain + + SUBDIR+= lib + + SUBDIR+= cat + SUBDIR+= chmod + SUBDIR+= chown + SUBDIR+= clear + SUBDIR+= cmp + SUBDIR+= cp + SUBDIR+= date + SUBDIR+= dd + SUBDIR+= df + SUBDIR+= dmesg + SUBDIR+= du + SUBDIR+= exists + SUBDIR+= grep + SUBDIR+= hd + SUBDIR+= id + SUBDIR+= ifconfig + SUBDIR+= iftop + SUBDIR+= insmod +# SUBDIR+= ioctl needs pthread.h + SUBDIR+= kill + SUBDIR+= ln + SUBDIR+= ls + SUBDIR+= lsof + SUBDIR+= md5 + SUBDIR+= mkdir + SUBDIR+= mknod + SUBDIR+= mount + SUBDIR+= mv + SUBDIR+= netstat + SUBDIR+= notify + SUBDIR+= printenv + SUBDIR+= ps + SUBDIR+= readlink + SUBDIR+= renice + SUBDIR+= rm + SUBDIR+= rmdir + SUBDIR+= rmmod + SUBDIR+= route + SUBDIR+= schedtop + SUBDIR+= sed + SUBDIR+= setkey + SUBDIR+= sleep + SUBDIR+= sync + SUBDIR+= top + SUBDIR+= touch + SUBDIR+= umount + SUBDIR+= vmstat + +%: + @for subdir in ${SUBDIR}; do \ + echo "==> $$subdir"; \ + ${MAKE} --no-print-directory -I.. \ + -C "$$subdir" $@ || exit $?; \ + echo "<== $$subdir"; \ + done + +all: + +#====================================== +# Now follows the original NOTICE file: +#====================================== + +# Copyright (c) 2010, The Android Open Source Project. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# * Neither the name of The Android Open Source Project nor the names +# of its contributors may be used to endorse or promote products +# derived from this software without specific prior written +# permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR C |