Return to Makefile CVS log | Up to [local] / sys / arch / vax / boot / xxboot |
File: [local] / sys / arch / vax / boot / xxboot / Makefile (download)
Revision 1.1.1.1 (vendor branch), Tue Mar 4 16:08:35 2008 UTC (16 years, 4 months ago) by nbrk
Import of OpenBSD 4.2 release kernel tree with initial code to support Jornada 720/728, StrongARM 1110-based handheld PC. At this point kernel roots on NFS and boots into vfs_mountroot() and traps. What is supported: - glass console, Jornada framebuffer (jfb) works in 16bpp direct color mode (needs some palette tweaks for non black/white/blue colors, i think) - saic, SA11x0 interrupt controller (needs cleanup) - sacom, SA11x0 UART (supported only as boot console for now) - SA11x0 GPIO controller fully supported (but can't handle multiple interrupt handlers on one gpio pin) - sassp, SSP port on SA11x0 that attaches spibus - Jornada microcontroller (jmcu) to control kbd, battery, etc throught the SPI bus (wskbd attaches on jmcu, but not tested) - tod functions seem work - initial code for SA-1111 (chip companion) : this is TODO Next important steps, i think: - gpio and intc on sa1111 - pcmcia support for sa11x0 (and sa1111 help logic) - REAL root on nfs when we have PCMCIA support (we may use any of supported pccard NICs) - root on wd0! (using already supported PCMCIA-ATA) |
# $OpenBSD: Makefile,v 1.6 2006/07/04 21:43:53 martin Exp $ # $NetBSD: Makefile,v 1.12 2002/02/24 01:04:25 matt Exp $ S= ${.CURDIR}/../../../../ PROG= xxboot LINKS= ${BINDIR}/xxboot ${BINDIR}/raboot LINKS+= ${BINDIR}/xxboot ${BINDIR}/hdboot LINKS+= ${BINDIR}/xxboot ${BINDIR}/sdboot LINKS+= ${BINDIR}/xxboot ${BINDIR}/hpboot WARNS?= 1 SRCS= start.S bootxx.c romread.S str.S urem.s udiv.s INSTALL_STRIP= CPPFLAGS+=-D_STANDALONE -DLIBSA_NO_FD_CHECKING -DLIBSA_NO_RAW_ACCESS \ -DLIBSA_NO_TWIDDLE -DLIBSA_SINGLE_DEVICE=rom \ -DLIBSA_NO_COMPAT_UFS \ -DLIBSA_NO_FS_SYMLINK -DLIBSA_NO_FS_CLOSE \ -DLIBSA_NO_FS_WRITE -DLIBSA_NO_FS_SEEK \ -DNEED_UFS BINDIR= /usr/mdec NOMAN= # defined CFLAGS= -Os SAREL= SA_AS= library .include "${S}/lib/libsa/Makefile.inc" LIBSA= ${SALIB} #KERN_AS=library #.include "${S}/lib/libkern/Makefile.inc" #LIBKERN=${KERNLIB} .if ${MACHINE} == "vax" .PHONY: machine-links beforedepend: machine-links machine-links: @[ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine @[ -h ${MACHINE_ARCH} ] || ln -s ${S}/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH} .NOPATH: machine ${MACHINE_ARCH} CLEANFILES+= machine ${MACHINE_ARCH} ${PROG}.out .endif ${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${PROG}: ${OBJS} ${LIBSA} ${LIBKERN} ${LD} -N -Ttext 100000 -o ${PROG}.out ${OBJS} ${LIBSA} ${LIBKERN} /usr/bin/strip ${PROG}.out /usr/bin/size ${PROG}.out /bin/dd if=${PROG}.out of=${PROG} bs=32 skip=1 clean:: rm -f a.out [Ee]rrs mklog core *.core ${PROG} ${OBJS} ${LOBJS} \ ${CLEANFILES} .include <bsd.prog.mk>