comparison make/solaris/Makefile @ 1918:34bd82eba3bb

6997456: Not possible to build just compiler2 Summary: Fix the compiler error. Allow to build just c2 specifying FORCE_TIERED=0 on the command line. Reviewed-by: never, kvn
author iveresov
date Fri, 05 Nov 2010 14:49:50 -0700
parents d5d065957597
children d6cdc6c77582
comparison
equal deleted inserted replaced
1916:e62345fd6a46 1918:34bd82eba3bb
51 include $(GAMMADIR)/make/defs.make 51 include $(GAMMADIR)/make/defs.make
52 endif 52 endif
53 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make 53 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make
54 54
55 ifndef CC_INTERP 55 ifndef CC_INTERP
56 FORCE_TIERED=1 56 ifndef FORCE_TIERED
57 FORCE_TIERED=1
58 endif
57 endif 59 endif
58 60
59 ifdef LP64 61 ifdef LP64
60 ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","") 62 ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","")
61 _JUNK_ := $(shell echo >&2 \ 63 _JUNK_ := $(shell echo >&2 \
208 $(SUBDIRS_TIERED): $(BUILDTREE_MAKE) 210 $(SUBDIRS_TIERED): $(BUILDTREE_MAKE)
209 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks 211 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
210 $(BUILDTREE) VARIANT=tiered 212 $(BUILDTREE) VARIANT=tiered
211 213
212 $(SUBDIRS_C2): $(BUILDTREE_MAKE) 214 $(SUBDIRS_C2): $(BUILDTREE_MAKE)
213 ifdef FORCE_TIERED 215 ifeq ($(FORCE_TIERED),1)
214 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks 216 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
215 $(BUILDTREE) VARIANT=tiered FORCE_TIERED=1 217 $(BUILDTREE) VARIANT=tiered FORCE_TIERED=1
216 else 218 else
217 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks 219 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
218 $(BUILDTREE) VARIANT=compiler2 220 $(BUILDTREE) VARIANT=compiler2