build: fix luasrcdiet-luci Makefile (#118)

This commit is contained in:
dman776 2018-08-08 13:10:56 -05:00 committed by GitHub
parent eb05530582
commit 433a943579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,17 @@
From bb336671fff613b812b308c7eeeeda38608bda9d Mon Sep 17 00:00:00 2001
From: Jaymin Patel <Jaymin.Patel@Sophos.com>
Date: Mon, 30 Jul 2018 15:06:14 +0530
Subject: [PATCH] fix compilation failure when luasrcdiet is being copied to
non existing directory
Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
--- a/feeds/luci/modules/luci-base/Makefile
+++ b/feeds/luci/modules/luci-base/Makefile
@@ -41,6 +41,7 @@ endef
define Host/Install
$(INSTALL_DIR) $(1)/bin
+ $(INSTALL_DIR) $(1)/lib/lua/5.1
$(INSTALL_BIN) src/po2lmo $(1)/bin/po2lmo
$(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/luasrcdiet $(1)/bin/luasrcdiet
$(CP) $(HOST_BUILD_DIR)/luasrcdiet $(1)/lib/lua/5.1/

View File

@ -1,5 +1,6 @@
001-add_support_for_TP-Link_CPE510_v2.patch 001-add_support_for_TP-Link_CPE510_v2.patch
001-add_support_for_TP-Link_CPE210_v3.patch 001-add_support_for_TP-Link_CPE210_v3.patch
200-luasrcdiet-luci-build.patch
700-cpe210.patch 700-cpe210.patch
002-firmware-check-fix.patch 002-firmware-check-fix.patch
701-extended-spectrum.patch 701-extended-spectrum.patch