[dbox2] wrong mcpu in linux-2.4.37.9/arch/ppc/Makefile

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
arabeman14
Neugieriger
Neugieriger
Beiträge: 4
Registriert: Freitag 21. Mai 2010, 21:50

[dbox2] wrong mcpu in linux-2.4.37.9/arch/ppc/Makefile

Beitrag von arabeman14 »

Hi,

I try to make an enigma image for my nokia dbox2.
I've notice that the default mcpu flag is set to 860 in linux-2.4.37.9/arch/ppc/Makefile.

I think that the right one should be "-mcpu=823", isn't it?
If it is the case, would you please help me to fix the case?

please is this correct?

Code: Alles auswählen

--- linux-2.4.37.9/arch/ppc/Makefile    2010-05-21 22:26:17.155541665 +0200
+++ linux-2.4.37.9/arch/ppc/Makefile       2010-05-22 07:12:22.283961752 +0200
@@ -30,7 +30,7 @@
 endif

 ifdef CONFIG_8xx
-CFLAGS := $(CFLAGS) -mcpu=860
+CFLAGS := $(CFLAGS) -mcpu=823
 endif

 ifdef CONFIG_PPC64BRIDGE
Thanks to bosmann who point me here.


Best Regards
dietmarw
Contributor
Beiträge: 1833
Registriert: Mittwoch 10. April 2002, 15:39

Re: [dbox2] wrong mcpu in linux-2.4.37.9/arch/ppc/Makefile

Beitrag von dietmarw »

for enigma1 u dont have to change something in head checkout
* autogen
* configure ..... ...... ...... ......
* make-enigma-........

look at http://wiki.tuxbox-cvs.sourceforge.net
arabeman14
Neugieriger
Neugieriger
Beiträge: 4
Registriert: Freitag 21. Mai 2010, 21:50

Re: [dbox2] wrong mcpu in linux-2.4.37.9/arch/ppc/Makefile

Beitrag von arabeman14 »

dietmarw hat geschrieben:for enigma1 u dont have to change something in head checkout
* autogen
* configure ..... ...... ...... ......
* make-enigma-........

look at http://wiki.tuxbox-cvs.sourceforge.net

Thank you.
Using the modified Makefile (with mcpu=823)
and I got this error:

Code: Alles auswählen

....
checking for main in -lm... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libstdc++-v3] Erreur 1
make[1]: quittant le répertoire « /home/Arabeman/newmake/tuxbox-cvs/cdk/build_gcc »
I'll give a try using the original Makefile and let you know if the error I got is linked to mcpu flag.

Best Regards
arabeman14
Neugieriger
Neugieriger
Beiträge: 4
Registriert: Freitag 21. Mai 2010, 21:50

Re: [dbox2] wrong mcpu in linux-2.4.37.9/arch/ppc/Makefile

Beitrag von arabeman14 »

Hi,

I'm gettting the seam error using the original linux-2.4.37.9/arch/ppc/Makefile :dash:

Thx
bosmann
Einsteiger
Einsteiger
Beiträge: 268
Registriert: Sonntag 3. September 2006, 14:13

Re: [dbox2] wrong mcpu in linux-2.4.37.9/arch/ppc/Makefile

Beitrag von bosmann »

is in my Makefile:
.
.
.
ifdef CONFIG_8xx
CFLAGS := $(CFLAGS) -mcpu=860
endif
.
.
.
try not to edit the file...