blob: d6bd6248865cf1af01f143e184992ddc2f568c9e [file] [log] [blame]
wdenk1d9f4102004-10-09 22:21:29 +00001[By Steven Scholz <steven.scholz@imc-berlin.de>, 16 Aug 2004]
2
3Since the cpu/ directory gets clobbered with peripheral driver code I
Peter Tyser84ad6882010-04-12 22:28:11 -05004started cleaning up arch/arm/cpu/arm920t.
wdenk1d9f4102004-10-09 22:21:29 +00005
6I introduced the concept of Soc (system on a chip) into the ./cpu
7directory. That means that code that is cpu (i.e. core) specific
8resides in
9
Peter Tyser03b70042010-04-12 22:28:02 -050010 $(CPUDIR)/
wdenk1d9f4102004-10-09 22:21:29 +000011
12and code that is specific to some SoC (i.e. vendor specific
13peripherals around the core) is moved into
14
Peter Tyser03b70042010-04-12 22:28:02 -050015 $(CPUDIR)/$(SOC)/
wdenk1d9f4102004-10-09 22:21:29 +000016
Peter Tyser03b70042010-04-12 22:28:02 -050017Thus a library/archive "$(CPUDIR)/$(SOC)/lib$(SOC).a" will be build
wdenk1d9f4102004-10-09 22:21:29 +000018and linked. Examples will be
19
Peter Tyser84ad6882010-04-12 22:28:11 -050020 arch/arm/cpu/arm920t/imx/
21 arch/arm/cpu/arm920t/s3c24x0
wdenk1d9f4102004-10-09 22:21:29 +000022
23One can select an SoC by passing the name of it to ./mkconfig just
24like
25
26 @./mkconfig $(@:_config=) arm arm920t vcma9 mpl s3c24x0
27
28If there's no VENDOR field (like "mpl" in the above line) one has to
29pass NULL instead:
30
31 @./mkconfig $(@:_config=) arm arm920t mx1ads NULL imx