X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/38b5764eeef6665494d23a1e30363099faeea303..bc7f04c1b407c70a283fa63d463be2d1981bef30:/openwrt/package/lzo/Makefile?ds=sidebyside diff --git a/openwrt/package/lzo/Makefile b/openwrt/package/lzo/Makefile index ceb449071..81c749b0c 100644 --- a/openwrt/package/lzo/Makefile +++ b/openwrt/package/lzo/Makefile @@ -47,16 +47,16 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared --enable-shared \ --enable-static \ ); - touch $(PKG_BUILD_DIR)/.configured + touch $@ $(PKG_BUILD_DIR)/.built: - $(MAKE) -C $(PKG_BUILD_DIR) \ - CFLAGS_O="$(TARGET_CFLAGS)" + rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ + CFLAGS_O="$(TARGET_CFLAGS)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ - install - touch $(PKG_BUILD_DIR)/.built + all install + touch $@ $(IPKG_LIBLZO): install -d -m0755 $(IDIR_LIBLZO)/usr/lib