Skip to contentSkip to conversation

openpowerlink: do not override CMAKE_BUILD_TYPE

Buildroot Peter Korsgaard 1 participant 1 message Jun 1, 2014

lore
Share & tools
lore
#0 lore raw

commit: http://git.buildroot.net/buildroot/commit/?id=bccca5a0e27412d9fbeb82fe5d78891a13d529aa
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This flag is already correctly set by the cmake-package infrastructure.

---
 package/openpowerlink/openpowerlink.mk |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
package/openpowerlink/openpowerlink.mk +0 -6
index 152f014..a888eb3 100644
@@ -25,12 +25,6 @@ OPENPOWERLINK_CONF_OPT = -DCMAKE_SYSTEM_PROCESSOR=$(OPENPOWERLINK_ARCH)
 # so force static lib to build libpowerlink.a
 OPENPOWERLINK_CONF_OPT += -DBUILD_SHARED_LIBS=OFF
 
-ifeq ($(BR2_ENABLE_DEBUG),y)
-OPENPOWERLINK_CONF_OPT += -DCMAKE_BUILD_TYPE=Debug
-else
-OPENPOWERLINK_CONF_OPT += -DCMAKE_BUILD_TYPE=Release
-endif
-
 OPENPOWERLINK_CONF_OPT += -DCFG_DEBUG_LVL=$(call qstrip,$(BR2_PACKAGE_OPENPOWERLINK_DEBUG_LEVEL))
 
 ifeq ($(BR2_PACKAGE_OPENPOWERLINK_LIBPCAP),y)