developer | c1ecc21 | 2023-11-03 09:27:38 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2023 Weijie Gao <weijie.gao@mediatek.com> |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | include $(TOPDIR)/rules.mk |
| 8 | |
| 9 | PKG_NAME:=codechecker |
| 10 | |
| 11 | PKG_SOURCE_URL=https://github.com/Ericsson/codechecker.git |
| 12 | PKG_SOURCE_PROTO:=git |
| 13 | PKG_SOURCE_VERSION:=v6.22.2 |
| 14 | PKG_MIRROR_HASH:=6dddd1c7455e1c6d2115ccffcad831a51826f0f1dce18928d651d2665aa41f60 |
| 15 | |
| 16 | include $(INCLUDE_DIR)/host-build.mk |
| 17 | |
| 18 | define Host/Compile |
developer | a557a00 | 2023-11-07 09:40:16 +0800 | [diff] [blame^] | 19 | $(MAKE) -C $(HOST_BUILD_DIR)/analyzer/tools/build-logger -f Makefile.native ldlogger.so |
developer | c1ecc21 | 2023-11-03 09:27:38 +0800 | [diff] [blame] | 20 | endef |
| 21 | |
| 22 | define Host/Install |
developer | a557a00 | 2023-11-07 09:40:16 +0800 | [diff] [blame^] | 23 | $(INSTALL_DATA) $(HOST_BUILD_DIR)/analyzer/tools/build-logger/ldlogger.so $(STAGING_DIR_HOST)/lib/ |
developer | c1ecc21 | 2023-11-03 09:27:38 +0800 | [diff] [blame] | 24 | endef |
| 25 | |
| 26 | define Host/Clean |
| 27 | rm -f $(STAGING_DIR_HOST)/lib/ldlogger.so |
| 28 | endef |
| 29 | |
| 30 | $(eval $(call HostBuild)) |