From bccca5a0e27412d9fbeb82fe5d78891a13d529aa Mon Sep 17 00:00:00 2001 From: Samuel Martin Date: Sun, 1 Jun 2014 11:24:30 +0200 Subject: [PATCH] openpowerlink: do not override CMAKE_BUILD_TYPE This flag is already correctly set by the cmake-package infrastructure. Signed-off-by: Samuel Martin Reviewed-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/openpowerlink/openpowerlink.mk | 6 ------ 1 file changed, 6 deletions(-) diff --git a/package/openpowerlink/openpowerlink.mk b/package/openpowerlink/openpowerlink.mk index 152f014acb..a888eb31d8 100644 --- a/package/openpowerlink/openpowerlink.mk +++ b/package/openpowerlink/openpowerlink.mk @@ -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) -- 2.30.2