diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index e8a6f44..f9c55be 100644 --- a/Makefile.in +++ b/Makefile.in @@ -141,6 +141,7 @@ endif ifeq (@enable_gdb@,--enable-gdb) newlib: stamps/build-gdb-newlib linux: stamps/build-gdb-linux +musl: stamps/build-gdb-musl endif linux-native: stamps/build-gcc-linux-native ifeq (@enable_llvm@,--enable-llvm) @@ -794,6 +795,30 @@ stamps/build-binutils-musl: $(BINUTILS_SRCDIR) $(BINUTILS_SRC_GIT) $(PREPARATION $(MAKE) -C $(notdir $@) install mkdir -p $(dir $@) && touch $@ +stamps/build-gdb-musl: $(GDB_SRCDIR) $(GDB_SRC_GIT) $(PREPARATION_STAMP) + rm -rf $@ $(notdir $@) + mkdir $(notdir $@) +# CC_FOR_TARGET is required for the ld testsuite. + cd $(notdir $@) && CC_FOR_TARGET=$(MUSL_CC_FOR_TARGET) $</configure \ + --target=$(MUSL_TUPLE) \ + $(CONFIGURE_HOST) \ + --prefix=$(INSTALL_DIR) \ + --with-sysroot=$(SYSROOT) \ + $(MULTILIB_FLAGS) \ + @with_guile@ \ + --disable-werror \ + --disable-nls \ + $(GDB_TARGET_FLAGS) \ + --enable-gdb \ + --disable-gas \ + --disable-binutils \ + --disable-ld \ + --disable-gold \ + --disable-gprof + $(MAKE) -C $(notdir $@) + $(MAKE) -C $(notdir $@) install + mkdir -p $(dir $@) && touch $@ + stamps/build-gcc-musl-stage1: $(GCC_SRCDIR) $(GCC_SRC_GIT) stamps/build-binutils-musl \ stamps/build-linux-headers if test -f $</contrib/download_prerequisites && test "@NEED_GCC_EXTERNAL_LIBRARIES@" = "true"; then cd $< && ./contrib/download_prerequisites; fi |