PERFORCE change 28974 for review

Robert Drehmel robert at FreeBSD.org
Tue Apr 15 03:42:25 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=28974

Change 28974 by robert at robert_cursys on 2003/04/15 03:42:17

	Use the MACHINE variable to determine a
	${MACHINE_ARCH}'s variant.

Affected files ...

.. //depot/projects/mips/sys/boot/arc/lib/Makefile#3 edit

Differences ...

==== //depot/projects/mips/sys/boot/arc/lib/Makefile#3 (text+ko) ====

@@ -27,15 +27,15 @@
 SRCS+=	rpb.c
 .endif
 .if ${MACHINE_ARCH} == "mips"
-CFLAGS+=	-D${PLATFORM}
+CFLAGS+=	-D${MACHINE}
 .endif
 
 CLEANFILES+= machine
 
-.ifdef PLATFORM
+.ifdef MACHINE
 CLEANFILES+= platform
 platform:
-	ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/${PLATFORM} platform
+	ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/${MACHINE} platform
 machine: platform
 .else
 machine:


More information about the p4-projects mailing list