Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/conf Define KERNEL_BASES_EQUAL is KERNEL_BAS...



details:   https://anonhg.NetBSD.org/src/rev/45732123ff01
branches:  trunk
changeset: 328202:45732123ff01
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Mar 29 14:04:31 2014 +0000

description:
Define KERNEL_BASES_EQUAL is KERNEL_BASE_VIRT == KERNEL_BASE_PHYS

diffstat:

 sys/arch/evbarm/conf/Makefile.evbarm.inc |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 8a60ce68578a -r 45732123ff01 sys/arch/evbarm/conf/Makefile.evbarm.inc
--- a/sys/arch/evbarm/conf/Makefile.evbarm.inc  Sat Mar 29 14:02:46 2014 +0000
+++ b/sys/arch/evbarm/conf/Makefile.evbarm.inc  Sat Mar 29 14:04:31 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.evbarm.inc,v 1.28 2014/02/21 22:33:08 matt Exp $
+#      $NetBSD: Makefile.evbarm.inc,v 1.29 2014/03/29 14:04:31 matt Exp $
 
 #
 # If this is a install kernel and the ramdisk image exists in the object
@@ -20,6 +20,11 @@
 .include "${BOARDMKFRAG}"
 .endif
 
+.if defined(KERNEL_BASE_PHYS) && defined(KERNEL_BASE_VIRT) \
+    && ${KERNEL_BASE_PHYS} == ${KERNEL_BASE_VIRT}
+CPPFLAGS+=-DKERNEL_BASES_EQUAL
+.endif
+
 EXTRA_CLEAN+= ldscript tmp ${KERNELS:=.map}
 
 .if defined(KERNEL_BASE_PHYS)



Home | Main Index | Thread Index | Old Index