From patchwork Tue Feb 9 13:17:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neha Bairathi X-Patchwork-Id: 580845 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 7E9FC140B00 for ; Wed, 10 Feb 2016 00:18:41 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id AEA9FA5A34; Tue, 9 Feb 2016 13:18:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MGsOsn_M4qhz; Tue, 9 Feb 2016 13:18:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 238FCA5A59; Tue, 9 Feb 2016 13:18:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id CB00B1C1F3D for ; Tue, 9 Feb 2016 13:18:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C68DBA5A34 for ; Tue, 9 Feb 2016 13:18:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QjZ8RDzmqyTr for ; Tue, 9 Feb 2016 13:18:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by fraxinus.osuosl.org (Postfix) with ESMTP id 31163A5A1D for ; Tue, 9 Feb 2016 13:18:38 +0000 (UTC) Received: from HHMAIL01.hh.imgtec.org (unknown [10.100.10.19]) by Websense Email Security Gateway with ESMTPS id 31EBB5B133A0C for ; Tue, 9 Feb 2016 13:18:34 +0000 (GMT) Received: from PUMAIL01.pu.imgtec.org (192.168.91.250) by HHMAIL01.hh.imgtec.org (10.100.10.19) with Microsoft SMTP Server (TLS) id 14.3.266.1; Tue, 9 Feb 2016 13:18:36 +0000 Received: from pudesk290-linux.hh.imgtec.org (192.168.95.62) by PUMAIL01.pu.imgtec.org (192.168.91.250) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 9 Feb 2016 18:48:33 +0530 From: Neha Bairathi To: Date: Tue, 9 Feb 2016 18:47:37 +0530 Message-ID: <1455023857-27794-1-git-send-email-Neha.Bairathi@imgtec.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 X-Originating-IP: [192.168.95.62] Cc: Abhimanyu.Vishwakarma@imgtec.com, marcin.nowakowski@imgtec.com, Neha Bairathi Subject: [Buildroot] [PATCH 1/1] libuci: correct lua path X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" LUAPATH is used as the path for installing lua binding. As buildroot specifies the install prefix, STAGING_DIR gets appended to TARGET_DIR which is incorrect path for installation, so use relative path. Reviewed-by: Abhimanyu Vishwakarma Reviewed-by: Marcin Nowakowski Signed-off-by: Neha Bairathi Acked-by: Arnout Vandecappelle (Essensium/Mind) --- package/libuci/libuci.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libuci/libuci.mk b/package/libuci/libuci.mk index a78048d..8c060d5 100644 --- a/package/libuci/libuci.mk +++ b/package/libuci/libuci.mk @@ -13,7 +13,7 @@ LIBUCI_DEPENDENCIES = libubox ifeq ($(BR2_PACKAGE_LUA_5_1),y) LIBUCI_DEPENDENCIES += lua LIBUCI_CONF_OPTS += -DBUILD_LUA=ON \ - -DLUAPATH=$(STAGING_DIR)/usr/lib/lua/5.1 \ + -DLUAPATH=/usr/lib/lua/5.1 \ -DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include else LIBUCI_CONF_OPTS += -DBUILD_LUA=OFF