comparison make/linux/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 2d26b0046e0d b92c45f2bc75
comparison
equal deleted inserted replaced
1916:e62345fd6a46 1918:34bd82eba3bb
60 include $(GAMMADIR)/make/defs.make 60 include $(GAMMADIR)/make/defs.make
61 endif 61 endif
62 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make 62 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make
63 63
64 ifndef CC_INTERP 64 ifndef CC_INTERP
65 FORCE_TIERED=1 65 ifndef FORCE_TIERED
66 FORCE_TIERED=1
67 endif
66 endif 68 endif
67 69
68 ifdef LP64 70 ifdef LP64
69 ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","") 71 ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","")
70 _JUNK_ := $(shell echo >&2 \ 72 _JUNK_ := $(shell echo >&2 \
252 $(SUBDIRS_TIERED): $(BUILDTREE_MAKE) 254 $(SUBDIRS_TIERED): $(BUILDTREE_MAKE)
253 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks 255 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
254 $(BUILDTREE) VARIANT=tiered 256 $(BUILDTREE) VARIANT=tiered
255 257
256 $(SUBDIRS_C2): $(BUILDTREE_MAKE) 258 $(SUBDIRS_C2): $(BUILDTREE_MAKE)
257 ifdef FORCE_TIERED 259 ifeq ($(FORCE_TIERED),1)
258 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks 260 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
259 $(BUILDTREE) VARIANT=tiered FORCE_TIERED=1 261 $(BUILDTREE) VARIANT=tiered FORCE_TIERED=1
260 else 262 else
261 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks 263 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
262 $(BUILDTREE) VARIANT=compiler2 264 $(BUILDTREE) VARIANT=compiler2