apps/system/lzf: Move the LZF tool from apps/examples/ to apps/system.
This commit is contained in:
parent
947cbf6d7b
commit
d1a3a58fbe
@ -3,15 +3,15 @@
|
|||||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
#
|
#
|
||||||
|
|
||||||
config EXAMPLES_LZF
|
config SYSTEM_LZF
|
||||||
bool "\"LZF compression tool\" example"
|
bool "LZF compression tool"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Enable the \"LZF compression tool\" example
|
Enable theLZF compression tool
|
||||||
|
|
||||||
if EXAMPLES_LZF
|
if SYSTEM_LZF
|
||||||
|
|
||||||
config EXAMPLES_LZF_PROGNAME
|
config SYSTEM_LZF_PROGNAME
|
||||||
string "Program name"
|
string "Program name"
|
||||||
default "lzf"
|
default "lzf"
|
||||||
depends on BUILD_KERNEL
|
depends on BUILD_KERNEL
|
||||||
@ -19,12 +19,12 @@ config EXAMPLES_LZF_PROGNAME
|
|||||||
This is the name of the program that will be use when the NSH ELF
|
This is the name of the program that will be use when the NSH ELF
|
||||||
program is installed.
|
program is installed.
|
||||||
|
|
||||||
config EXAMPLES_LZF_PRIORITY
|
config SYSTEM_LZF_PRIORITY
|
||||||
int "LZF task priority"
|
int "LZF tool task priority"
|
||||||
default 100
|
default 100
|
||||||
|
|
||||||
config EXAMPLES_LZF_STACKSIZE
|
config SYSTEM_LZF_STACKSIZE
|
||||||
int "LZF stack size"
|
int "LZF tool stack size"
|
||||||
default 2048
|
default 2048
|
||||||
|
|
||||||
endif
|
endif
|
@ -1,5 +1,5 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# apps/examples/lzf/Make.defs
|
# apps/system/lzf/Make.defs
|
||||||
# Adds selected applications to apps/ build
|
# Adds selected applications to apps/ build
|
||||||
#
|
#
|
||||||
# Copyright (C) 2018 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2018 Gregory Nutt. All rights reserved.
|
||||||
@ -34,6 +34,6 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
ifeq ($(CONFIG_EXAMPLES_LZF),y)
|
ifeq ($(CONFIG_SYSTEM_LZF),y)
|
||||||
CONFIGURED_APPS += examples/lzf
|
CONFIGURED_APPS += system/lzf
|
||||||
endif
|
endif
|
@ -1,5 +1,5 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# apps/examples/lzf/Makefile
|
# apps/system/lzf/Makefile
|
||||||
#
|
#
|
||||||
# Copyright (C) 2018 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2018 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@ -37,12 +37,12 @@
|
|||||||
|
|
||||||
# LZF built-in application info
|
# LZF built-in application info
|
||||||
|
|
||||||
CONFIG_EXAMPLES_LZF_PRIORITY ?= SCHED_PRIORITY_DEFAULT
|
CONFIG_SYSTEM_LZF_PRIORITY ?= SCHED_PRIORITY_DEFAULT
|
||||||
CONFIG_EXAMPLES_LZF_STACKSIZE ?= 20480
|
CONFIG_SYSTEM_LZF_STACKSIZE ?= 20480
|
||||||
|
|
||||||
APPNAME = lzf
|
APPNAME = lzf
|
||||||
PRIORITY = $(CONFIG_EXAMPLES_LZF_PRIORITY)
|
PRIORITY = $(CONFIG_SYSTEM_LZF_PRIORITY)
|
||||||
STACKSIZE = $(CONFIG_EXAMPLES_LZF_STACKSIZE)
|
STACKSIZE = $(CONFIG_SYSTEM_LZF_STACKSIZE)
|
||||||
|
|
||||||
# LZF compression example tool
|
# LZF compression example tool
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ ASRCS =
|
|||||||
CSRCS =
|
CSRCS =
|
||||||
MAINSRC = lzf_main.c
|
MAINSRC = lzf_main.c
|
||||||
|
|
||||||
CONFIG_EXAMPLES_LZF_PROGNAME ?= lzf$(EXEEXT)
|
CONFIG_SYSTEM_LZF_PROGNAME ?= lzf$(EXEEXT)
|
||||||
PROGNAME = $(CONFIG_EXAMPLES_LZF_PROGNAME)
|
PROGNAME = $(CONFIG_SYSTEM_LZF_PROGNAME)
|
||||||
|
|
||||||
include $(APPDIR)/Application.mk
|
include $(APPDIR)/Application.mk
|
Loading…
x
Reference in New Issue
Block a user