Print this page
11630 remove checks for 64-bit capable hardware


   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.

  24 #
  25 # psm/stand/boot/sparcv9/ieee1275/sun4u/Makefile
  26 #
  27 #
  28 TOPDIR =        ../../../../../../..
  29 
  30 include $(TOPDIR)/Makefile.master
  31 include $(TOPDIR)/lib/Makefile.lib
  32 include $(TOPDIR)/psm/stand/lib/Makefile.lib
  33 include $(TOPDIR)/psm/Makefile.psm.64
  34 
  35 CFLAGS64        += -xchip=ultra $(CCABS32)
  36 
  37 PLATSUN4DIR =   $(TOPDIR)/psm/promif/ieee1275/sun4
  38 SYSDIR =        $(TOPDIR)/uts
  39 
  40 LIBPLAT =       libplat.a
  41 LINTLIBPLAT =   llib-lplat.ln
  42 
  43 PLAT_PFILES =
  44 
  45 PLAT_PSUN4FILES =               \
  46         prom_alloc.c            \
  47         prom_cpuctl.c           \
  48         prom_fio.c              \
  49         prom_getunum.c          \
  50         prom_heartbeat.c        \
  51         prom_idprom.c           \
  52         prom_init.c             \
  53         prom_macaddr.c          \
  54         prom_map.c              \
  55         prom_mem.c              \
  56         prom_mmu.c              \
  57         prom_retain.c           \
  58         prom_sparc.c            \
  59         prom_vercheck.c         \
  60         prom_vername.c
  61 
  62 KARCH =         sun4u
  63 MMU =           sfmmu
  64 
  65 OBJSDIR =       objs
  66 
  67 PLAT_POBJ =     $(PLAT_PFILES:%.c=$(OBJSDIR)/%.o)
  68 PLAT_PSUN4OBJ = $(PLAT_PSUN4FILES:%.c=$(OBJSDIR)/%.o)
  69 OBJS =          $(PLAT_POBJ) $(PLAT_PSUN4OBJ)
  70 L_OBJS =        $(OBJS:%.o=%.ln)
  71 L_SRCS =        $(PLAT_PFILES:%=$(PLATDIR)/%)
  72 L_SRCS +=       $(PLAT_PSUN4FILES:%=$(PLATSUN4DIR)/%)
  73 
  74 ARCHOPTS=       -Dsun4u
  75 ASFLAGS =       -P -D__STDC__ -D_BOOT -D_ASM
  76 CPPDEFS =       $(ARCHOPTS) -D$(KARCH) -D_BOOT -D_KERNEL -D_MACHDEP
  77 CPPINCS =       -I. -I$(SYSDIR)/sun4 -I$(SYSDIR)/$(KARCH) -I$(SYSDIR)/$(MMU) \
  78                 -I$(SYSDIR)/sparc/v9 -I$(SYSDIR)/sparc \
  79                 -I$(SYSDIR)/sun -I$(SYSDIR)/common




   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 # Copyright 2019 Peter Tribble.
  25 #
  26 # psm/stand/boot/sparcv9/ieee1275/sun4u/Makefile
  27 #
  28 #
  29 TOPDIR =        ../../../../../../..
  30 
  31 include $(TOPDIR)/Makefile.master
  32 include $(TOPDIR)/lib/Makefile.lib
  33 include $(TOPDIR)/psm/stand/lib/Makefile.lib
  34 include $(TOPDIR)/psm/Makefile.psm.64
  35 
  36 CFLAGS64        += -xchip=ultra $(CCABS32)
  37 
  38 PLATSUN4DIR =   $(TOPDIR)/psm/promif/ieee1275/sun4
  39 SYSDIR =        $(TOPDIR)/uts
  40 
  41 LIBPLAT =       libplat.a
  42 LINTLIBPLAT =   llib-lplat.ln
  43 
  44 PLAT_PFILES =
  45 
  46 PLAT_PSUN4FILES =               \
  47         prom_alloc.c            \
  48         prom_cpuctl.c           \
  49         prom_fio.c              \
  50         prom_getunum.c          \
  51         prom_heartbeat.c        \
  52         prom_idprom.c           \
  53         prom_init.c             \
  54         prom_macaddr.c          \
  55         prom_map.c              \
  56         prom_mem.c              \
  57         prom_mmu.c              \
  58         prom_retain.c           \
  59         prom_sparc.c            \

  60         prom_vername.c
  61 
  62 KARCH =         sun4u
  63 MMU =           sfmmu
  64 
  65 OBJSDIR =       objs
  66 
  67 PLAT_POBJ =     $(PLAT_PFILES:%.c=$(OBJSDIR)/%.o)
  68 PLAT_PSUN4OBJ = $(PLAT_PSUN4FILES:%.c=$(OBJSDIR)/%.o)
  69 OBJS =          $(PLAT_POBJ) $(PLAT_PSUN4OBJ)
  70 L_OBJS =        $(OBJS:%.o=%.ln)
  71 L_SRCS =        $(PLAT_PFILES:%=$(PLATDIR)/%)
  72 L_SRCS +=       $(PLAT_PSUN4FILES:%=$(PLATSUN4DIR)/%)
  73 
  74 ARCHOPTS=       -Dsun4u
  75 ASFLAGS =       -P -D__STDC__ -D_BOOT -D_ASM
  76 CPPDEFS =       $(ARCHOPTS) -D$(KARCH) -D_BOOT -D_KERNEL -D_MACHDEP
  77 CPPINCS =       -I. -I$(SYSDIR)/sun4 -I$(SYSDIR)/$(KARCH) -I$(SYSDIR)/$(MMU) \
  78                 -I$(SYSDIR)/sparc/v9 -I$(SYSDIR)/sparc \
  79                 -I$(SYSDIR)/sun -I$(SYSDIR)/common