toolchain: trailing whitespaces cleanup (just cosmetics!)
[openadk.git] / toolchain / gdb / Makefile
blob52a40fb0d4bb7f5595385b052b94a4806be95f39
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(TOPDIR)/rules.mk
5 include ../rules.mk
6 include Makefile.inc
8 include ${TOPDIR}/mk/buildhlp.mk
10 ifeq (${ADK_MAKE_PARALLEL},y)
11 GDB_MAKEOPTS+= -j${ADK_MAKE_JOBS}
12 endif
14 $(WRKBUILD)/.headers:
15 $(WRKBUILD)/.configured:
16 (cd $(WRKBUILD); \
17 gdb_cv_func_sigsetjmp=yes \
18 ./configure \
19 --prefix=$(STAGING_TOOLS) \
20 --build=$(GNU_HOST_NAME) \
21 --host=$(GNU_HOST_NAME) \
22 --target=$(REAL_GNU_TARGET_NAME) \
23 --disable-dependency-tracking \
24 --without-uiout \
25 --enable-gdbmi \
26 --disable-gdbtk \
27 --without-included-gettext \
28 --disable-libtool-lock \
29 --disable-nls \
30 --with-curses \
31 --enable-threads \
32 --disable-sim \
33 --disable-tui \
34 --disable-werror \
35 --without-x \
37 touch $@
39 $(WRKBUILD)/.compiled:
40 $(MAKE) ${GDB_MAKEOPTS} -C $(WRKBUILD) CFLAGS="-fPIC ${HOSTCFLAGS}"
41 touch $@
43 $(WRKBUILD)/.installed:
44 install -c $(WRKBUILD)/gdb/gdb $(TARGET_CROSS)gdb
45 cd $(STAGING_TOOLS)/bin && \
46 ln -fs $(TARGET_CROSS)gdb $(GNU_TARGET_NAME)-gdb
47 touch $@
49 include ${TOPDIR}/mk/toolchain.mk