From patchwork Wed Oct 30 13:27:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 1186697 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="atAuZuJJ"; 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 4738RL20yCz9sCJ for ; Thu, 31 Oct 2019 00:28:29 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CDE2886D53; Wed, 30 Oct 2019 13:28:27 +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 IT3srdSsrr2u; Wed, 30 Oct 2019 13:28:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id EB01986C7E; Wed, 30 Oct 2019 13:28:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 63B451BF232 for ; Wed, 30 Oct 2019 13:28:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4B17486C7E for ; Wed, 30 Oct 2019 13:28:23 +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 Qf4AZTKQDB7z for ; Wed, 30 Oct 2019 13:28:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) by whitealder.osuosl.org (Postfix) with ESMTPS id 94F5A86BE1 for ; Wed, 30 Oct 2019 13:28:22 +0000 (UTC) Received: by mail-qk1-f181.google.com with SMTP id d13so2708260qko.3 for ; Wed, 30 Oct 2019 06:28:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2l5EW20t6+RvatXcObpEekiNVQbYQ5ntOt1Naulh028=; b=atAuZuJJI0S0qq3YKJQ95Ja4JwA9bd+HJfooVIBpzeGJU0NPuGoJzXF1UBziW7xOJI FyTGFJvVsEPrF7yn+eEC2QAdOPjPKR/ER+A5Abi1jurrUFDrFhtr2m29aJqThGL0AP5s s3Fdv84ejAjBjnN6VpkFkcadnAa9qrw2sVOGVfCgw6WZGPHA0zyqHs9YzzkvNh2m17AH k+OeF4xfXiV6dB0jtzQVlK3KsK2fi/V0gFPOmKA5qSxCFs26nWE+O6aNuleuAi7oD5L2 Rt58YVpnqpLFwggw9SpmVzehlp1AVo9ZixuOcu6ToOMq8VlE/4SL19q8HCjQZp0cAiWW d0Eg== 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:in-reply-to :references; bh=2l5EW20t6+RvatXcObpEekiNVQbYQ5ntOt1Naulh028=; b=jqNoAeKbeVuVvF6MngU0+WFxecjvJsdh6TgpIw9wJRmtZ8QaSSPJHOpKmBoS8vU2Tw Cj/jLxZpuAV3g6DgaZDYwWulUVInkuRM7DR5ZJRVqQRWipZevyzXZ677qxqIX+NS2SE1 0fHXqjdJsT9TJeY/d4O8ubRtvz+HG4xsIdYmIA9XSe7eFSH/q4MJhl9TqKx69V1Ob7ip A+ETy/CNdtvkZSoibaWYFkZI8FF6B2Oh93aNL+7sDbQC3XJBLK+0lIqPJuCJVW2NZlQF KDjadAmYUL0QarL1YdntLKIahvyElntLIEmVj1Pb4Vzg3G+UAUmUkD9E6yLk8lydffhN PnWA== X-Gm-Message-State: APjAAAVF62hGXG6/bcAeN7IWKi3WvVotTdkTpHW6Zqgsl+nTozfbZIXa ja8OOlqFDSM9CPU1HoLLJug8o6HMg14= X-Google-Smtp-Source: APXvYqyUuoa1czpekn4fKAZ+OF70xuPZ5FN6bE+o4XcrPf1Nz2jL0MfouQaBI619zAIPVI80+4UQEQ== X-Received: by 2002:ae9:edc6:: with SMTP id c189mr27348113qkg.351.1572442101234; Wed, 30 Oct 2019 06:28:21 -0700 (PDT) Received: from casantos.remote.csb ([177.97.64.39]) by smtp.gmail.com with ESMTPSA id v54sm102773qtc.77.2019.10.30.06.28.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2019 06:28:20 -0700 (PDT) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Wed, 30 Oct 2019 10:27:58 -0300 Message-Id: <20191030132759.8643-3-unixmania@gmail.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20191030132759.8643-1-unixmania@gmail.com> References: <20191030132759.8643-1-unixmania@gmail.com> Subject: [Buildroot] [PATCH RFC 2/3] packages/luainterpreter: remove target-finalize hack 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: Eric Le Bihan , Bernd Kuhls , Carlos Santos , Thomas Petazzoni , "Yann E . MORIN" , Adam Duskett , Maxime Hadjinlian MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Carlos Santos Use LUAINTERPRETER_TARGET_FINALIZE_HOOKS, now that it's suported by virtual packages. Signed-off-by: Carlos Santos --- package/luainterpreter/luainterpreter.mk | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/package/luainterpreter/luainterpreter.mk b/package/luainterpreter/luainterpreter.mk index 58d421b183..828b71e8d2 100644 --- a/package/luainterpreter/luainterpreter.mk +++ b/package/luainterpreter/luainterpreter.mk @@ -6,16 +6,11 @@ LUAINTERPRETER_ABIVER = $(call qstrip,$(BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION)) -# Lua packages often install documentation, clean that up globally -# Since luainterpreter is a virtual package, we can't use -# LUAINTERPRETER_TARGET_FINALIZE_HOOKS -ifeq ($(BR2_PACKAGE_HAS_LUAINTERPRETER),y) define LUAINTERPRETER_REMOVE_DOC rm -rf $(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)/doc endef -TARGET_FINALIZE_HOOKS += LUAINTERPRETER_REMOVE_DOC -endif +LUAINTERPRETER_TARGET_FINALIZE_HOOKS += LUAINTERPRETER_REMOVE_DOC $(eval $(virtual-package)) $(eval $(host-virtual-package))