On Wed, Jan 1, 2014 at 10:02 PM, Chirag Chhatriwala <cchha...@gmail.com>wrote:

> (cd /home/chirag/open/n750/build_dir/host/patch-2.7.1/; if [ -x configure
> ]; then cp -fpR /home/chirag/open/n750/scripts/config.{guess,sub}
> /home/chirag/open/n750/build_dir/host/patch-2.7.1// &&  /bin/bash
> ./configure CC="gcc" CFLAGS="-O2
> -I/home/chirag/open/n750/staging_dir/host/include"
> CPPFLAGS="-I/home/chirag/open/n750/staging_dir/host/include"
> LDFLAGS="-L/home/chirag/open/n750/staging_dir/host/lib" SHELL="/bin/bash"
> --target=x86_64-linux-gnu --host=x86_64-linux-gnu --build=x86_64-linux-gnu
> --program-prefix="" --program-suffix=""
> --prefix=/home/chirag/open/n750/staging_dir/host
> --exec-prefix=/home/chirag/open/n750/staging_dir/host
> --sysconfdir=/home/chirag/open/n750/staging_dir/host/etc
> --localstatedir=/home/chirag/open/n750/staging_dir/host/var
> --sbindir=/home/chirag/open/n750/staging_dir/host/bin ; fi )
>  Usage:
>         cp [options] FILE DEST
>         cp [options] FILE1 [FILE2 ...] DEST-DIR
>
>         cp --help for options list
>
>
> *cp: error: no such option: -p*
>
>
Answering my own question after I found a response previously on the
Openwrt development threads:
https://lists.openwrt.org/pipermail/openwrt-users/2012-March/002066.html

the culprit, same the author's issue, was gcp, which was being preferred
over /bin/cp...
removed gcp and everything is working.

Hope this helps someone else as well. Not the ideal fix for people who need
to have both installed, should there be a patch to prefer cp and not use
gcp (if gcp is present as well).

--
Regards,
Chirag
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to