a few DBG=-g build fixes, both arches

- setlogin() not available
	- softfloat needed in -lminc for arm
	- libminc: we have to set LIBCDIR for the included files,
	  so use that instead of LIBCSRCDIR

Change-Id: I7f92621ebbca9ce08dc377b3fa61dee089071757
This commit is contained in:
Ben Gras
2013-06-16 15:27:41 +02:00
parent 71ac8a3a8a
commit d1b3ab953e
5 changed files with 46 additions and 26 deletions
+2 -2
View File
@@ -4,12 +4,12 @@ SRCS+= memchr.S memcmp.S memcpy.S memmove.S memset.S \
strncmp.S strrchr.S
.for i in infinityl.c
.PATH.c: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/gen
.PATH.c: ${LIBCDIR}/arch/${MACHINE_ARCH}/gen
SRCS+= ${i}
.endfor
# Import from string
.for i in bcmp.S
.PATH.S: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/string
.PATH.S: ${LIBCDIR}/arch/${MACHINE_ARCH}/string
SRCS+= ${i}
CPPFLAGS.${i}+= -D_LIBC
.endfor