With the introduction of CoAP and other protocols, URL parsing is be needed when HTTP_PARSER is not. Let's split out the existing functionality of URL parsing into it's own CONFIG and let HTTP_PARSER use it by automatically selecting HTTP_PARSER_URL when HTTP_PARSER is enabled. Signed-off-by: Michael Scott <michael.scott@linaro.org>
7 lines
242 B
Makefile
7 lines
242 B
Makefile
ccflags-$(CONFIG_HTTP_PARSER_STRICT) += -DHTTP_PARSER_STRICT
|
|
|
|
obj-$(CONFIG_HTTP_PARSER) := http_parser.o
|
|
obj-$(CONFIG_HTTP_PARSER_URL) += http_parser_url.o
|
|
obj-$(CONFIG_HTTP_CLIENT) += http_client.o
|
|
obj-$(CONFIG_HTTP_SERVER) += http_server.o
|