mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 17:32:57 +00:00
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)
This commit is contained in:
parent
1d612c33de
commit
634ac989e9
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user