diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-07 16:59:51 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-07 16:59:51 +0100 |
commit | d3b021b5410aeb3f62a7225dccb3f6f2617d4c38 (patch) | |
tree | e4313904bd4622b4b9c6ec8dc2fa24a970c9bd60 /toolchain/binutils/Makefile | |
parent | a34589bab665fdf945eaa22d756b45418763deea (diff) |
add toolchain settings menu point
- gdb compilation can be disabled
- gcc languages (c++/java) can be enabled/disabled
- gcc stack smashing protection can be enabled/disabled
Diffstat (limited to 'toolchain/binutils/Makefile')
-rw-r--r-- | toolchain/binutils/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index 33f03c7fb..2b0137db9 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -6,6 +6,12 @@ include Makefile.inc include ../rules.mk include ${TOPDIR}/mk/buildhlp.mk +ifeq ($(ADK_TOOLCHAIN_GCC_SSP),y) +CONFOPTS+= --enable-libssp +else +CONFOPTS+= --disable-libssp +endif + ifeq ($(ADK_LINUX_64),y) CONFOPTS+= --enable-64-bit-bfd endif @@ -22,14 +28,13 @@ $(WRKBUILD)/.configured: --build=$(GNU_HOST_NAME) \ --host=$(GNU_HOST_NAME) \ --target=$(REAL_GNU_TARGET_NAME) \ - --disable-nls \ --with-sysroot=$(TOOLCHAIN_SYSROOT) \ --with-sysroot=$(STAGING_TARGET_DIR) \ --disable-multilib \ --disable-dependency-tracking \ --disable-libtool-lock \ + --disable-nls \ --disable-werror \ - --disable-libssp \ ${CONFOPTS} \ ); touch $@ |