| # |
| # 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:=libcutils |
| PKG_VERSION:=1.0 |
| PKG_RELEASE=1 |
| USE_SOURCE_DIR:=$(MRVLDIR)/services/android_wrapper/cutils |
| |
| include $(INCLUDE_DIR)/package.mk |
| |
| define Package/libcutils |
| SECTION:=libs |
| CATEGORY:=Libraries |
| DEPENDS:=@TARGET_mmp +libpthread |
| TITLE:=Marvell Android Property to UCI wrapper library |
| 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)/libcutils.so $(1)/usr/lib/ |
| endef |
| |
| define Package/libcutils/install |
| $(INSTALL_DIR) $(1)/usr/lib |
| $(CP) $(USE_SOURCE_DIR)/libcutils.so $(1)/usr/lib/ |
| endef |
| |
| $(eval $(call BuildPackage,libcutils)) |