changeset 5:9feaa4b27fc8

add plat_tem_get_inverses() in uts/armpf/io/consplat.c and make_option() in uts/ne1/unix/makeopt. It enables building uts when NO_TEM_FRAMEWORK is false.
author Koji Uno <koji.uno@sun.com>
date Tue, 06 Oct 2009 11:02:31 +0900
parents 1a15d5aaf794
children 66ca4e7dba9b
files usr/src/uts/armpf/io/consplat.c usr/src/uts/ne1/unix/makeopt
diffstat 2 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/armpf/io/consplat.c	Mon Aug 31 14:38:03 2009 +0900
+++ b/usr/src/uts/armpf/io/consplat.c	Tue Oct 06 11:02:31 2009 +0900
@@ -104,6 +104,13 @@
  * unused on ARM.
  */
 void
+plat_tem_get_inverses(int *inverse, int *inverse_screen)
+{
+	*inverse = 0;
+	*inverse_screen = 0;
+}
+
+void
 plat_tem_get_prom_font_size(int *charheight, int *windowtop)
 {
 	*charheight = 0;
--- a/usr/src/uts/ne1/unix/makeopt	Mon Aug 31 14:38:03 2009 +0900
+++ b/usr/src/uts/ne1/unix/makeopt	Tue Oct 06 11:02:31 2009 +0900
@@ -79,5 +79,14 @@
 	make_option("CORE_OBJS += wdt.o");
 }
 
+# TEM framework
+if (!eval_option(NO_TEM_FRAMEWORK)) {
+	make_option("CORE_OBJS += tem.o");
+	make_option("CORE_OBJS += tem_safe.o");
+	make_option("CORE_OBJS += 6x10.o");
+	make_option("CORE_OBJS += 7x14.o");
+	make_option("CORE_OBJS += 12x22.o");
+}
+
 # Never remove this line, and never put any character after this line.
 1;