Whats happening is you are not in the proper project you need to be.

for frameworks_v2 be in "frameworks/base/"

for "0001-1.-added-mouse-cursor.patch" be in "frameworks/base/"

for "0001-1.-enabled-power-mgt.patch" be in "vendor/asus/
eee_701/"

for "atl2-2.2.3.patch" be in "kernel/"

and for the other patches there is a line project path/to/project/ well you
have to be there to apply the patch.


Thanks
-Corey Ling


On Mon, May 11, 2009 at 4:13 PM, marietto2008 <[email protected]>wrote:

>
> Hello,
>
> I'm trying to compile Google Android for x86 with VMWARE & Ubuntu
> 9.04. I'm trying to apply all the patches located here :
>
>
> http://code.google.com/p/patch-hosting-for-android-x86-support/downloads/list
>
> the patch files on my vmware virtual machine are located on ~/mydroid/
> patches/
>
> this is what happens when I try to apply these patches :
>
> r...@marietto-desktop:~/mydroid/vendor/asus/eee_701# patch -p1 <
> atl2-2.2.3.patch
>
> can't find file to patch at input line 5
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
> |index 4a11296..81a3e95 100644
> |--- a/drivers/net/Kconfig
> |+++ b/drivers/net/Kconfig
> --------------------------
> File to patch: ^C
>
> r...@marietto-desktop:~/mydroid/vendor/asus/eee_701# patch -p1 <
> e2fsprogs.patch
>
>
> can't find file to patch at input line 7
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |
> |project external/e2fsprogs/
> |diff --git a/Android.mk b/Android.mk
> |index e71cf08..3d39a41 100644
> |--- a/Android.mk
> |+++ b/Android.mk
> --------------------------
>
> File to patch: ^C
>
> r...@marietto-desktop:~/mydroid/vendor/asus/eee_701# patch -p1 <
> frameworks_v2.patch
>
> can't find file to patch at input line 5
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff --git a/Android.mk b/Android.mk
> |index 1246c73..bade8e6 100644
> |--- a/Android.mk
> |+++ b/Android.mk
> --------------------------
>
> File to patch: ^C
>
> r...@marietto-desktop:~/mydroid/vendor/asus/eee_701# patch -p1 <
> qemu_gnu.patch
>
>
> can't find file to patch at input line 7
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |
> |project external/qemu/
> |diff --git a/Makefile.android b/Makefile.android
> |index 4c697fb..98d2084 100644
> |--- a/Makefile.android
> |+++ b/Makefile.android
> --------------------------
>
> File to patch: ^C
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to