From 1d9f410500f32b04b18b176386e77afacda7acfb Mon Sep 17 00:00:00 2001 From: wdenk Date: Sat, 9 Oct 2004 22:21:29 +0000 Subject: Patch by Steven Scholz, 16 Aug 2004: - Introducing the concept of SoCs "./cpu/$(CPU)/$(SOC)" - creating subdirs for SoCs ./cpu/arm920t/imx and ./cpu/arm920t/s3c24x0 - moving SoC specific code out of cpu/arm920t/ into cpu/arm920t/$(SOC)/ - moving drivers/s3c24x0_i2c.c and drivers/serial_imx.c out of drivers/ into cpu/arm920t/$(SOC)/ --- mkconfig | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'mkconfig') diff --git a/mkconfig b/mkconfig index 106bd896a8..266addd705 100644 --- a/mkconfig +++ b/mkconfig @@ -3,7 +3,7 @@ # Script to create header files and links to configure # U-Boot for a specific board. # -# Parameters: Target Architecture CPU Board +# Parameters: Target Architecture CPU Board [VENDOR] [SOC] # # (C) 2002 DENX Software Engineering, Wolfgang Denk # @@ -19,7 +19,7 @@ while [ $# -gt 0 ] ; do done [ $# -lt 4 ] && exit 1 -[ $# -gt 5 ] && exit 1 +[ $# -gt 6 ] && exit 1 echo "Configuring for $1 board..." @@ -41,11 +41,13 @@ fi # # Create include file for Make # -echo "ARCH = $2" > config.mk -echo "CPU = $3" >> config.mk -echo "BOARD = $4" >> config.mk +echo "ARCH = $2" > config.mk +echo "CPU = $3" >> config.mk +echo "BOARD = $4" >> config.mk -[ "$5" ] && echo "VENDOR = $5" >> config.mk +[ "$5" ] && [ "$5" != "NULL" ] && echo "VENDOR = $5" >> config.mk + +[ "$6" ] && [ "$6" != "NULL" ] && echo "SOC = $6" >> config.mk # # Create board specific header file -- cgit v1.2.1