Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions utils/ipq-art-editor/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=ipq-art-editor
PKG_VERSION:=1.0.1
PKG_RELEASE:=1

PKG_SOURCE:=1.0.1.tar.gz
Comment thread
gvvsnrnaveen marked this conversation as resolved.
Outdated
PKG_SOURCE_URL:=https://github.com/gvvsnrnaveen/ipq-art-editor/archive/refs/tags/
PKG_HASH:=a6cb8191f9f06c7538c5ee7328c850a8ecd085573460e1afeae4e3b82f7b559e
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

PKG_LICENSE:=GPL-3.0-only
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=G. Naveen Kumar <naveenkumar.gvvsnr@gmail.com>

include $(INCLUDE_DIR)/package.mk

define Package/ipq-art-editor
SECTION:=utils
CATEGORY:=Utilities
TITLE:=IPQ ART partition editor utility
Comment thread
gvvsnrnaveen marked this conversation as resolved.
URL:=https://github.com/gvvsnrnaveen/ipq-art-editor
endef

define Package/ipq-art-editor/description
Utility to update MAC addresses, customer data, and raw bytes in
Qualcomm IPQ ART partitions/files and recalculate ART checksum.
Supports IPQ60xx and IPQ80xx platforms
Comment thread
gvvsnrnaveen marked this conversation as resolved.
Outdated
endef

TARGET_CFLAGS += -Wall -Wextra

define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/src \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
Comment thread
gvvsnrnaveen marked this conversation as resolved.
Outdated
LDFLAGS="$(TARGET_LDFLAGS)"
endef

define Package/ipq-art-editor/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ipq_art_editor $(1)/usr/sbin/ipq-art-editor
endef

$(eval $(call BuildPackage,ipq-art-editor))
Loading