0

I'm trying to run the command on x86_64, for Linux 3.10:

$ make drivers/net/ethernet/broadcom/bcm63xx_enet.i

The problem is that this file is to be built on MPIS arch that is different from my own. How can I configure my build environment so I can generate the intermediate file for that specific c file?

Peter
  • 1,753
  • 18
  • 19
  • You need to configure a MIPS kernel using a cross-compiler. – Basile Starynkevitch Jul 10 '13 at 20:59
  • @BasileStarynkevitch, but it is only a matter of using the correct compiler include flags and config options. As I do not want to generate binaries, is this really needed? Aren't there better options other than cross compiling tools? – Peter Jul 11 '13 at 07:23
  • You need a MIPS cross-compiler because some things are particular to MIPS... (e.g. some compiler specific headers like ``, some GCC builtins, etc...) – Basile Starynkevitch Jul 11 '13 at 13:46
  • You should explain **why** you want to get this particular `bcm63xx_enet.i` file.... – Basile Starynkevitch Jul 11 '13 at 14:31
  • @BasileStarynkevitch, for checking if the preprocessor complains or not when on that file. I'm not interested in that file only, I'm interested in the way of doing it. – Peter Jul 12 '13 at 16:44

0 Answers0