[openwrt/openwrt] include: meson.mk: honor CONFIG_DEBUG
LEDE Commits
lede-commits at lists.infradead.org
Tue Nov 26 04:23:24 PST 2024
dangole pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/634ac989e999cf0fe47f28ae7ef52b1b41b79670
commit 634ac989e999cf0fe47f28ae7ef52b1b41b79670
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sun Nov 10 00:32:05 2024 +0100
include: meson.mk: honor CONFIG_DEBUG
Set buildtype according to CONFIG_DEBUG.
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
(cherry picked from commit be3e7a84bd37f29e14e4c6a89b8c79bc9808c36c)
---
include/meson.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/meson.mk b/include/meson.mk
index 2a20c2bd6b..ff452d8b01 100644
--- a/include/meson.mk
+++ b/include/meson.mk
@@ -124,7 +124,7 @@ define Build/Configure/Meson
$(call Meson/CreateCrossFile,$(PKG_BUILD_DIR)/openwrt-cross.txt)
$(call Meson, \
setup \
- --buildtype plain \
+ --buildtype $(if $(CONFIG_DEBUG),debug,plain) \
--native-file $(PKG_BUILD_DIR)/openwrt-native.txt \
--cross-file $(PKG_BUILD_DIR)/openwrt-cross.txt \
-Ddefault_library=both \
More information about the lede-commits
mailing list