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

Split Close
Expand all
Collapse all
          --- old/usr/src/psm/stand/lib/promif/sparcv9/ieee1275/sun4u/Makefile
          +++ new/usr/src/psm/stand/lib/promif/sparcv9/ieee1275/sun4u/Makefile
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
       24 +# Copyright 2019 Peter Tribble.
  24   25  #
  25   26  # psm/stand/boot/sparcv9/ieee1275/sun4u/Makefile
  26   27  #
  27   28  #
  28   29  TOPDIR =        ../../../../../../..
  29   30  
  30   31  include $(TOPDIR)/Makefile.master
  31   32  include $(TOPDIR)/lib/Makefile.lib
  32   33  include $(TOPDIR)/psm/stand/lib/Makefile.lib
  33   34  include $(TOPDIR)/psm/Makefile.psm.64
  34   35  
  35   36  CFLAGS64        += -xchip=ultra $(CCABS32)
  36   37  
  37   38  PLATDIR =       $(TOPDIR)/psm/promif/ieee1275/sun4u
  38   39  PLATSUN4DIR =   $(TOPDIR)/psm/promif/ieee1275/sun4
  39   40  SYSDIR =        $(TOPDIR)/uts
  40   41  
  41   42  LIBPLAT =       libplat.a
  42   43  LINTLIBPLAT =   llib-lplat.ln
  43   44  
  44      -PLAT_PFILES =                   \
       45 +PLAT_PFILES =                   \
  45   46          prom_serengeti.c        \
  46   47          prom_sunfire.c          \
  47   48          prom_tlb.c
  48   49  
  49   50  PLAT_PSUN4FILES =               \
  50   51          prom_alloc.c            \
  51   52          prom_cpuctl.c           \
  52   53          prom_fio.c              \
  53   54          prom_getunum.c          \
  54   55          prom_heartbeat.c        \
  55   56          prom_idprom.c           \
  56   57          prom_init.c             \
  57   58          prom_macaddr.c          \
  58   59          prom_map.c              \
  59   60          prom_mem.c              \
  60   61          prom_mmu.c              \
  61   62          prom_retain.c           \
  62   63          prom_sparc.c            \
  63      -        prom_vercheck.c         \
  64   64          prom_vername.c
  65   65  
  66   66  KARCH =         sun4u
  67   67  MMU =           sfmmu
  68   68  
  69   69  OBJSDIR =       objs
  70   70  
  71   71  PLAT_POBJ =     $(PLAT_PFILES:%.c=$(OBJSDIR)/%.o)
  72   72  PLAT_PSUN4OBJ = $(PLAT_PSUN4FILES:%.c=$(OBJSDIR)/%.o)
  73   73  OBJS =          $(PLAT_POBJ) $(PLAT_PSUN4OBJ)
  74   74  L_OBJS =        $(OBJS:%.o=%.ln)
  75      -L_SRCS =        $(PLAT_PFILES:%=$(PLATDIR)/%)
  76      -L_SRCS +=       $(PLAT_PSUN4FILES:%=$(PLATSUN4DIR)/%)
       75 +L_SRCS =        $(PLAT_PFILES:%=$(PLATDIR)/%)
       76 +L_SRCS +=       $(PLAT_PSUN4FILES:%=$(PLATSUN4DIR)/%)
  77   77  
  78   78  ARCHOPTS=       -Dsun4u
  79   79  ASFLAGS =       -P -D__STDC__ -D_BOOT -D_ASM
  80   80  CPPDEFS =       $(ARCHOPTS) -D$(KARCH) -D_BOOT -D_KERNEL -D_MACHDEP
  81   81  CPPINCS =       -I. -I$(SYSDIR)/sun4 -I$(SYSDIR)/$(KARCH) -I$(SYSDIR)/$(MMU) \
  82   82                  -I$(SYSDIR)/sparc/v9 -I$(SYSDIR)/sparc \
  83   83                  -I$(SYSDIR)/sun -I$(SYSDIR)/common
  84   84  CPPFLAGS=       $(CPPDEFS) $(CPPINCS) $(CPPFLAGS.master)
  85   85  CFLAGS +=       $(CCVERBOSE)
  86   86  
↓ open down ↓ 58 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX