From 433a943579a8547e4da182f8b376ce9d49e84197 Mon Sep 17 00:00:00 2001 From: dman776 Date: Wed, 8 Aug 2018 13:10:56 -0500 Subject: [PATCH] build: fix luasrcdiet-luci Makefile (#118) --- patches/200-luasrcdiet-luci-build.patch | 17 +++++++++++++++++ patches/series | 1 + 2 files changed, 18 insertions(+) create mode 100644 patches/200-luasrcdiet-luci-build.patch diff --git a/patches/200-luasrcdiet-luci-build.patch b/patches/200-luasrcdiet-luci-build.patch new file mode 100644 index 00000000..3ae59143 --- /dev/null +++ b/patches/200-luasrcdiet-luci-build.patch @@ -0,0 +1,17 @@ +From bb336671fff613b812b308c7eeeeda38608bda9d Mon Sep 17 00:00:00 2001 +From: Jaymin Patel +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 +--- 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/ diff --git a/patches/series b/patches/series index 8dfecd7f..648ddab2 100644 --- a/patches/series +++ b/patches/series @@ -1,5 +1,6 @@ 001-add_support_for_TP-Link_CPE510_v2.patch 001-add_support_for_TP-Link_CPE210_v3.patch +200-luasrcdiet-luci-build.patch 700-cpe210.patch 002-firmware-check-fix.patch 701-extended-spectrum.patch