16 lines
499 B
Plaintext
16 lines
499 B
Plaintext
|
# This file is autogenerated! DO NOT EDIT!!
|
||
|
# To add special makefile directives, create a module.mk file in your repo
|
||
|
# Make sure you have this file in your .gitignore to avoid checking it in your module repo
|
||
|
|
||
|
MODNAME="%%MODNAME%%"
|
||
|
MODULE_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
||
|
|
||
|
COMPONENT_ADD_LDFLAGS=-u $(MODNAME)_entry -l$(MODNAME)
|
||
|
|
||
|
CFLAGS += \
|
||
|
-DEXTMODNAME=$(MODNAME) \
|
||
|
-Werror=unused-function \
|
||
|
-Werror=unused-but-set-variable \
|
||
|
-Werror=unused-variable
|
||
|
|
||
|
-include $(MODULE_DIR)module.mk
|