diff options
author | wdenk <wdenk> | 2004-10-09 22:21:29 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-10-09 22:21:29 +0000 |
commit | 1d9f410500f32b04b18b176386e77afacda7acfb (patch) | |
tree | c381f275ad04efac5da30ec72c14016b09437135 /mkconfig | |
parent | 3e01d75ff25b3668191beb86ab32cb2d1fb7f73b (diff) | |
download | u-boot-imx-1d9f410500f32b04b18b176386e77afacda7acfb.zip u-boot-imx-1d9f410500f32b04b18b176386e77afacda7acfb.tar.gz u-boot-imx-1d9f410500f32b04b18b176386e77afacda7acfb.tar.bz2 |
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)/
Diffstat (limited to 'mkconfig')
-rw-r--r-- | mkconfig | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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 <wd@denx.de> # @@ -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 |