mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:30:44 +00:00
Bug 578563: Make objdir builds the default when using client.mk. r=ted a2.0=bs
This commit is contained in:
parent
c21fdc14d1
commit
97141c6762
16
client.mk
16
client.mk
@ -142,11 +142,12 @@ run_for_side_effects := \
|
||||
|
||||
include $(TOPSRCDIR)/.mozconfig.mk
|
||||
|
||||
ifndef MOZ_OBJDIR
|
||||
MOZ_OBJDIR = obj-$(CONFIG_GUESS)
|
||||
endif
|
||||
|
||||
ifdef MOZ_BUILD_PROJECTS
|
||||
|
||||
ifndef MOZ_OBJDIR
|
||||
$(error When MOZ_BUILD_PROJECTS is set, you must set MOZ_OBJDIR)
|
||||
endif
|
||||
ifdef MOZ_CURRENT_PROJECT
|
||||
OBJDIR = $(MOZ_OBJDIR)/$(MOZ_CURRENT_PROJECT)
|
||||
MOZ_MAKE = $(MAKE) $(MOZ_MAKE_FLAGS) -C $(OBJDIR)
|
||||
@ -158,13 +159,8 @@ endif
|
||||
|
||||
else # MOZ_BUILD_PROJECTS
|
||||
|
||||
ifdef MOZ_OBJDIR
|
||||
OBJDIR = $(MOZ_OBJDIR)
|
||||
MOZ_MAKE = $(MAKE) $(MOZ_MAKE_FLAGS) -C $(OBJDIR)
|
||||
else
|
||||
OBJDIR := $(TOPSRCDIR)
|
||||
MOZ_MAKE := $(MAKE) $(MOZ_MAKE_FLAGS)
|
||||
endif
|
||||
OBJDIR = $(MOZ_OBJDIR)
|
||||
MOZ_MAKE = $(MAKE) $(MOZ_MAKE_FLAGS) -C $(OBJDIR)
|
||||
|
||||
endif # MOZ_BUILD_PROJECTS
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user