We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 774bec3 commit 1a4bf28Copy full SHA for 1a4bf28
tools/objtool/Makefile
@@ -41,8 +41,11 @@ include $(srctree)/tools/build/Makefile.include
41
$(OBJTOOL_IN): fixdep FORCE
42
@$(MAKE) $(build)=objtool
43
44
+# Busybox's diff doesn't have -I, avoid warning in that case
45
+#
46
$(OBJTOOL): $(LIBSUBCMD) $(OBJTOOL_IN)
- @(test -d ../../kernel -a -d ../../tools -a -d ../objtool && (( \
47
+ @(diff -I 2>&1 | grep -q 'option requires an argument' && \
48
+ test -d ../../kernel -a -d ../../tools -a -d ../objtool && (( \
49
diff -I'^#include' arch/x86/insn/insn.c ../../arch/x86/lib/insn.c >/dev/null && \
50
diff -I'^#include' arch/x86/insn/inat.c ../../arch/x86/lib/inat.c >/dev/null && \
51
diff arch/x86/insn/x86-opcode-map.txt ../../arch/x86/lib/x86-opcode-map.txt >/dev/null && \
0 commit comments