Skip to content

Commit 634ac98

Browse files
committed
include: meson.mk: honor CONFIG_DEBUG
Set buildtype according to CONFIG_DEBUG. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit be3e7a8)
1 parent 1d612c3 commit 634ac98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/meson.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ define Build/Configure/Meson
124124
$(call Meson/CreateCrossFile,$(PKG_BUILD_DIR)/openwrt-cross.txt)
125125
$(call Meson, \
126126
setup \
127-
--buildtype plain \
127+
--buildtype $(if $(CONFIG_DEBUG),debug,plain) \
128128
--native-file $(PKG_BUILD_DIR)/openwrt-native.txt \
129129
--cross-file $(PKG_BUILD_DIR)/openwrt-cross.txt \
130130
-Ddefault_library=both \

0 commit comments

Comments
 (0)