X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/fa8017e083e7e08ea792c3936a2f3f6e2f7dd4fb..c4a54700bcca9c5b05f7277a3025b6a5ee0e4658:/openwrt/package/gmp/Makefile diff --git a/openwrt/package/gmp/Makefile b/openwrt/package/gmp/Makefile index eb835c2f3..f32d98811 100644 --- a/openwrt/package/gmp/Makefile +++ b/openwrt/package/gmp/Makefile @@ -47,10 +47,13 @@ $(PKG_BUILD_DIR)/.libs/libgmp.so: $(PKG_BUILD_DIR)/.configured $(PKG_IPK): $(PKG_BUILD_DIR)/.libs/libgmp.so $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH) + $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(STAGING_DIR)" install $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_IPK_DIR)" install rm $(PKG_IPK_DIR)/usr/lib/*.la rm $(PKG_IPK_DIR)/usr/lib/*.a $(STRIP) $(PKG_IPK_DIR)/usr/lib/*.so + rm -rf $(PKG_IPK_DIR)/usr/info + rm -rf $(PKG_IPK_DIR)/usr/include mkdir -p $(PACKAGE_DIR) $(IPKG_BUILD) $(PKG_IPK_DIR) $(PACKAGE_DIR)