fix a bug that prevents the wgt634u from initializing the filesystem properly
[openwrt.git] / openwrt / package / flac / Makefile
index 9baa0da..b06cf0e 100644 (file)
@@ -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
This page took 0.022598 seconds and 4 git commands to generate.