Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions crypto/libtomcrypt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ ifneq ($(CONFIG_LIBTOMCRYPT_DEMOS),)
ifneq ($(CONFIG_LIBTOMCRYPT_LTCRYPT),)
MAINSRC += $(LIBTOMCRYPT_UNPACKNAME)/demos/ltcrypt.c

MODULE += $(CONFIG_LIBTOMCRYPT_LTCRYPT)
PROGNAME += $(CONFIG_LIBTOMCRYPT_LTCRYPT_PROGNAME)
PRIORITY += $(CONFIG_LIBTOMCRYPT_LTCRYPT_PRIORITY)
STACKSIZE += $(CONFIG_LIBTOMCRYPT_LTCRYPT_STACKSIZE)
Expand All @@ -459,6 +460,7 @@ endif
ifneq ($(CONFIG_LIBTOMCRYPT_HASHSUM),)
MAINSRC += $(LIBTOMCRYPT_UNPACKNAME)/demos/hashsum.c

MODULE += $(CONFIG_LIBTOMCRYPT_HASHSUM)
PROGNAME += $(CONFIG_LIBTOMCRYPT_HASHSUM_PROGNAME)
PRIORITY += $(CONFIG_LIBTOMCRYPT_HASHSUM_PRIORITY)
STACKSIZE += $(CONFIG_LIBTOMCRYPT_HASHSUM_STACKSIZE)
Expand All @@ -478,6 +480,7 @@ NEWSRC := $(wildcard libtomcrypt/tests/*.c)
CSRCS += $(filter-out $(LIBTOMCRYPT_UNPACKNAME)/tests/test.c, $(NEWSRC))
MAINSRC += $(LIBTOMCRYPT_UNPACKNAME)/tests/test.c

MODULE += $(CONFIG_LIBTOMCRYPT_TEST)
PROGNAME += $(CONFIG_LIBTOMCRYPT_TEST_PROGNAME)
PRIORITY += $(CONFIG_LIBTOMCRYPT_TEST_PRIORITY)
STACKSIZE += $(CONFIG_LIBTOMCRYPT_TEST_STACKSIZE)
Expand Down
3 changes: 2 additions & 1 deletion crypto/tinycrypt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@ ifeq ($(CONFIG_TINYCRYPT_CTR_PRNG),y)
CSRCS += tinycrypt/lib/source/ctr_prng.c
endif

ifeq ($(CONFIG_TINYCRYPT_TEST),y)
ifneq ($(CONFIG_TINYCRYPT_TEST),)
CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/crypto/tinycrypt/tinycrypt/tests/include
CFLAGS += -DENABLE_TESTS
CSRCS += tinycrypt/tests/test_ecc_utils.c
MODULE += $(CONFIG_TINYCRYPT_TEST)
PRIORITY = $(CONFIG_TINYCRYPT_TEST_PRIORITY)
STACKSIZE = $(CONFIG_TINYCRYPT_TEST_STACKSIZE)

Expand Down
2 changes: 1 addition & 1 deletion database/sqlite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ ifneq ($(CONFIG_UTILS_SQLITE),)
PROGNAME = sqlite3
PRIORITY = 100
STACKSIZE = ${CONFIG_UTILS_SQLITE_STACKSIZE}
MODULE = $(CONFIG_UTILS_SQLITE)
MAINSRC = ${BUILDDIR}/shell.c
endif

Expand Down Expand Up @@ -67,4 +68,3 @@ ifeq ($(wildcard sqlite/.git),)
endif

include $(APPDIR)/Application.mk

2 changes: 1 addition & 1 deletion logging/embedlog/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ config EMBEDLOG_MEM_LINE_SIZE
for more information about this.

config EMBEDLOG_DEMO_PROGRAMS
bool "Compile demo programs"
tristate "Compile demo programs"
default n
---help---
Compile demo programs that visualise how embedlog works. Also good
Expand Down
3 changes: 2 additions & 1 deletion logging/embedlog/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,11 @@ CFLAGS += -DENABLE_OUT_NET=0
# nuttx does not implement clock() function
CFLAGS += -DENABLE_CLOCK=0

ifeq ($(CONFIG_EMBEDLOG_DEMO_PROGRAMS),y)
ifneq ($(CONFIG_EMBEDLOG_DEMO_PROGRAMS),)
# build demo programs as library instead of standalone programs
CFLAGS += -DEMBEDLOG_DEMO_LIBRARY

MODULE = $(CONFIG_EMBEDLOG_DEMO_PROGRAMS)
PROGNAME = el_demo_print_memory
PRIORITY = $(CONFIG_EMBEDLOG_DEMO_PROGRAMS_PRIORITY)
STACKSIZE = $(CONFIG_EMBEDLOG_DEMO_PROGRAMS_STACKSIZE)
Expand Down
4 changes: 4 additions & 0 deletions math/libtommath/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ DEPPATH += --dep-path $(LIBTOMMATH_UNPACKNAME)/demo
ifneq ($(CONFIG_LIBTOMMATH_TEST),)
MAINSRC += test.c

MODULE += $(CONFIG_LIBTOMMATH_TEST)
PROGNAME += $(CONFIG_LIBTOMMATH_TEST_PROGNAME)
PRIORITY += $(CONFIG_LIBTOMMATH_TEST_PRIORITY)
STACKSIZE += $(CONFIG_LIBTOMMATH_TEST_STACKSIZE)
Expand All @@ -73,6 +74,7 @@ endif
ifneq ($(CONFIG_LIBTOMMATH_MTEST_OPPONENT),)
MAINSRC += mtest_opponent.c

MODULE += $(CONFIG_LIBTOMMATH_MTEST_OPPONENT)
PROGNAME += $(CONFIG_LIBTOMMATH_MTEST_OPPONENT_PROGNAME)
PRIORITY += $(CONFIG_LIBTOMMATH_MTEST_OPPONENT_PRIORITY)
STACKSIZE += $(CONFIG_LIBTOMMATH_MTEST_OPPONENT_STACKSIZE)
Expand All @@ -81,6 +83,7 @@ endif
ifneq ($(CONFIG_LIBTOMMATH_TIMING),)
MAINSRC += timing.c

MODULE += $(CONFIG_LIBTOMMATH_TIMING)
PROGNAME += $(CONFIG_LIBTOMMATH_TIMING_PROGNAME)
PRIORITY += $(CONFIG_LIBTOMMATH_TIMING_PRIORITY)
STACKSIZE += $(CONFIG_LIBTOMMATH_TIMING_STACKSIZE)
Expand All @@ -91,6 +94,7 @@ MAINSRC += mtest.c
VPATH += $(LIBTOMMATH_UNPACKNAME)/mtest
DEPPATH += --dep-path $(LIBTOMMATH_UNPACKNAME)/mtest

MODULE += $(CONFIG_LIBTOMMATH_MTEST)
PROGNAME += $(CONFIG_LIBTOMMATH_MTEST_PROGNAME)
PRIORITY += $(CONFIG_LIBTOMMATH_MTEST_PRIORITY)
STACKSIZE += $(CONFIG_LIBTOMMATH_MTEST_STACKSIZE)
Expand Down
8 changes: 4 additions & 4 deletions system/fdt/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ config SYSTEM_FDT
if LIBC_FDT

config SYSTEM_FDTDUMP
bool "system fdtdump command"
tristate "system fdtdump command"
default n
select SYSTEM_FDT
---help---
Expand All @@ -35,7 +35,7 @@ config SYSTEM_FDTDUMP_PRIORITY
endif # SYSTEM_FDTDUMP

config SYSTEM_FDTGET
bool "system fdtget command"
tristate "system fdtget command"
default n
select SYSTEM_FDT
---help---
Expand All @@ -58,7 +58,7 @@ config SYSTEM_FDTGET_PRIORITY
endif # SYSTEM_FDTGET

config SYSTEM_FDTPUT
bool "system fdtput command"
tristate "system fdtput command"
default n
select SYSTEM_FDT
---help---
Expand All @@ -81,7 +81,7 @@ config SYSTEM_FDTPUT_PRIORITY
endif # SYSTEM_FDTPUT

config SYSTEM_FDTOVERLAY
bool "system fdtoverlay command"
tristate "system fdtoverlay command"
default n
select SYSTEM_FDT
---help---
Expand Down
12 changes: 8 additions & 4 deletions system/fdt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,33 @@ include $(APPDIR)/Make.defs

CSRCS = util.c

ifeq ($(CONFIG_SYSTEM_FDTDUMP),y)
ifneq ($(CONFIG_SYSTEM_FDTDUMP),)
MAINSRC += fdtdump.c
MODULE += $(CONFIG_SYSTEM_FDTDUMP)
PROGNAME += fdtdump
STACKSIZE += $(CONFIG_SYSTEM_FDTDUMP_STACKSIZE)
PRIORITY += $(CONFIG_SYSTEM_FDTDUMP_PRIORITY)
endif

ifeq ($(CONFIG_SYSTEM_FDTGET),y)
ifneq ($(CONFIG_SYSTEM_FDTGET),)
MAINSRC += fdtget.c
MODULE += $(CONFIG_SYSTEM_FDTGET)
PROGNAME += fdtget
STACKSIZE += $(CONFIG_SYSTEM_FDTGET_STACKSIZE)
PRIORITY += $(CONFIG_SYSTEM_FDTGET_PRIORITY)
endif

ifeq ($(CONFIG_SYSTEM_FDTPUT),y)
ifneq ($(CONFIG_SYSTEM_FDTPUT),)
MAINSRC += fdtput.c
MODULE += $(CONFIG_SYSTEM_FDTPUT)
PROGNAME += fdtput
STACKSIZE += $(CONFIG_SYSTEM_FDTPUT_STACKSIZE)
PRIORITY += $(CONFIG_SYSTEM_FDTPUT_PRIORITY)
endif

ifeq ($(CONFIG_SYSTEM_FDTOVERLAY),y)
ifneq ($(CONFIG_SYSTEM_FDTOVERLAY),)
MAINSRC += fdtoverlay.c
MODULE += $(CONFIG_SYSTEM_FDTOVERLAY)
PROGNAME += fdtoverlay
STACKSIZE += $(CONFIG_SYSTEM_FDTOVERLAY_STACKSIZE)
PRIORITY += $(CONFIG_SYSTEM_FDTOVERLAY_PRIORITY)
Expand Down
4 changes: 2 additions & 2 deletions system/libuv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ config LIBUV_UTILS_NONE
bool "none"

config LIBUV_UTILS_TEST
bool "uv_run_tests"
tristate "uv_run_tests"

config LIBUV_UTILS_BENCHMARK
bool "uv_run_benchmarks"
tristate "uv_run_benchmarks"

endchoice

Expand Down
4 changes: 3 additions & 1 deletion system/libuv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,14 @@ ifneq ($(CONFIG_NET_UDP),)
CSRCS += udp.c
endif

ifeq ($(findstring y,$(CONFIG_LIBUV_UTILS_TEST)$(CONFIG_LIBUV_UTILS_BENCHMARK)), y)
ifneq ($(CONFIG_LIBUV_UTILS_TEST)$(CONFIG_LIBUV_UTILS_BENCHMARK),)
PRIORITY = $(CONFIG_LIBUV_UTILS_PRIORITY)
STACKSIZE = $(CONFIG_LIBUV_UTILS_STACKSIZE)
endif

ifneq ($(CONFIG_LIBUV_UTILS_TEST),)

MODULE = $(CONFIG_LIBUV_UTILS_TEST)
PROGNAME = uv_run_tests
MAINSRC = run-tests.c

Expand All @@ -148,6 +149,7 @@ endif

ifneq ($(CONFIG_LIBUV_UTILS_BENCHMARK),)

MODULE = $(CONFIG_LIBUV_UTILS_BENCHMARK)
PROGNAME = uv_run_benchmarks
MAINSRC = run-benchmarks.c

Expand Down
3 changes: 1 addition & 2 deletions videoutils/x264/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ $(OBJASM_G): $(PREFIX)%.$(ASMEXT)$(NASUFFIX)$(OBJEXT): %.$(ASMEXT)
$(Q) $(AS) $(ASFLAGS) $< -o $@

ifneq ($(CONFIG_UTILS_X264),)
MODULE += CONFIG_UTILS_X264
MODULE += $(CONFIG_UTILS_X264)
PROGNAME += x264
PRIORITY += $(CONFIG_UTILS_X264_PRIORITY)
STACKSIZE += $(CONFIG_UTILS_X264_STACKSIZE)
Expand Down Expand Up @@ -282,4 +282,3 @@ distclean::
endif

include $(APPDIR)/Application.mk

Loading