mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
* Actually ignore build errors in optional directories
* Use LLVM_SRC_ROOT as the anchor for the Target.td file * Use MFLAGS instead of MAKEFLAGS for recursive makes so we don't try to build a target "w" or "s" mysteriously. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17186 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dbf9409ef1
commit
c64b2b350d
@ -282,7 +282,7 @@ $(ALL_TARGETS)::
|
||||
$(MKDIR) $$dir; \
|
||||
cp $(BUILD_SRC_DIR)/$$dir/Makefile $$dir/Makefile; \
|
||||
fi; \
|
||||
($(MAKE) -C$$dir $@ $(MFLAGS)) || exit 1; \
|
||||
($(MAKE) -C$$dir $@ $(MFLAGS)) || exit 0; \
|
||||
fi \
|
||||
done
|
||||
endif
|
||||
@ -575,7 +575,7 @@ $(OBJDIR)/%.bc: %.ll $(OBJDIR)/.dir $(LLVMAS)
|
||||
|
||||
ifdef TARGET
|
||||
|
||||
TDFILES := $(strip $(wildcard $(BUILD_SRC_DIR)/*.td) $(BUILD_SRC_ROOT)/lib/Target/Target.td)
|
||||
TDFILES := $(strip $(wildcard $(BUILD_SRC_DIR)/*.td) $(LLVM_SRC_ROOT)/lib/Target/Target.td)
|
||||
|
||||
$(BUILT_SOURCES): $(TDFILES)
|
||||
|
||||
@ -756,7 +756,7 @@ $(CONFIG_STATUS): $(CONFIGURE)
|
||||
$(MAKE_CONFIG): $(MAKE_CONFIG_IN)
|
||||
@$(ECHO) Regenerating $@
|
||||
$(VERB) cd $(LLVM_OBJ_ROOT) ; $(CONFIG_STATUS) Makefile.config
|
||||
$(VERB) $(MAKE) $(MAKEFLAGS) $(MAKECMDGOALS)
|
||||
$(VERB) $(MAKE) $(MFLAGS) $(MAKECMDGOALS)
|
||||
@exit 0;
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
@ -768,7 +768,7 @@ $(OBJMKFILE): $(SRCMKFILE)
|
||||
@$(ECHO) "Updating Makefile from : $(dir $<)"
|
||||
$(VERB) $(MKDIR) $(@D)
|
||||
$(VERB) cp -f $< $@
|
||||
$(VERB) $(MAKE) $(MAKEFLAGS) $(MAKECMDGOALS)
|
||||
$(VERB) $(MAKE) $(MFLAGS) $(MAKECMDGOALS)
|
||||
@exit 0;
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user