From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f170.google.com ([209.85.128.170]:38859 "EHLO mail-wr0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751457AbeBWOW6 (ORCPT ); Fri, 23 Feb 2018 09:22:58 -0500 Received: by mail-wr0-f170.google.com with SMTP id n7so14295350wrn.5 for ; Fri, 23 Feb 2018 06:22:58 -0800 (PST) From: Robin Jarry Subject: [PATCH 0/2] objtool: fix libelf detection in non-standard locations Date: Fri, 23 Feb 2018 15:22:13 +0100 Message-Id: Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Masahiro Yamada , Michal Marek Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org When libelf headers and libs are not in standard locations, the check fails and host flags are ignored. I have encountered this issue when building linux into the buildroot framework. host-* versions of libs may be compiled and installed in a host staging dir removing the need to install them on the build system. Comments are welcome. Regards, Robin Jarry (2): kbuild: introduce HOST_EXTRALDFLAGS objtool: use host flags to detect if libelf is missing Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.11.0