aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc/miniterm
Commit message (Collapse)AuthorAgeFilesLines
* build: Make XEN_ROOT an absolute path.Keir Fraser2011-03-171-1/+1
| | | | | | | | Otherwise make can search the path relative to certain standard paths such as /usr/include (e.g., the line '-include $(XEN_ROOT)/.config' in Config.mk suffers from this). Signed-off-by: Keir Fraser <keir@xen.org>
* Add BINDIR. Use it.Keir Fraser2008-01-221-2/+2
| | | | Signed-off-by: Bastian Blank <waldi@debian.org>
* tools: disable lomount and miniterm by defaultKeir Fraser2008-01-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lomount is a tool which reads and parses a partition table in a disk image block device and then uses mount -o ...offset=... to mount it. This is not an ideal approach. For example, if the intended filesystem has corrupted metadata the kernel's filesystem driver may start to write outside of the intended region. This might even be exploitable in some perverse circumstances. Nowadays people wanting to do this should use kpartx, which uses devmapper to create appropriate range mappings. So lomount should be disabled. miniterm may well be useful but it is a clone-and-hack of an upstream project and is currently built but not installed by default, partly because it doesn't make sense to install on the dom0 which it might be trying to debug. It is probably useful to retain these two programs in the source tree but IMO they should no longer be built by default. The attached patch does these things: * CONFIG_LOMOUNT and CONFIG_MINITERM in Config.mk can enable and disable these programs * They are disabled by default * If CONFIG_MINITERM=y it is still built but not installed. make -C tools/misc/miniterm install will install it. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Clean up duplication of 'install' macros in the Makefiles.kfraser@localhost.localdomain2006-10-171-4/+0
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* [TOOLS] Fixes to miniterm serial terminal utility.kaf24@localhost.localdomain2006-10-091-6/+19
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* build: Clean up use of .PHONYkaf24@firebug.cl.cam.ac.uk2006-04-101-0/+3
| | | | | | | | | | | | * Move .PHONY directives next to targets, this makes them a lot harder to miss * Add missing .PHONY directives * Remove nonexistent .PHONY directives * Hopefully I didn'T miss anything... Signed-Off-By: Horms <horms@verge.net.au>
* Clean up the usage of CFLAGS. This is nice for packagers, who wouldkaf24@firebug.cl.cam.ac.uk2006-03-091-3/+4
| | | | | | | | like to control the base compilation flags from a central place. Signed-off-by: Charles Coffing <ccoffing@novell.com>
* Remove a non-portable and unused error.h, and use signal.h notkaf24@firebug.cl.cam.ac.uk2005-10-271-1/+1
| | | | | | sys/signal.h (in tools/misc).
* bitkeeper revision 1.1159.258.9 (421d978cixdcn2ycn94dJci5cqGzjg)kaf24@scramble.cl.cam.ac.uk2005-02-241-0/+3
| | | | | | Build cleanups. Build dynamic libs as -fPIC always. Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
* bitkeeper revision 1.1159.234.1 (41f9203a3hESfmWBG29VVoqa-chOrA)cl349@arcadians.cl.cam.ac.uk2005-01-271-1/+1
| | | | | | | Build system cleanups. Signed-off-by: c@pin.lu
* bitkeeper revision 1.1159.223.26 (41f2cdb6LNpheOtPoAKEUn-czlZFig)iap10@labyrinth.cl.cam.ac.uk2005-01-221-2/+2
| | | | | | | | | | | | | Description: use DESTDIR correctly Standard makefiles always attempt to install to the root(/). Setting DESTDIR is the normal way to install to an alternative location. Setting prefix has the possibility of breaking programs, as the prefix may have been embedded inside a compiled binary. From: Adam Heath <doogie@brainfood.com> Signed-off-by: ian.pratt@cl.cam.ac.uk
* bitkeeper revision 1.1159.223.18 (41f2c6eamwtTkjdrv4CuL1WnOy4iGw)iap10@labyrinth.cl.cam.ac.uk2005-01-221-2/+5
| | | | | | | | | | | Description: use INSTALL everywhere Use install(by way of INSTALL variables) to create directories, install programs, and install data files. From: Adam Heath <doogie@brainfood.com> Signed-off-by: ian.pratt@cl.cam.ac.uk
* bitkeeper revision 1.797 (4055c521Ophk9zIrp59mxPKyKg_0MA)kaf24@scramble.cl.cam.ac.uk2004-03-151-8/+8
| | | | | | Makefile: Rationalise makefiles by folding dist option into install with a prefined prefix.
* bitkeeper revision 1.761 (40446b53iVC1lWMdd8aC4YbIBLbvLg)kaf24@scramble.cl.cam.ac.uk2004-03-021-1/+1
| | | | | | Makefile: Installation fixes from Adam Heath.
* bitkeeper revision 1.626 (3fbe3eb1WmztnxBIFxm56r8gAVwZig)kaf24@scramble.cl.cam.ac.uk2003-11-211-0/+3
| | | | | | | | | | | | | | Many files: Some fixes. Also now have a new Makefile target 'dist' which installs stuff to local install directory. Target 'install' now actually does what you expect by installing under /usr xi_stopdom.py: Rename: tools/misc/xi_stopdom.py -> tools/examples/xi_stopdom.py xi_listdoms.py: Rename: tools/misc/xi_listdoms.py -> tools/examples/xi_listdoms.py xi_destroydom.py: Rename: tools/misc/xi_destroydom.py -> tools/examples/xi_destroydom.py xi_createlinuxdom.py: Rename: tools/misc/xi_createlinuxdom.py -> tools/examples/xi_createlinuxdom.py
* bitkeeper revision 1.468 (3f776bd43_wFRTwYlSu5A4qtJST5zw)iap10@labyrinth.cl.cam.ac.uk2003-09-281-1/+4
| | | | | changes to build system, example config scripts added, READMEs improved.
* bitkeeper revision 1.452.1.1 (3f6dc14baJxoz4mfHsRuNF95VdTfSA)kaf24@scramble.cl.cam.ac.uk2003-09-213-0/+202
miniterm.c, README, Makefile: new file