[make] add a way for a module to opt into additional warnings

Move -Wmissing-declarations and -Wmissing-prototypes into this bucket.
Opt in most of the core top level modules in the system. More to follow.
This commit is contained in:
Travis Geiselbrecht
2022-10-23 23:16:48 -07:00
parent 4ce2e6a35d
commit 2367686854
12 changed files with 51 additions and 4 deletions

View File

@@ -5,4 +5,6 @@ MODULE := $(LOCAL_DIR)
MODULE_SRCS += \
$(LOCAL_DIR)/novm.c
MODULE_OPTIONS := extra_warnings
include make/module.mk

View File

@@ -24,4 +24,6 @@ else
MODULE_DEPS += kernel/novm
endif
MODULE_OPTIONS := extra_warnings
include make/module.mk

View File

@@ -8,4 +8,6 @@ MODULE_SRCS += \
$(LOCAL_DIR)/vm.c \
$(LOCAL_DIR)/vmm.c \
MODULE_OPTIONS := extra_warnings
include make/module.mk