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:
		| @@ -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 \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Golle
					Daniel Golle