summaryrefslogtreecommitdiffstats
path: root/lib/libstand/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Add the libz derived files, added in the previous commit, tomarcel2002-10-191-0/+2
| | | | CLEANFILES. We were not cleaning up after ourselves.
* Reimplement malloc/free debugging that includes the offending file:linepeter2002-07-201-5/+19
| | | | | | | | | | | | info. This turned out to be rather useful on ia64 for tracking down malloc/free problems. Detect duplicate free()'s - otherwise these show up as a guard1 failure and it looks like corruption instead of something simple like a second free() where there shouldn't be. Deal with libz using libc headers and not seeing the malloc/free stuff that we provide in libstand. Do similar nastiness to what is done for bzlib. Tested on: i386, ia64 (compile, run)
* Added new bsd.incs.mk which handles installing of header filesru2002-05-121-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow. Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1): kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile Replaced all `beforeinstall' targets for installing includes with the INCS stuff. Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE. Consistently use INCLUDEDIR instead of /usr/include. gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff. These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release".
* Use -ffreestanding. It is REQUIRED by GCC 3.1 on all architectures.obrien2002-04-091-2/+2
| | | | | | | I don't like putting this very-GCC centric option here; but no one as given a better idea of handling it. Reviewed by: jhb
* Break the sparc64 build. I expect those that complained about this commitobrien2002-04-091-2/+0
| | | | to fix the sparc64 case to their liking.
* sparc64 grew _setjmp/_longjmp.obrien2002-04-081-2/+0
|
* Use -ffreestanding.obrien2002-04-081-3/+1
|
* Add -ffreestanding to CFLAGS for ia64. This should probably be globalpeter2002-03-191-0/+2
| | | | like on the kernel.
* Add splitfs vfs layer into libstand, which allows loading big kernels andsobomax2002-03-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | modules split across several physical medias. Following is how it works: The splitfs code, when asked to open "foo" looks for a file "foo.split" which is a text file containing a list of filenames and media names, e.g. foo.aa "Kernel floppy 1" foo.ab "Kernel floppy 2" foo.ac "Kernel and modules floppy" For each file segment, the process is: - try to open the file - prompt "Insert the disk labelled <whatever> and press any key..." - try to open the file - return error if file could not be located RE team is free to use this feature in the upcoming 5.0-DP1. Reviewed by: msmith, dcs
* Add the following functions/macros to support byte order conversions andtmm2002-02-271-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | device drivers for bus system with other endinesses than the CPU (using interfaces compatible to NetBSD): - bwap16() and bswap32(). These have optimized implementations on some architectures; for those that don't, there exist generic implementations. - macros to convert from a certain byte order to host byte order and vice versa, using a naming scheme like le16toh(), htole16(). These are implemented using the bswap functions. - stream bus space access functions, which do not perform a byte order conversion (while the normal access functions would if the bus endianess differs from the CPU endianess). htons(), htonl(), ntohs() and ntohl() are implemented using the new functions above for kernel usage. None of the above interfaces is currently exported to user land. Make use of the new functions in a few places where local implementations of the same functionality existed. Reviewed by: mike, bde Tested on alpha by: mike
* Fixed world breakage in previous commit. The generated headers are inbde2002-02-021-1/+1
| | | | the current directory which is rarely ${.CURDIR}.
* Complete bzip2-1.0.2 import.sobomax2002-02-011-5/+17
| | | | MFC in: 14 days
* Remove the -I../libc/${MACHINE_ARCH} that was there solely forpeter2001-10-261-3/+0
| | | | the #include "DEFS.h" that was only used on i386 (which has been fixed).
* Make this Makefile suitable for sparc64.robert2001-10-151-2/+5
|
* Add support for loading bzip2-compressed filesystems. Among other thingssobomax2001-09-181-1/+10
| | | | | | | this would allow to load bzip2-compressed kernels/modules from the loader(8) (support for that will be committer separately). MFC after: 1 month
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* A quick and dirty port of libstand to ia64.dfr2001-03-061-0/+15
|
* Honor the ip address given in the root-path dhcp option.ps2000-11-051-5/+1
| | | | | PR: 21743 Submitted by: Brian Candler <B.Candler@pobox.com>
* Inital PowerPC loader build support.obrien2000-10-101-1/+4
| | | | Submitted by: Benno Rice <benno@jeamland.net>
* Add the -mpreferred-stack-boundary=2 option to reduce code bloat. Wepeter2000-08-111-0/+4
| | | | compile the kernel with this.
* Add a readdir function to the loader fsops vector, and implement thejlemon2000-04-291-2/+2
| | | | functionality for some of the filesystesms.
* Break out sendudp and readudp from net.c. This is for PXE, so itps2000-04-081-1/+1
| | | | can use its own UDP interface.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Don't build with -g. The a.out egcs can't handle it at the moment.jdp1999-04-221-2/+2
| | | | | This seems to have snuck back into the Makefile in an unrelated commit (rev. 1.8).
* Copy _setjmp.S from libc in preparation for loader-specific version.dcs1999-02-121-2/+2
|
* Remove stray .endif from previous commit (I hope this is right)peter1998-11-041-2/+1
|
* Well I never. Seems like _setjmp()/_longjmp() are just what the doctormsmith1998-11-041-5/+5
| | | | | | | ordered. This brings the Alpha back to parity, and should bring us BootForth on both platforms. Submitted by: John Birrell (jb@freebsd.org)
* Don't try to build (nonexistent) Alpha setjmp until we have one.msmith1998-11-041-1/+3
|
* Move setjmp/longjmp implementations here from libc; no signal handlingmsmith1998-11-041-4/+4
| | | | | | | | in libstand, only for i386 until I locate an alpha setjmp/longjmp. Minimal 64-bit gcc integer support for i386. This is kinda nasty, and should be revisited once we decide whether the bootblocks need quad arithmetic.
* Add:msmith1998-11-011-4/+9
| | | | | | assert() setjmp()/longjmp() vsprintf()
* Enable the DOS filesystem. This allows reading from various DOS filesystemsmsmith1998-10-061-5/+6
| | | | | | | (FAT12/16/32, VFAT). Make a private copy of strcasecmp, as the "real" one uses the system ctype header, which introduces locale poisoning.
* Don't build with -g.msmith1998-10-041-2/+2
|
* Replace the old and extremely icky Mach/NetBSD allocator with a similarlymsmith1998-09-261-5/+6
| | | | | | | | | | | | | | | | | compact and much better one donated by Matt Dillon. Implement a simple sbrk() which uses the existing setheap() api. Remove the custom allocator from the UFS code. It wasn't working quite right, and it shouldn't be needed with the new allocator. Fix a serious problem with changing the value of already-existent environment variables. Don't attempt to modify the supposedly-const argument to putenv() Fix an off-by-one sizing error in the zipfs code detected by the new allocator. Submitted by: zmalloc from Matt Dillon <dillon@backplane.com>
* Remove (wrong) OBJFORMAT setting.msmith1998-09-151-6/+1
|
* Install libstand header <stand.h> and manpage (libstand.3)msmith1998-08-201-1/+6
|
* This is libstand; a support library for standalone executables (eg. bootstrapmsmith1998-08-201-0/+116
modules). Obtained from: NetBSD, with some architectural changes and many additions.
OpenPOWER on IntegriCloud