Skip to content

Commit

Permalink
debugcc: add new package to debug IPQ based SoC clocks
Browse files Browse the repository at this point in the history
Add new package to debug IPQ clocks using debug regs and hardware
oscillator.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
  • Loading branch information
Ansuel committed Nov 10, 2023
1 parent 8376eaa commit 79ee0d2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions package/utils/debugcc/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=debugcc
PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://github.com/linux-msm/debugcc.git
PKG_SOURCE_DATE:=2023-11-10
PKG_SOURCE_VERSION:=d15bea7c05f224a85dd1fcec24b0f153dbad9f6e
PKG_MIRROR_HASH:=b6bd181db4992cf429343cd7d0fdde0f937a8f1811f5fe9e7855a0d76b0d88a0

PKG_MAINTAINER:=Christian Marangi <ansuelsmth@gmail.com>

include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/meson.mk

define Package/debugcc
SECTION:=utils
CATEGORY:=Utilities
TITLE:=QCOM debugcc utility
DEPENDS:=@KERNEL_DEVMEM @(TARGET_qualcommax||TARGET_ipq806x||TARGET_ipq40xx)
endef

define Package/debugcc/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(MESON_BUILD_DIR)/debugcc $(1)/usr/bin/
endef

$(eval $(call BuildPackage,debugcc))

0 comments on commit 79ee0d2

Please sign in to comment.