2023-04-01 10:00:13 +08:00

42 lines
759 B
Makefile

#
# Copyright (C) 2011-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=qlog
PKG_RELEASE:=1
PKG_FLAGS:=nonshared
include $(INCLUDE_DIR)/package.mk
define Package/qlog
SECTION:=utils
CATEGORY:=ROOter
SUBMENU:=Optional Applications
TITLE:=Quectel Qlog
MAINTAINER:=Dairyman
endef
define Package/qlog/description
Quectel Qlog
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS) -Wall"
endef
define Package/qlog/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/QLog $(1)/usr/bin/QLog
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,qlog))