From patchwork Fri Apr 12 16:48:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Titouan Christophe X-Patchwork-Id: 1084845 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=railnova.eu Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=railnova-eu.20150623.gappssmtp.com header.i=@railnova-eu.20150623.gappssmtp.com header.b="r8M/KxWl"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44gkZ73Y7Yz9s55 for ; Sat, 13 Apr 2019 02:56:30 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A743587999; Fri, 12 Apr 2019 16:56:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0USYctnL6voM; Fri, 12 Apr 2019 16:56:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A644087929; Fri, 12 Apr 2019 16:56:26 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 31C2E1BF977 for ; Fri, 12 Apr 2019 16:56:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2E758881C7 for ; Fri, 12 Apr 2019 16:56:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XJj3jiTZGBuG for ; Fri, 12 Apr 2019 16:56:24 +0000 (UTC) X-Greylist: delayed 00:06:52 by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by hemlock.osuosl.org (Postfix) with ESMTPS id D2A1388189 for ; Fri, 12 Apr 2019 16:56:23 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id h4so12817267wre.7 for ; Fri, 12 Apr 2019 09:56:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=railnova-eu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RlxgR5JIGfE9JPQ+qSCfxcR1kp5QCKoH9rfyA//LKsc=; b=r8M/KxWlUnrozNbXLNtAKK/ekcFdX8M4pt3hcfYwpioe5PXYVMd5B2TPtGWtCIA73h SC9Oq7h69XKDvnxLY7kws5wHoijb1B2adm9TkvJfb++mcIhgZtflLrCzuyDJI7mNCuva 3/FibbDpMV8FZJxlvpVsYiEdsKmc3eIOAiaP+94yPrdWOleMTBzMmQI52hUwmRVrA7Zr MelMllKQCeIqRBApwShvsxHH6702W2Ztdl+8PoNdYqe/iqxSZTIMuBwM82AT76gSbUHf CXLyiccGp4Fhk+PtVEVRvcXEntuz8BJzsD7GC7hfVKbtU2kTxdsGGVRS+X+wvjHTPBtk lrxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RlxgR5JIGfE9JPQ+qSCfxcR1kp5QCKoH9rfyA//LKsc=; b=lCVImFsjCuIuNxB06SZZcN+YjdCzorPOLS0NN9d3EC4FH8lv1gLeUxHJdfznT388BP D7ha4eusKgiWnTlikUE2G+6xpWHaBaEauqGE8xO0J42+u/aJocM4ti1wfS6t6fO7hBfa 9dTrIfQDJO5a0eZqV+PC12RlUD+MjwmQwNw6PuCLWuW9bDntJIxBIfbOvGnL/ODsmRsy QejqOwZmqCD+k8iM+2BRqhzil1sP/WCgC/7BZmeZrhQagxgSa5M0m+XiaTATu0Ao3fNo TsaESPNSTwsw90uduLa7ZXwpmgMP+Nd2GJNQKXEW0RYMg6ti440YxUDJiITqtkgtTR52 jzrA== X-Gm-Message-State: APjAAAUbE2oULz3MLxuHgFyDEshIIAYEWH5kAu4Sbe7Cm/sHoo1epTtk dr/gCNWV+dd2xagq8Z0X/VHsvViuPyb9Gg== X-Google-Smtp-Source: APXvYqxQudGY+ilREkcSCBzVCDM2WgaFC3GrhKIqwsiUAJIzyBHMCfz7Ap/SU12i9x7KXdR3tb0vsg== X-Received: by 2002:a5d:6349:: with SMTP id b9mr34236628wrw.62.1555087769901; Fri, 12 Apr 2019 09:49:29 -0700 (PDT) Received: from localhost.localdomain ([212.76.254.67]) by smtp.gmail.com with ESMTPSA id 84sm15584592wme.43.2019.04.12.09.49.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 09:49:29 -0700 (PDT) From: Titouan Christophe To: buildroot@buildroot.org Date: Fri, 12 Apr 2019 18:48:56 +0200 Message-Id: <20190412164856.28641-1-titouan.christophe@railnova.eu> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/valgrind: do not install header files on the target X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Titouan Christophe Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Titouan Christophe --- package/valgrind/valgrind.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index cae14f79b9..8ee8c4585c 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -64,6 +64,12 @@ endef VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_INSTALL_UCLIBC_SUPP +define VALGRIND_REMOVE_TARGET_HEADERS + rm -rf $(TARGET_DIR)/usr/include/valgrind +endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_TARGET_HEADERS + ifeq ($(BR2_PACKAGE_VALGRIND_MEMCHECK),) define VALGRIND_REMOVE_MEMCHECK rm -f $(TARGET_DIR)/usr/lib/valgrind/*memcheck*