diff --git a/components/cjson/library/cJSON.c b/components/cjson/cJSON/cJSON.c similarity index 100% rename from components/cjson/library/cJSON.c rename to components/cjson/cJSON/cJSON.c diff --git a/components/cjson/include/cJSON.h b/components/cjson/cJSON/cJSON.h similarity index 100% rename from components/cjson/include/cJSON.h rename to components/cjson/cJSON/cJSON.h diff --git a/components/cjson/component.mk b/components/cjson/component.mk index 4fe37f4f..e404f24c 100644 --- a/components/cjson/component.mk +++ b/components/cjson/component.mk @@ -1,6 +1,6 @@ # # Component Makefile # -COMPONENT_ADD_INCLUDEDIRS += include +COMPONENT_ADD_INCLUDEDIRS += cJSON -COMPONENT_SRCDIRS := library +COMPONENT_SRCDIRS := cJSON