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
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