mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
include: meson.mk: honor CONFIG_DEBUG
Set buildtype according to CONFIG_DEBUG. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
fc9ec5bd3d
commit
be3e7a84bd
@ -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…
Reference in New Issue
Block a user