From 20eaa9b48b43407a9a4f023655cb940c59b8917a Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 9 Jun 2017 18:11:24 +0200 Subject: Rename submodule path to app-templates as the repo Change-Id: Ic4c2c5e50a19199614b7f1aaa8e1d2f9992fb3af Signed-off-by: Romain Forlot --- CAN-binder/CMakeLists.txt | 2 +- CAN-binder/build.mk | 10 +++++----- CAN-binder/conf.d/app-templates | 1 + CAN-binder/conf.d/config.cmake | 2 +- CAN-binder/conf.d/default | 1 - 5 files changed, 8 insertions(+), 8 deletions(-) create mode 160000 CAN-binder/conf.d/app-templates delete mode 160000 CAN-binder/conf.d/default (limited to 'CAN-binder') diff --git a/CAN-binder/CMakeLists.txt b/CAN-binder/CMakeLists.txt index 5fbeb193..2a97f85d 100644 --- a/CAN-binder/CMakeLists.txt +++ b/CAN-binder/CMakeLists.txt @@ -19,7 +19,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.3) include(${CMAKE_CURRENT_SOURCE_DIR}/conf.d/config.cmake) -include(${CMAKE_CURRENT_SOURCE_DIR}/conf.d/default/cmake/common.cmake) +include(${CMAKE_CURRENT_SOURCE_DIR}/conf.d/app-templates/cmake/common.cmake) # Bindings to compile # -------------------- diff --git a/CAN-binder/build.mk b/CAN-binder/build.mk index 24244cf5..7c2c7fe7 100755 --- a/CAN-binder/build.mk +++ b/CAN-binder/build.mk @@ -15,7 +15,7 @@ # limitations under the License. BUILD_DIR := build -PACKAGING_DIR := conf.d/default/wgt +PACKAGING_DIR := conf.d/app-templates/wgt VPATH = etc:$(PACKAGING_DIR):$(PACKAGING_DIR)/etc:$(BUILD_DIR) @@ -29,7 +29,7 @@ clean: mrproper: @rm -rf ${BUILD_DIR} package packaging -build: conf.d/default/cmake config.xml.in icon-default.png ${BUILD_DIR}/Makefile +build: conf.d/app-templates/cmake config.xml.in icon-default.png ${BUILD_DIR}/Makefile @cmake --build ${BUILD_DIR} --target all package: build | $(PKG_FILELIST) @@ -47,9 +47,9 @@ ${BUILD_DIR}/Makefile: @[ -f ${BUILD_DIR}/Makefile ] || (cd ${BUILD_DIR} && cmake ${CMAKE_OPTS} ..) submodule: - @[ -d conf.d/default/cmake ] || git submodule init - @[ -d conf.d/default/cmake ] || git submodule update + @[ -d conf.d/app-templates/cmake ] || git submodule init + @[ -d conf.d/app-templates/cmake ] || git submodule update -conf.d/default/cmake: submodule +conf.d/app-templates/cmake: submodule config.xml.in: submodule icon-default.png: submodule diff --git a/CAN-binder/conf.d/app-templates b/CAN-binder/conf.d/app-templates new file mode 160000 index 00000000..cc640c4c --- /dev/null +++ b/CAN-binder/conf.d/app-templates @@ -0,0 +1 @@ +Subproject commit cc640c4cfed7d4a35cbbdbb23e09b9e76c88902b diff --git a/CAN-binder/conf.d/config.cmake b/CAN-binder/conf.d/config.cmake index 7916fa78..8340a26a 100644 --- a/CAN-binder/conf.d/config.cmake +++ b/CAN-binder/conf.d/config.cmake @@ -31,7 +31,7 @@ set(PROJECT_LANGUAGES,"C") # Where are stored default templates files from submodule or subtree app-templates in your project tree # relative to the root project directory -set(PROJECT_APP_TEMPLATES_DIR "conf.d/default") +set(PROJECT_APP_TEMPLATES_DIR "conf.d/app-templates") # Where are stored your external libraries for your project. This is 3rd party library that you don't maintain # but used and must be built and linked. diff --git a/CAN-binder/conf.d/default b/CAN-binder/conf.d/default deleted file mode 160000 index cc640c4c..00000000 --- a/CAN-binder/conf.d/default +++ /dev/null @@ -1 +0,0 @@ -Subproject commit cc640c4cfed7d4a35cbbdbb23e09b9e76c88902b -- cgit 1.2.3-korg