diff options
Diffstat (limited to 'misc/buildroot/toolchain/gdb/gdb.mk')
-rw-r--r-- | misc/buildroot/toolchain/gdb/gdb.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/buildroot/toolchain/gdb/gdb.mk b/misc/buildroot/toolchain/gdb/gdb.mk index aa9e126bc..0f0f7e89b 100644 --- a/misc/buildroot/toolchain/gdb/gdb.mk +++ b/misc/buildroot/toolchain/gdb/gdb.mk @@ -36,7 +36,9 @@ ifeq ($(GDB_VERSION),snapshot) tar jtf $(DL_DIR)/$(GDB_SOURCE) | head -1 | cut -d"/" -f1) ln -sf $(TOOL_BUILD_DIR)/$(shell tar jtf $(DL_DIR)/$(GDB_SOURCE) | head -1 | cut -d"/" -f1) $(GDB_DIR) endif +ifneq ($(wildcard toolchain/gdb/$(GDB_VERSION)),) toolchain/patch-kernel.sh $(GDB_DIR) toolchain/gdb/$(GDB_VERSION) \*.patch +endif $(CONFIG_UPDATE) $(GDB_DIR) touch $(GDB_DIR)/.unpacked |