diff options
| author | Daniel Golle | 2024-11-09 23:32:05 +0000 |
|---|---|---|
| committer | Daniel Golle | 2024-11-12 02:31:06 +0000 |
| commit | be3e7a84bd37f29e14e4c6a89b8c79bc9808c36c (patch) | |
| tree | a4706250745c4537e1bf25bd7dbc364e8cc4f7de | |
| parent | fc9ec5bd3d22d50654af154fc779517fa7aecb33 (diff) | |
| download | openwrt-be3e7a84bd37f29e14e4c6a89b8c79bc9808c36c.tar.gz | |
include: meson.mk: honor CONFIG_DEBUG
Set buildtype according to CONFIG_DEBUG.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
| -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 \ |