X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/aa3e19f0eb24eb3d1978ea183b483f70a2a00e82..040d19f15a87d3f0e737782f75d289161e0e38d9:/openwrt/package/flac/Makefile?ds=sidebyside diff --git a/openwrt/package/flac/Makefile b/openwrt/package/flac/Makefile index 9baa0da85..b06cf0ec4 100644 --- a/openwrt/package/flac/Makefile +++ b/openwrt/package/flac/Makefile @@ -26,21 +26,22 @@ $(PKG_BUILD_DIR)/.built: mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.lite \ $(TARGET_CONFIGURE_OPTS) \ + RELEASE_CFLAGS="$(TARGET_CFLAGS)" \ libFLAC touch $@ $(IPKG_LIBFLAC): install -m0755 -d $(IDIR_LIBFLAC)/usr/lib - cp -fpR $(PKG_BUILD_DIR)/obj/release/lib/libFLAC.so $(IDIR_LIBFLAC)/usr/lib/ + $(CP) $(PKG_BUILD_DIR)/obj/release/lib/libFLAC.so $(IDIR_LIBFLAC)/usr/lib/ $(RSTRIP) $(IDIR_LIBFLAC) $(IPKG_BUILD) $(IDIR_LIBFLAC) $(PACKAGE_DIR) $(STAGING_DIR)/usr/lib/libFLAC.so: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/usr/include - cp -fpR $(PKG_BUILD_DIR)/include/FLAC $(STAGING_DIR)/usr/include/ + $(CP) $(PKG_BUILD_DIR)/include/FLAC $(STAGING_DIR)/usr/include/ mkdir -p $(STAGING_DIR)/usr/lib - cp -fpR $(PKG_BUILD_DIR)/obj/release/lib/libFLAC.a $(STAGING_DIR)/usr/lib/ - cp -fpR $(PKG_BUILD_DIR)/obj/release/lib/libFLAC.so $(STAGING_DIR)/usr/lib/ + $(CP) $(PKG_BUILD_DIR)/obj/release/lib/libFLAC.a $(STAGING_DIR)/usr/lib/ + $(CP) $(PKG_BUILD_DIR)/obj/release/lib/libFLAC.so $(STAGING_DIR)/usr/lib/ touch $@ install-dev: $(STAGING_DIR)/usr/lib/libFLAC.so @@ -51,8 +52,8 @@ uninstall-dev: $(STAGING_DIR)/usr/lib/libFLAC.a \ $(STAGING_DIR)/usr/lib/libFLAC.so \ -compile: install-dev -clean: uninstall-dev +compile-targets: install-dev +clean-targets: uninstall-dev mostlyclean: -$(MAKE) -C $(PKG_BUILD_DIR) clean