From patchwork Wed Jun 17 22:21:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1311647 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.a=rsa-sha256 header.s=20161025 header.b=priZivxr; 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 49nKLc4KMtz9sSJ for ; Thu, 18 Jun 2020 08:22:16 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A457987E24; Wed, 17 Jun 2020 22:22:13 +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 7HVFa-KMAfE0; Wed, 17 Jun 2020 22:22:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id D75FC87E80; Wed, 17 Jun 2020 22:22:06 +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 8F0671BF9B6 for ; Wed, 17 Jun 2020 22:22:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8B4A088734 for ; Wed, 17 Jun 2020 22:22:04 +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 aTC-NJRWsL3u for ; Wed, 17 Jun 2020 22:22:03 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pj1-f67.google.com (mail-pj1-f67.google.com [209.85.216.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id 5308E88719 for ; Wed, 17 Jun 2020 22:22:03 +0000 (UTC) Received: by mail-pj1-f67.google.com with SMTP id i12so1627317pju.3 for ; Wed, 17 Jun 2020 15:22:03 -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 :mime-version:content-transfer-encoding; bh=CwbOt9UNGJIiwPvMJBg43cu7+DvV+vWmClm6A7PNdDs=; b=priZivxrbFdvDgrQ9og7pevBjtLMnmEKeZSD/IICPAQ4qmQA/zm4DoKHJQfd2iwyUJ GcbdHeSsCUadxRPVg5PwDHVBErb8YsdwcDGsPHQp8+o09moSDCGYnwN0uTPgBKlA0RWY /FMMZK59LlsfvyHZNJithXzv2m1HPEl9tIb5h4NC0nDA13A8BQdRF28CiZ+ol/1bCd2z d+l8JZw8PcOjXBth67rN50tICYt4Ja7zV6nhh7Rv2rJ+9szBQqvZJr9JoN4jgX5KYOOs l8OocfgELhVqL1zj4TCJZ1FkSWPbQruBKJ4WkGZpeJBOWFYBQZc/Q/rO3Wu5KTOG4KX/ vtdQ== 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:mime-version:content-transfer-encoding; bh=CwbOt9UNGJIiwPvMJBg43cu7+DvV+vWmClm6A7PNdDs=; b=DH0IH9SrcZR+C3LXuMSgoNVEqAlFNQ8niqooDG5C2cVsaFqgA/2GGrdtsnamhxfDqv iuH+GbNmtg0CrziCGankPni7O4KBLLqKSYU0DnScTgcMHkCtDduUQ0ZHKgO11P2hButO Ja5iB4C+UTFGSJIJhrMZ2/F1AGxum3cb3Abu6LTG+weQd4ZWt/TmnemCotIY+86udUh+ Z5oXGVociiUUZkae8Iu0m2Bhi4fgapK6e905AOM34NPj3JdoGK6K+NUFBtnWZGFZbNcj 0X49WbzpfoIsVfAE0bvwup+k4tQAUUsyaMSsHQ/pBth+C7+nEYalCe1E40+MG3jpJEqm fpbg== X-Gm-Message-State: AOAM5329KcOhXflGenwIBXPXmt9XvCGKfL2Cm8xBS9D/yalIhgUXU8md 2szEushaIUzx0O9UU3Bieoo6kOm0 X-Google-Smtp-Source: ABdhPJx/SvfV3CXCMgDi/+WzdXoOGfUc4vsvLZn0qZtwBV7+9MlhNOBu8BZw92dQ2d8qAhbHJ5kOMA== X-Received: by 2002:a17:90a:5e0e:: with SMTP id w14mr1177682pjf.128.1592432522725; Wed, 17 Jun 2020 15:22:02 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id t7sm475996pju.42.2020.06.17.15.22.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2020 15:22:02 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Wed, 17 Jun 2020 15:21:59 -0700 Message-Id: <20200617222159.176141-2-aduskett@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617222159.176141-1-aduskett@gmail.com> References: <20200617222159.176141-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] package/open-plc-utils: install packages to /usr/bin 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: Adam Duskett , Maxime Hadjinlian Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett By default, open-plc-utils installs all of the compiled binaries to /usr/local/bin which is not in the default path provided by Buildroot. Passing BIN="$(TARGET_DIR)/usr/bin" to make install forces open-plc-utils to install the compiled binaries to /usr/bin. Signed-off-by: Adam Duskett --- package/open-plc-utils/open-plc-utils.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/open-plc-utils/open-plc-utils.mk b/package/open-plc-utils/open-plc-utils.mk index bb40432697..d2ac39aca4 100644 --- a/package/open-plc-utils/open-plc-utils.mk +++ b/package/open-plc-utils/open-plc-utils.mk @@ -26,7 +26,8 @@ define OPEN_PLC_UTILS_BUILD_CMDS endef define OPEN_PLC_UTILS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) ROOTFS=$(TARGET_DIR) -C $(@D) install + $(TARGET_MAKE_ENV) $(MAKE) ROOTFS=$(TARGET_DIR) \ + BIN="$(TARGET_DIR)/usr/bin" -C $(@D) install endef $(eval $(generic-package))