From 2d64d38c98955b4a1e68a1c0c8af28e40407ec69 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 18 Feb 2015 17:38:29 +0100 Subject: [PATCH] t-intelmic (mkoffload.o): Remove dependency on insn-modes.h. * config/i386/t-intelmic (mkoffload.o): Remove dependency on insn-modes.h. (ALL_HOST_OBJS): Add mkoffload.o. * config/nvptx/t-nvptx (ALL_HOST_OBJS): Likewise. From-SVN: r220791 --- gcc/ChangeLog | 7 +++++++ gcc/config/i386/t-intelmic | 3 ++- gcc/config/nvptx/t-nvptx | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index edf5a059322..86831bf7b59 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-02-18 Jakub Jelinek + + * config/i386/t-intelmic (mkoffload.o): Remove dependency on + insn-modes.h. + (ALL_HOST_OBJS): Add mkoffload.o. + * config/nvptx/t-nvptx (ALL_HOST_OBJS): Likewise. + 2015-02-18 Jan Hubicka * ipa-devirt.c (odr_subtypes_equivalent_p): Fix formating. diff --git a/gcc/config/i386/t-intelmic b/gcc/config/i386/t-intelmic index 8b36e0d00a8..287460e7153 100644 --- a/gcc/config/i386/t-intelmic +++ b/gcc/config/i386/t-intelmic @@ -1,9 +1,10 @@ -mkoffload.o: $(srcdir)/config/i386/intelmic-mkoffload.c | insn-modes.h +mkoffload.o: $(srcdir)/config/i386/intelmic-mkoffload.c $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ -I$(srcdir)/../libgomp \ -DDEFAULT_REAL_TARGET_MACHINE=\"$(real_target_noncanonical)\" \ -DDEFAULT_TARGET_MACHINE=\"$(target_noncanonical)\" \ $< $(OUTPUT_OPTION) +ALL_HOST_OBJS += mkoffload.o mkoffload$(exeext): mkoffload.o collect-utils.o libcommon-target.a $(LIBIBERTY) $(LIBDEPS) $(COMPILER) -o $@ mkoffload.o collect-utils.o libcommon-target.a $(LIBIBERTY) $(LIBS) diff --git a/gcc/config/nvptx/t-nvptx b/gcc/config/nvptx/t-nvptx index d53471f9551..e2580c956e0 100644 --- a/gcc/config/nvptx/t-nvptx +++ b/gcc/config/nvptx/t-nvptx @@ -3,6 +3,7 @@ CFLAGS-mkoffload.o += $(DRIVER_DEFINES) \ mkoffload.o: $(srcdir)/config/nvptx/mkoffload.c $(COMPILE) $< $(POSTCOMPILE) +ALL_HOST_OBJS += mkoffload.o mkoffload$(exeext): mkoffload.o collect-utils.o libcommon-target.a $(LIBIBERTY) $(LIBDEPS) +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \ -- 2.30.2