[linux-yocto] [linux-yocto v5.0/standard/base][PATCH] linux-yocto: fix compile warning from gen-insn-attr-x86.awk

Liwei Song liwei.song at windriver.com
Wed Apr 17 19:26:59 PDT 2019


Fix the following compile warning:
Warning: synced file at 'tools/objtool/arch/x86/tools/gen-insn-attr-x86.awk' differs from latest kernel version at 'arch/x86/tools/gen-insn-attr-x86.awk'

change /bin/awk to /usr/bin/awk in
tools/objtool/arch/x86/tools/gen-insn-attr-x86.awk can fix it.

Fixes: 8b4581d0f5a7 ("linux-yocto: Handle /bin/awk issues")
Signed-off-by: Liwei Song <liwei.song at windriver.com>
---
 tools/objtool/arch/x86/tools/gen-insn-attr-x86.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/objtool/arch/x86/tools/gen-insn-attr-x86.awk b/tools/objtool/arch/x86/tools/gen-insn-attr-x86.awk
index b02a36b2c14f..9166a071484c 100644
--- a/tools/objtool/arch/x86/tools/gen-insn-attr-x86.awk
+++ b/tools/objtool/arch/x86/tools/gen-insn-attr-x86.awk
@@ -1,4 +1,4 @@
-#!/bin/awk -f
+#!/usr/bin/awk -f
 # SPDX-License-Identifier: GPL-2.0
 # gen-insn-attr-x86.awk: Instruction attribute table generator
 # Written by Masami Hiramatsu <mhiramat at redhat.com>
-- 
2.7.4



More information about the linux-yocto mailing list