Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pgoyette-compat]: src/sys/modules/compat Remove duplicate setting of -DC...



details:   https://anonhg.NetBSD.org/src/rev/e354d41ecf42
branches:  pgoyette-compat
changeset: 321105:e354d41ecf42
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon Mar 26 00:00:39 2018 +0000

description:
Remove duplicate setting of -DCPU_UCODE

diffstat:

 sys/modules/compat/Makefile |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (31 lines):

diff -r 8279f0641631 -r e354d41ecf42 sys/modules/compat/Makefile
--- a/sys/modules/compat/Makefile       Sun Mar 25 23:53:51 2018 +0000
+++ b/sys/modules/compat/Makefile       Mon Mar 26 00:00:39 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14.14.5 2018/03/22 01:44:51 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.14.14.6 2018/03/26 00:00:39 pgoyette Exp $
 
 .include "../Makefile.inc"
 
@@ -24,13 +24,6 @@
 CPPFLAGS+=     -DCOMPAT_30 -DCOMPAT_40 -DCOMPAT_50
 CPPFLAGS+=     -DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80
 CPPFLAGS+=     -DCOMPAT_43
-.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
-CPPFLAGS+=     -DCPU_UCODE
-# pick up more for bsd.klinks.mk as needed.
-MACHINE_EXTRA= x86
-.else
-MACHINE_EXTRA= none
-.endif
 
 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
 CPPFLAGS+=     -DCPU_UCODE
@@ -38,7 +31,6 @@
 MACHINE_EXTRA= x86
 .else
 MACHINE_EXTRA= none
-
 .endif
 
 .include "../../compat/common/Makefile.sysio"



Home | Main Index | Thread Index | Old Index