blob: 0ad7c65309fc0818a642ebd6a50edefbe4f7b9ed [file] [log] [blame]
#
# Copyright (C) 2010-2013 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:=ml_utils
PKG_VERSION:=1.0
PKG_RELEASE=1
USE_SOURCE_DIR:=$(MRVLDIR)/services/android_wrapper/ml_utilset
include $(INCLUDE_DIR)/package.mk
define Package/libml_utils
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libpthread +prop2uci +liblog
TITLE:=Marvell utils
DEFAULT:=y
endef
define Build/Clean
rm -rf $(USE_SOURCE_DIR)/*.so
rm -rf $(USE_SOURCE_DIR)/*.a
rm -rf $(USE_SOURCE_DIR)/*.o
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(USE_SOURCE_DIR)/libml_utils.so $(1)/usr/lib
endef
define Package/libml_utils/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(USE_SOURCE_DIR)/libml_utils.so $(1)/usr/lib
endef
$(eval $(call BuildPackage,libml_utils))