summaryrefslogtreecommitdiff
path: root/openwrt/package/libtasn1/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-06-16 06:00:08 +0000
committerNicolas Thill <nico@openwrt.org>2005-06-16 06:00:08 +0000
commitd73371329ea76f1fe0df513cb9fcc11f895fa61b (patch)
tree5e6f863a64480594bbcf670ed809a172c2793b2c /openwrt/package/libtasn1/Makefile
parentcc7341d6c2a5ab670de4fe223ae787be5f12414b (diff)
downloadmtk-20170518-d73371329ea76f1fe0df513cb9fcc11f895fa61b.zip
mtk-20170518-d73371329ea76f1fe0df513cb9fcc11f895fa61b.tar.gz
mtk-20170518-d73371329ea76f1fe0df513cb9fcc11f895fa61b.tar.bz2
Remove forgotten testing var ; Remove supefluous target dependencies
SVN-Revision: 1256
Diffstat (limited to 'openwrt/package/libtasn1/Makefile')
-rw-r--r--openwrt/package/libtasn1/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/openwrt/package/libtasn1/Makefile b/openwrt/package/libtasn1/Makefile
index 1919d12..fd7836c 100644
--- a/openwrt/package/libtasn1/Makefile
+++ b/openwrt/package/libtasn1/Makefile
@@ -20,11 +20,9 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(TOPDIR)/package/rules.mk
-BR2_PACKAGE_LIBTASN1=m
-
$(eval $(call PKG_template,LIBTASN1,libtasn1,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
-$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
+$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
touch configure.ac ; \
touch acinclude.m4 ; \
@@ -62,7 +60,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
);
touch $@
-$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
+$(PKG_BUILD_DIR)/.built:
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
@@ -70,7 +68,7 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
all install
touch $@
-$(IPKG_LIBTASN1): $(STAGING_DIR)/usr/lib/libtasn1.so
+$(IPKG_LIBTASN1):
install -m0755 -d $(IDIR_LIBTASN1)/usr/lib
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libtasn1.so.* $(IDIR_LIBTASN1)/usr/lib/
$(RSTRIP) $(IDIR_LIBTASN1)