From 9e4880c5bee33032142bee18a63d7f4a9db4a55a Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Wed, 1 Apr 2015 00:53:02 -0700 Subject: glibc: fix a typo Fixed a typo: name-target-directory -> make-target-directory There is no name-target-directory, it should be make-target-directory, this fixed the error: /bin/bash: /path/to/elf/runtime-linker.T: No such file or directory Makefile:361: recipe for target '/path/to/elf/runtime-linker.st' failed Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- .../glibc/glibc/elf-Makefile-fix-a-typo.patch | 36 ++++++++++++++++++++++ meta/recipes-core/glibc/glibc_2.21.bb | 1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch diff --git a/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch b/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch new file mode 100644 index 0000000000..ec480067a8 --- /dev/null +++ b/meta/recipes-core/glibc/glibc/elf-Makefile-fix-a-typo.patch @@ -0,0 +1,36 @@ +From 6207fb45553ee98f2f326883b7c21b76c8267343 Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Tue, 31 Mar 2015 02:31:25 -0700 +Subject: [PATCH] elf/Makefile: fix a typo + +Fixed a typo: +name-target-directory -> make-target-directory + +There is no name-target-directory, it should be make-target-directory, +this fixed the error: +/bin/bash: /path/to/elf/runtime-linker.T: No such file or directory +Makefile:361: recipe for target '/path/to/elf/runtime-linker.st' failed + +Upstream-Status: Pending + +Signed-off-by: Robert Yang +--- + elf/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/elf/Makefile b/elf/Makefile +index e5b142c..62fe245 100644 +--- a/elf/Makefile ++++ b/elf/Makefile +@@ -358,7 +358,7 @@ $(objpfx)interp.os: $(elf-objpfx)runtime-linker.h + + $(elf-objpfx)runtime-linker.h: $(elf-objpfx)runtime-linker.st; @: + $(elf-objpfx)runtime-linker.st: $(common-objpfx)config.make +- $(name-target-directory) ++ $(make-target-directory) + echo '#define RUNTIME_LINKER "$(rtlddir)/$(rtld-installed-name)"' \ + > ${@:st=T} + $(move-if-change) ${@:st=T} ${@:st=h} +-- +1.7.9.5 + diff --git a/meta/recipes-core/glibc/glibc_2.21.bb b/meta/recipes-core/glibc/glibc_2.21.bb index 91feff58ce..fcef4ff3e5 100644 --- a/meta/recipes-core/glibc/glibc_2.21.bb +++ b/meta/recipes-core/glibc/glibc_2.21.bb @@ -25,6 +25,7 @@ SRC_URI = "git://sourceware.org/git/glibc.git;branch=${BRANCH} \ file://0001-Add-unused-attribute.patch \ file://0001-When-disabling-SSE-also-make-sure-that-fpmath-is-not.patch \ file://0001-yes-within-the-path-sets-wrong-config-variables.patch \ + file://elf-Makefile-fix-a-typo.patch \ ${EGLIBCPATCHES} \ " EGLIBCPATCHES = "\ -- cgit 1.2.3-korg