Commit Graph

63 Commits

Author SHA1 Message Date
joerg 3c550524b5 Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh.  Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
2011-01-22 19:19:14 +00:00
christos 103e114aab s/LOAD_NOTE/LOAD_BACKWARDS/ 2010-08-25 16:35:57 +00:00
matt 8924d9d669 More changes to make newsmips compile (include "assym.h, remove unused
variables, etc.)
2009-12-17 05:29:56 +00:00
matt 7cce9d88af Fix various build with the 32bit mips ports after the mips64 merge. 2009-12-16 23:19:06 +00:00
snj febb7cce65 Drop 3rd and 4th clauses. Approved by gwr@ (copyright holder). 2009-10-21 23:12:09 +00:00
tsutsui ec658ee9f9 Use mips/conf/stand.ldscript on link so that we can use objcopy(1)
to create raw bootxx binary.  Tested on NWS-5000X.
2009-04-16 12:36:06 +00:00
tsutsui 3d2a48dd46 Use <bsd.klinks.mk> to create machine and ${MACHINE_ARCH} symlinks. 2009-04-15 17:15:13 +00:00
tsutsui ac465a42e7 Remove obsolete LIBSA_USE_MEMCPY and LIBSA_USE_MEMSET.
They were removed from <lib/libsa/stand.h> on December 2007.
2009-04-03 10:38:12 +00:00
tsutsui b5ed1e6cdb Disable LOAD_NOTE on floppy boot. Fixes PR install/38943 on newsmips. 2009-01-20 13:12:26 +00:00
tsutsui 69cf32a782 Replace time_t values in libsa sources with the following two types
to avoid unnecessary 64 bit ops which would make binaries larger:

satime_t (currently unsigned int):
 numbers in seconds returned by the machine dependent getsecs() function
 which are used to measure relative time

saseconds_t (currently int):
 numbers in seconds used to specify timeout to network drivers

Per discussion on current-users.
2009-01-12 11:32:43 +00:00
tsutsui c264741e4c Enable prototype warning options. 2009-01-12 06:50:31 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tsutsui a683a1b3c2 u_int32_t -> uint32_t, remove __P(), ANSIfy. 2008-02-21 14:32:31 +00:00
tsutsui a62d10165d Use __arraycount(). 2008-02-21 14:30:41 +00:00
tsutsui 636d4f1ae2 Account bi_size properly. 2008-01-31 17:38:56 +00:00
lukem 1e9eece03f support MAKEVERBOSE 2006-06-29 01:45:03 +00:00
lukem aa161fb130 Rename LDFLAGS to LINKFLAGS, as the former is for CC not LD. 2006-06-29 01:28:33 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
junyoung 17670568fe Use FS_OPS() macro. 2005-06-23 19:44:00 +00:00
he 44315eaaa0 Remove a now-extraneous right parenthesis, after de-__P'ing. 2005-02-08 08:36:22 +00:00
tsutsui fd4afa037b Misc cleanup:
- ANSI function decls
- remove __P()
- u_intNN_t -> uintNN_t
- remove register decls
- bcopy -> memcpy, strcpy
- bzero -> memset
- bcmp -> memcmp
- use malloc(9) with M_ZERO
- some KNF
etc.
2005-02-06 02:18:02 +00:00
jmc c594ed376d Needs a .WAIT before doing boot/bootxx 2003-12-12 15:57:32 +00:00
tsutsui 3fb3c2b562 Revert previous DPRINTF changes since gcc3 properly removes text strings
in while(0) statements during optimization.
2003-11-21 19:44:53 +00:00
lukem f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
simonb 970b12080e Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
against them.
2003-10-08 01:40:22 +00:00
tsutsui 761db756a1 - remove definitions of SIZE and STRIP which should be defined elsewhere
- use mips/conf/stand.ldscript so that objcopy -O binary works
2003-04-18 19:12:01 +00:00
tsutsui 0b271b64a6 Use LEAF_NOPROFILE(). 2003-04-18 18:52:27 +00:00
tsutsui 71446bc717 Use 32bit daddr_t. 2003-03-30 08:52:23 +00:00
drochner 6e14bfebea Remove remaining uses of libsa/netif -- the "netif" structure was only
used to lookup a "struct romdev", everything else was ballast.
Do it straightforward now and assign the romdev directly to io_netif.
2003-03-13 14:49:12 +00:00
tsutsui f64c3cad31 - Add -msoft-float and -ffreestanding to CFLAGS.
- Add -mno-abicalls to AFLAGS.
- Set WARNS?=1
2002-11-22 16:38:22 +00:00
tsutsui fdeaca44df Add some prototype declarations. 2002-11-22 16:27:07 +00:00
lukem 854c067af6 Update to <sys/bootblock.h>'s shared_bbinfo.
(From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 14:12:23 +00:00
jdolecek 4dd6651e00 CLEANFILES should be set regardless of target 2002-05-05 15:57:15 +00:00
jdolecek b9308c4120 also don't do the machine symlinks for 'cleandir' target 2002-05-05 15:42:26 +00:00
tsutsui 27c8560138 Make sure whole DPRINTF()s are actually disabled on normal build.
It seems compiler does not remove text strings in while(0) statement
on its optimization.
2002-04-30 01:07:26 +00:00
tsutsui e5c1c88d93 Add version strings by newvers_stand.sh to secondary boot. 2002-04-18 14:54:38 +00:00
tsutsui 97538862ad Add -b option for contiguous secondary boot on ustarfs. 2002-04-13 08:14:07 +00:00
tsutsui b29a332627 Add ustarfs support and changedisk_hook(). 2002-04-13 08:04:41 +00:00
tsutsui 3369f7b337 Add some ioctl() definitions to eject floppy. 2002-04-13 07:56:02 +00:00
tsutsui 894a4f24e2 Add getchar(). 2002-04-13 07:53:53 +00:00
tsutsui d5dd9411f6 bcopy() -> memcpy() 2002-04-13 07:34:41 +00:00
tsutsui 10720920d5 bzero() -> memset() 2002-04-13 07:34:17 +00:00
tsutsui c69f6fde96 Rename halt() -> rom_halt(), and declare it in romcall.h. 2002-04-13 02:43:43 +00:00
tsutsui 5e64969e37 Build SA libs with -mmemcpy and set LIBSA_USE_MEMSET and LIBSA_USE_MEMCPY. 2002-04-13 02:30:30 +00:00
tsutsui 9d95be4e68 Add -mmemcpy to CFLAGS. 2002-04-13 02:29:08 +00:00
tsutsui 5e3511e097 Fix a possible uninitialized variable found by new toolchain. 2002-01-16 16:10:32 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
tv 5489b30b60 ${MAKE} print-objdir -> ${PRINTOBJDIR} 2001-11-14 00:58:48 +00:00
tv ab11c169b5 objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
now in bsd.own.mk).
2001-09-22 03:34:17 +00:00
onoe 50159b60f0 Add support to boot on APbus machine (e.g. NWS-5000). 2000-10-12 05:34:29 +00:00