Преглед на файлове

gdb: unbreak host/target install step

Commit 12306a81f8edc (gdb: get rid of host-texinfo dependency) tried to
append MAKEINFO=true to the host/target make install arguments, but as the
default values for these are only added when (host-)autotools-package is
evaluated (and only if empty), this effectively drops the default values and
we ended up without the 'install' target and nothing got installed.

To fix this, specify the full install arguments.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard преди 8 години
родител
ревизия
8ae8d1162d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      package/gdb/gdb.mk

+ 2 - 2
package/gdb/gdb.mk

@@ -39,9 +39,9 @@ HOST_GDB_DEPENDENCIES = host-expat host-ncurses
 
 # Disable building documentation
 GDB_MAKE_OPTS += MAKEINFO=true
-GDB_INSTALL_TARGET_OPTS += MAKEINFO=true
+GDB_INSTALL_TARGET_OPTS += MAKEINFO=true DESTDIR=$(TARGET_DIR) install
 HOST_GDB_MAKE_OPTS += MAKEINFO=true
-HOST_GDB_INSTALL_OPTS += MAKEINFO=true
+HOST_GDB_INSTALL_OPTS += MAKEINFO=true install
 
 # Apply the Xtensa specific patches
 XTENSA_CORE_NAME = $(call qstrip, $(BR2_XTENSA_CORE_NAME))