Home | History | Annotate | Line # | Download | only in bootimx23
Makefile revision 1.5.4.2
      1  1.5.4.2  tls # $Id: Makefile,v 1.5.4.2 2013/02/25 00:28:38 tls Exp $
      2  1.5.4.2  tls 
      3  1.5.4.2  tls S=		${.CURDIR}/../../../../
      4  1.5.4.2  tls PROG=		bootimx23
      5  1.5.4.2  tls SRCS=		args_prep.c boot_prep.c clock_prep.c common.c emi_prep.c \
      6  1.5.4.2  tls 		pinctrl_prep.c power_prep.c
      7  1.5.4.2  tls 
      8  1.5.4.2  tls .include <bsd.own.mk>
      9  1.5.4.2  tls 
     10  1.5.4.2  tls CLEANFILES+=	${PROG}
     11  1.5.4.2  tls CFLAGS+=	-Wall -Wno-main -ffreestanding -march=armv5te -mtune=arm926ej-s
     12  1.5.4.2  tls CPPFLAGS+=	-D_STANDALONE -DMEMSIZE=64
     13  1.5.4.2  tls CPPFLAGS+=	-DKERNEL_BOOT_ARGS=\"root=ld0a\"
     14  1.5.4.2  tls CPPFLAGS+=	-nostdinc -I. -I${.CURDIR} -I${.OBJDIR} -I${S} -I${S}/arch
     15  1.5.4.2  tls CPPFLAGS+=	-mabi=apcs-gnu -mfloat-abi=soft
     16  1.5.4.2  tls #CPPFLAGS+=	-DDEBUG
     17  1.5.4.2  tls #DBG=		-g
     18  1.5.4.2  tls 
     19  1.5.4.2  tls LIBCRT0=	# nothing
     20  1.5.4.2  tls LIBCRTBEGIN=	# nothing
     21  1.5.4.2  tls LIBCRTEND=	# nothing
     22  1.5.4.2  tls LIBC=		# nothing
     23  1.5.4.2  tls 
     24  1.5.4.2  tls MAN=		# no manual page
     25  1.5.4.2  tls NOMAN=		# defined
     26  1.5.4.2  tls STRIPFLAG=
     27  1.5.4.2  tls BINMODE=	444
     28  1.5.4.2  tls 
     29  1.5.4.2  tls RELOC=		0x00000000
     30  1.5.4.2  tls ENTRY=		_start
     31  1.5.4.2  tls 
     32  1.5.4.2  tls ### find out what to use for libkern
     33  1.5.4.2  tls KERN_AS=	library
     34  1.5.4.2  tls .include "${S}/lib/libkern/Makefile.inc"
     35  1.5.4.2  tls LIBKERN=	${KERNLIB}
     36  1.5.4.2  tls 
     37  1.5.4.2  tls ### find out what to use for libsa
     38  1.5.4.2  tls SA_AS=		library
     39  1.5.4.2  tls .include "${S}/lib/libsa/Makefile.inc"
     40  1.5.4.2  tls LIBSA=		${SALIB}
     41  1.5.4.2  tls 
     42  1.5.4.2  tls ${PROG}: ${OBJS} ${LIBSA} ${LIBKERN}
     43  1.5.4.2  tls 	${MKTARGET_LINK}
     44  1.5.4.2  tls 	${LD} -N -Ttext ${RELOC} -Bstatic -e ${ENTRY} -o ${.TARGET} \
     45  1.5.4.2  tls 	    ${OBJS} ${LIBSA} ${LIBKERN}
     46  1.5.4.2  tls 
     47  1.5.4.2  tls 
     48  1.5.4.2  tls cleandir distclean: .WAIT cleanlibdir
     49  1.5.4.2  tls 
     50  1.5.4.2  tls cleanlibdir:
     51  1.5.4.2  tls 	-rm -rf lib
     52  1.5.4.2  tls 
     53  1.5.4.2  tls .include <bsd.klinks.mk>
     54  1.5.4.2  tls .include <bsd.prog.mk>
     55  1.5.4.2  tls 
     56