uCLinux for PPC: Bug in autoconf.h creation

2 messages, 2 authors, 2006-09-07 · open the first message on its own page

uCLinux for PPC: Bug in autoconf.h creation

From: Simon Jung <hidden>
Date: 2006-09-07 09:33:00

I am trying to build a uCLinux Distribution for PowerPC following the 
instructions on

http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux/uclinux_powerpc/ 
<http://www.itee.uq.edu.au/%7Ejwilliams/mblaze-uclinux/uclinux_powerpc/>

"make menuconfig" works well  but the created file 
/linuxppx-2.4.x/include/linux/autoconf.h has errors:

The created "#defines" for integer and string types are mistyped the 
closing bracket / quote is written into a newline.
Example:

#define CONFIG_XILINX_PPC405_0_DISABLE_OPERAND_FORWARDING (1
)
#define CONFIG_XILINX_PPC405_0_DETERMINISTIMULT (0
)
#define CONFIG_XILINX_PPC405_0_MMU_ENABLE (1
)
#define CONFIG_XILINX_PPC405_0_DCR_RESYNC (0
)
#define CONFIG_XILINX_PPC405_0_INSTANCE "ppc405_0
"
#define CONFIG_XILINX_PPC405_0_HW_VER "2.00.c
"
#define CONFIG_XILINX_ON1_DMA_MASTER_0_INSTANCE "on1_dma_master_PPC
"

How can I correct the generation of  autoconf.h ?

Greetings,
Simon Jung

Re: uCLinux for PPC: Bug in autoconf.h creation

From: Aidan Williams <hidden>
Date: 2006-09-07 12:18:01

I would suspect CRLF issues..

Try running dos2unix on your
  arch/ppc/platforms/xilinx_auto/auto-config.in
and then defaulting all your settings with make menuconfig to regenerate your kernel .config and config headers.

- aidan


Simon Jung wrote:
I am trying to build a uCLinux Distribution for PowerPC following the 
instructions on

http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux/uclinux_powerpc/ 
<http://www.itee.uq.edu.au/%7Ejwilliams/mblaze-uclinux/uclinux_powerpc/>

"make menuconfig" works well  but the created file 
/linuxppx-2.4.x/include/linux/autoconf.h has errors:

The created "#defines" for integer and string types are mistyped the 
closing bracket / quote is written into a newline.
Example:

#define CONFIG_XILINX_PPC405_0_DISABLE_OPERAND_FORWARDING (1
)
#define CONFIG_XILINX_PPC405_0_DETERMINISTIMULT (0
)
#define CONFIG_XILINX_PPC405_0_MMU_ENABLE (1
)
#define CONFIG_XILINX_PPC405_0_DCR_RESYNC (0
)
#define CONFIG_XILINX_PPC405_0_INSTANCE "ppc405_0
"
#define CONFIG_XILINX_PPC405_0_HW_VER "2.00.c
"
#define CONFIG_XILINX_ON1_DMA_MASTER_0_INSTANCE "on1_dma_master_PPC
"

How can I correct the generation of  autoconf.h ?

Greetings,
Simon Jung
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help