summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/uclibc/Makefile3
-rw-r--r--target/linux/config/Config.in.debug8
-rw-r--r--toolchain/Makefile4
3 files changed, 11 insertions, 4 deletions
diff --git a/package/uclibc/Makefile b/package/uclibc/Makefile
index 5319881d8..26ab23136 100644
--- a/package/uclibc/Makefile
+++ b/package/uclibc/Makefile
@@ -30,9 +30,6 @@ do-install:
test -z $(ADK_RUNTIME_TIMEZONE) || \
grep $(ADK_RUNTIME_TIMEZONE) ./files/tz.lst | \
cut -f 2 > $(IDIR_UCLIBC)/etc/TZ
-ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
- $(CP) $(STAGING_TARGET_DIR)/lib/libssp.so* $(IDIR_UCLIBC)/$(ADK_TARGET_LIBC_PATH)
-endif
$(CP) $(STAGING_TARGET_DIR)/lib/libc.so.* $(IDIR_UCLIBC)/$(ADK_TARGET_LIBC_PATH)
$(CP) $(STAGING_TARGET_DIR)/lib/libuClibc-$(PKG_VERSION).so \
$(IDIR_UCLIBC)/$(ADK_TARGET_LIBC_PATH)
diff --git a/target/linux/config/Config.in.debug b/target/linux/config/Config.in.debug
index 6bf4ce0c6..50c173321 100644
--- a/target/linux/config/Config.in.debug
+++ b/target/linux/config/Config.in.debug
@@ -59,12 +59,18 @@ config ADK_KERNEL_MAGIC_SYSRQ
config ADK_KERNEL_DEBUG_FS
prompt "Debug Filesystem"
boolean
- default y
+ default n
help
debugfs is a virtual file system that kernel developers use to put
debugging files into. Enable this option to be able to read and
write to these files.
+config ADK_KERNEL_DEBUG_INFO
+ prompt "Debug info"
+ boolean
+ default n
+ help
+
config ADK_KERNEL_DEBUG_WITH_KGDB
prompt "Enable remote kernel debugging using KGDB"
boolean
diff --git a/toolchain/Makefile b/toolchain/Makefile
index fd92b46f7..ed5f2652c 100644
--- a/toolchain/Makefile
+++ b/toolchain/Makefile
@@ -49,7 +49,11 @@ endif
gcc-configure: $(LIBC)-prepare
$(LIBC)-compile: gcc-configure
gcc-compile: $(LIBC)-install
+ifeq ($(ADK_TOOLCHAIN_GDB),y)
+$(LIBC)-fixup: gdb-install
+else
$(LIBC)-fixup: gcc-install
+endif
$(STAGING_HOST_DIR):
@mkdir -p $(STAGING_HOST_DIR)/lib