mirror of
https://github.com/openwrt/luci
synced 2025-01-09 04:28:37 +08:00
luci.mk: typo and indentation fixes
- Fix misspelled comment - Fix wrong variable in Lua SrcDiet condition - Fix wrong indentation Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
447e362f0b
commit
22bc7ca5a4
4
luci.mk
4
luci.mk
@ -127,7 +127,7 @@ PKG_GITBRANCH?=$(if $(DUMP),x,$(strip $(shell \
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
# LUCI_SUBMENU: the submenu-item below the LuCI top-level menu inside OpoenWrt menuconfig
|
||||
# LUCI_SUBMENU: the submenu-item below the LuCI top-level menu inside OpenWrt menuconfig
|
||||
# usually one of the LUCI_MENU.* definitions
|
||||
# LUCI_SUBMENU_DEFAULT: the regular SUBMENU defined by LUCI_TYPE or derrived from the packagename
|
||||
# LUCI_SUBMENU_FORCED: manually forced value SUBMENU to set to by explicit definiton
|
||||
@ -221,7 +221,7 @@ endef
|
||||
endif
|
||||
|
||||
# some generic macros that can be used by all packages
|
||||
ifeq ($(LUCI_MINIFY_JS),1)
|
||||
ifeq ($(LUCI_MINIFY_LUA),1)
|
||||
define SrcDiet
|
||||
$(FIND) $(1) -type f -name '*.lua' | while read src; do \
|
||||
if LUA_PATH="$(STAGING_DIR_HOSTPKG)/lib/lua/5.1/?.lua" luasrcdiet --noopt-binequiv -o "$$$$src.o" "$$$$src"; \
|
||||
|
Loading…
Reference in New Issue
Block a user