http://www.usr.com/support/gpl/USR9107_release1.1.tar.gz
[bcm963xx.git] / userapps / opensource / libcreduction / Makefile
index a0c7090..0c073e8 100755 (executable)
@@ -66,7 +66,7 @@ libopt:
            $(SHELL) -e generate_library $(PLATFORM) $(BINARIES); \
        fi
        @if [ "$(PLATFORM)" = "uclibc" ]; then \
-           python ./mklibs.py -D -L $(LIBDIR) --target=$(CROSS_COMPILE) -d $(PLATFORM) $(BINARIES); \
+           python ./mklibs.py -D -L $(LIBDIR) -L $(INSTALL_DIR)/lib --target=$(CROSS_COMPILE) -d $(PLATFORM) $(BINARIES); \
        fi
        
 # Additional libraries to install
@@ -96,4 +96,4 @@ install: libopt
 clean:
        @if [ "$(INSTALL_DIR)" != "" -a "$(INSTALL_DIR)" != "/" ]; then rm -f $(INSTALL_DIR)/lib/*; fi
        @if [ "$(PLATFORM)" = "glibc" ]; then rm -f $(PLATFORM)/$(LIBC) $(PLATFORM)/$(LINKER); fi
-       @if [ "$(PLATFORM)" = "uclibc" ]; then rm -f $(PLATFORM)/*; fi  
+       @if [ "$(PLATFORM)" = "uclibc" ]; then rm -f $(PLATFORM)/*.0; fi