3 include $(TOPDIR)/rules.mk
9 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
10 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
12 include $(TOPDIR)/package/rules.mk
14 $(eval $(call PKG_template,LIBPTHREAD,libpthread,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
18 $(PKG_BUILD_DIR)/.prepared:
19 mkdir -p $(PKG_BUILD_DIR)
22 $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
25 $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
29 mkdir -p $(IDIR_LIBPTHREAD)/lib
30 cp -fpR $(STAGING_DIR)/lib/libpthread.so.* $(IDIR_LIBPTHREAD)/lib/
31 cp -fpR $(STAGING_DIR)/lib/libpthread-*.so $(IDIR_LIBPTHREAD)/lib/
32 $(RSTRIP) $(IDIR_LIBPTHREAD)
33 $(IPKG_BUILD) $(IDIR_LIBPTHREAD) $(PACKAGE_DIR)