diff options
| author | Daniel Golle | 2024-11-09 23:32:05 +0000 |
|---|---|---|
| committer | Daniel Golle | 2024-11-26 12:23:06 +0000 |
| commit | 634ac989e999cf0fe47f28ae7ef52b1b41b79670 (patch) | |
| tree | 916f02e7aba7ff3a686bbb6a0c58d55b766d0f98 | |
| parent | 1d612c33de2a57157b3d92e6df0d03fabcbf30b9 (diff) | |
| download | openwrt-634ac989e999cf0fe47f28ae7ef52b1b41b79670.tar.gz | |
include: meson.mk: honor CONFIG_DEBUG
Set buildtype according to CONFIG_DEBUG.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit be3e7a84bd37f29e14e4c6a89b8c79bc9808c36c)
| -rw-r--r-- | include/meson.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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 \ |