wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2000, 2001, 2002 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
| 5 | # See file CREDITS for list of people who contributed to this |
| 6 | # project. |
| 7 | # |
| 8 | # This program is free software; you can redistribute it and/or |
| 9 | # modify it under the terms of the GNU General Public License as |
| 10 | # published by the Free Software Foundation; either version 2 of |
| 11 | # the License, or (at your option) any later version. |
| 12 | # |
| 13 | # This program is distributed in the hope that it will be useful, |
| 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | # GNU General Public License for more details. |
| 17 | # |
| 18 | # You should have received a copy of the GNU General Public License |
| 19 | # along with this program; if not, write to the Free Software |
| 20 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 21 | # MA 02111-1307 USA |
| 22 | # |
| 23 | |
| 24 | HOSTARCH := $(shell uname -m | \ |
| 25 | sed -e s/i.86/i386/ \ |
| 26 | -e s/sun4u/sparc64/ \ |
| 27 | -e s/arm.*/arm/ \ |
| 28 | -e s/sa110/arm/ \ |
| 29 | -e s/powerpc/ppc/ \ |
| 30 | -e s/macppc/ppc/) |
| 31 | |
| 32 | HOSTOS := $(shell uname -s | tr A-Z a-z | \ |
| 33 | sed -e 's/\(cygwin\).*/cygwin/') |
| 34 | |
| 35 | export HOSTARCH |
| 36 | |
| 37 | # Deal with colliding definitions from tcsh etc. |
| 38 | VENDOR= |
| 39 | |
| 40 | ######################################################################### |
| 41 | |
| 42 | TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) |
| 43 | export TOPDIR |
| 44 | |
| 45 | ifeq (include/config.mk,$(wildcard include/config.mk)) |
| 46 | # load ARCH, BOARD, and CPU configuration |
| 47 | include include/config.mk |
| 48 | export ARCH CPU BOARD VENDOR |
| 49 | # load other configuration |
| 50 | include $(TOPDIR)/config.mk |
| 51 | |
| 52 | ifndef CROSS_COMPILE |
| 53 | ifeq ($(HOSTARCH),ppc) |
| 54 | CROSS_COMPILE = |
| 55 | else |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 56 | ifeq ($(ARCH),ppc) |
| 57 | CROSS_COMPILE = ppc_8xx- |
| 58 | endif |
| 59 | ifeq ($(ARCH),arm) |
wdenk | c8434db | 2003-03-26 06:55:25 +0000 | [diff] [blame] | 60 | CROSS_COMPILE = arm-linux- |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 61 | endif |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 62 | ifeq ($(ARCH),i386) |
wdenk | abda5ca | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 63 | ifeq ($(HOSTARCH),i386) |
| 64 | CROSS_COMPILE = |
| 65 | else |
| 66 | CROSS_COMPILE = i386-linux- |
| 67 | endif |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 68 | endif |
wdenk | 4a5c8a7 | 2003-03-06 00:02:04 +0000 | [diff] [blame] | 69 | ifeq ($(ARCH),mips) |
| 70 | CROSS_COMPILE = mips_4KC- |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 71 | endif |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 72 | endif |
wdenk | 4a5c8a7 | 2003-03-06 00:02:04 +0000 | [diff] [blame] | 73 | endif |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 74 | |
| 75 | export CROSS_COMPILE |
| 76 | |
| 77 | # The "tools" are needed early, so put this first |
| 78 | SUBDIRS = tools \ |
| 79 | lib_generic \ |
| 80 | lib_$(ARCH) \ |
| 81 | cpu/$(CPU) \ |
| 82 | board/$(BOARDDIR) \ |
| 83 | common \ |
| 84 | disk \ |
| 85 | fs \ |
| 86 | net \ |
| 87 | rtc \ |
| 88 | dtt \ |
| 89 | drivers \ |
| 90 | post \ |
| 91 | post/cpu \ |
| 92 | examples |
| 93 | |
| 94 | ######################################################################### |
| 95 | # U-Boot objects....order is important (i.e. start must be first) |
| 96 | |
| 97 | OBJS = cpu/$(CPU)/start.o |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 98 | ifeq ($(CPU),i386) |
| 99 | OBJS += cpu/$(CPU)/start16.o |
| 100 | OBJS += cpu/$(CPU)/reset.o |
| 101 | endif |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 102 | ifeq ($(CPU),ppc4xx) |
| 103 | OBJS += cpu/$(CPU)/resetvec.o |
| 104 | endif |
| 105 | |
| 106 | LIBS = board/$(BOARDDIR)/lib$(BOARD).a |
| 107 | LIBS += cpu/$(CPU)/lib$(CPU).a |
| 108 | LIBS += lib_$(ARCH)/lib$(ARCH).a |
wdenk | 7a428cc | 2003-06-15 22:40:42 +0000 | [diff] [blame] | 109 | LIBS += fs/jffs2/libjffs2.a fs/fdos/libfdos.a fs/fat/libfat.a |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 110 | LIBS += net/libnet.a |
| 111 | LIBS += disk/libdisk.a |
| 112 | LIBS += rtc/librtc.a |
| 113 | LIBS += dtt/libdtt.a |
| 114 | LIBS += drivers/libdrivers.a |
| 115 | LIBS += post/libpost.a post/cpu/libcpu.a |
| 116 | LIBS += common/libcommon.a |
| 117 | LIBS += lib_generic/libgeneric.a |
| 118 | |
| 119 | ######################################################################### |
| 120 | |
| 121 | all: u-boot.srec u-boot.bin System.map |
| 122 | |
| 123 | install: all |
wdenk | 4a5c8a7 | 2003-03-06 00:02:04 +0000 | [diff] [blame] | 124 | -cp u-boot.bin /tftpboot/u-boot.bin |
| 125 | -cp u-boot.bin /net/denx/tftpboot/u-boot.bin |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 126 | |
| 127 | u-boot.srec: u-boot |
| 128 | $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ |
| 129 | |
| 130 | u-boot.bin: u-boot |
| 131 | $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ |
| 132 | |
| 133 | u-boot.dis: u-boot |
| 134 | $(OBJDUMP) -d $< > $@ |
| 135 | |
| 136 | u-boot: depend subdirs $(OBJS) $(LIBS) $(LDSCRIPT) |
wdenk | 57b2d80 | 2003-06-27 21:31:46 +0000 | [diff] [blame] | 137 | UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ |
| 138 | $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \ |
wdenk | 67ff36c | 2002-11-19 23:01:07 +0000 | [diff] [blame] | 139 | --start-group $(LIBS) --end-group \ |
| 140 | -Map u-boot.map -o u-boot |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 141 | |
| 142 | subdirs: |
| 143 | @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir || exit 1 ; done |
| 144 | |
| 145 | depend dep: |
| 146 | @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir .depend ; done |
| 147 | |
| 148 | tags: |
| 149 | ctags -w `find $(SUBDIRS) include \ |
| 150 | \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` |
| 151 | |
| 152 | etags: |
| 153 | etags -a `find $(SUBDIRS) include \ |
| 154 | \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` |
| 155 | |
| 156 | System.map: u-boot |
| 157 | @$(NM) $< | \ |
| 158 | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ |
| 159 | sort > System.map |
| 160 | |
| 161 | ######################################################################### |
| 162 | else |
| 163 | all install u-boot u-boot.srec depend dep: |
| 164 | @echo "System not configured - see README" >&2 |
| 165 | @ exit 1 |
| 166 | endif |
| 167 | |
| 168 | ######################################################################### |
| 169 | |
| 170 | unconfig: |
| 171 | rm -f include/config.h include/config.mk |
| 172 | |
| 173 | #======================================================================== |
| 174 | # PowerPC |
| 175 | #======================================================================== |
wdenk | 359733b | 2003-03-31 17:27:09 +0000 | [diff] [blame] | 176 | |
| 177 | ######################################################################### |
| 178 | ## MPC5xx Systems |
| 179 | ######################################################################### |
| 180 | |
| 181 | cmi_mpc5xx_config: unconfig |
| 182 | @./mkconfig $(@:_config=) ppc mpc5xx cmi |
| 183 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 184 | ######################################################################### |
wdenk | 21136db | 2003-07-16 21:53:01 +0000 | [diff] [blame^] | 185 | ## MPC5xxx Systems |
| 186 | ######################################################################### |
| 187 | IceCube_5200_config \ |
| 188 | IceCube_5100_config: unconfig |
| 189 | @ >include/config.h |
| 190 | @[ -z "$(findstring _5200,$@)" ] || \ |
| 191 | { echo "#define CONFIG_MPC5200" >>include/config.h ; \ |
| 192 | echo "... with MPC5200 processor" ; \ |
| 193 | } |
| 194 | @[ -z "$(findstring _5100,$@)" ] || \ |
| 195 | { echo "#define CONFIG_MGT5100" >>include/config.h ; \ |
| 196 | echo "... with MGT5100 processor" ; \ |
| 197 | } |
| 198 | @./mkconfig -a IceCube ppc mpc5xxx icecube |
| 199 | |
| 200 | ######################################################################### |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 201 | ## MPC8xx Systems |
| 202 | ######################################################################### |
| 203 | |
| 204 | ADS860_config: unconfig |
| 205 | @./mkconfig $(@:_config=) ppc mpc8xx fads |
| 206 | |
| 207 | AMX860_config : unconfig |
| 208 | @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel |
| 209 | |
| 210 | c2mon_config: unconfig |
| 211 | @./mkconfig $(@:_config=) ppc mpc8xx c2mon |
| 212 | |
| 213 | CCM_config: unconfig |
| 214 | @./mkconfig $(@:_config=) ppc mpc8xx CCM siemens |
| 215 | |
| 216 | cogent_mpc8xx_config: unconfig |
| 217 | @./mkconfig $(@:_config=) ppc mpc8xx cogent |
| 218 | |
wdenk | ef5fe75 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 219 | ELPT860_config: unconfig |
| 220 | @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX |
| 221 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 222 | ESTEEM192E_config: unconfig |
| 223 | @./mkconfig $(@:_config=) ppc mpc8xx esteem192e |
| 224 | |
| 225 | ETX094_config : unconfig |
| 226 | @./mkconfig $(@:_config=) ppc mpc8xx etx094 |
| 227 | |
| 228 | FADS823_config \ |
| 229 | FADS850SAR_config \ |
| 230 | FADS860T_config: unconfig |
| 231 | @./mkconfig $(@:_config=) ppc mpc8xx fads |
| 232 | |
| 233 | FLAGADM_config: unconfig |
| 234 | @./mkconfig $(@:_config=) ppc mpc8xx flagadm |
| 235 | |
wdenk | 541a76d | 2003-05-03 15:50:43 +0000 | [diff] [blame] | 236 | xtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) |
| 237 | |
| 238 | GEN860T_SC_config \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 239 | GEN860T_config: unconfig |
wdenk | 541a76d | 2003-05-03 15:50:43 +0000 | [diff] [blame] | 240 | @ >include/config.h |
| 241 | @[ -z "$(findstring _SC,$@)" ] || \ |
| 242 | { echo "#define CONFIG_SC" >>include/config.h ; \ |
| 243 | echo "With reduced H/W feature set (SC)..." ; \ |
| 244 | } |
| 245 | @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 246 | |
| 247 | GENIETV_config: unconfig |
| 248 | @./mkconfig $(@:_config=) ppc mpc8xx genietv |
| 249 | |
| 250 | GTH_config: unconfig |
| 251 | @./mkconfig $(@:_config=) ppc mpc8xx gth |
| 252 | |
| 253 | hermes_config : unconfig |
| 254 | @./mkconfig $(@:_config=) ppc mpc8xx hermes |
| 255 | |
| 256 | IAD210_config: unconfig |
| 257 | @./mkconfig $(@:_config=) ppc mpc8xx IAD210 siemens |
| 258 | |
| 259 | xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) |
| 260 | |
| 261 | ICU862_100MHz_config \ |
| 262 | ICU862_config: unconfig |
| 263 | @ >include/config.h |
| 264 | @[ -z "$(findstring _100MHz,$@)" ] || \ |
| 265 | { echo "#define CONFIG_100MHz" >>include/config.h ; \ |
| 266 | echo "... with 100MHz system clock" ; \ |
| 267 | } |
| 268 | @./mkconfig -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 |
| 269 | |
| 270 | IP860_config : unconfig |
| 271 | @./mkconfig $(@:_config=) ppc mpc8xx ip860 |
| 272 | |
| 273 | IVML24_256_config \ |
| 274 | IVML24_128_config \ |
| 275 | IVML24_config: unconfig |
| 276 | @ >include/config.h |
| 277 | @[ -z "$(findstring IVML24_config,$@)" ] || \ |
| 278 | { echo "#define CONFIG_IVML24_16M" >>include/config.h ; \ |
| 279 | } |
| 280 | @[ -z "$(findstring IVML24_128_config,$@)" ] || \ |
| 281 | { echo "#define CONFIG_IVML24_32M" >>include/config.h ; \ |
| 282 | } |
| 283 | @[ -z "$(findstring IVML24_256_config,$@)" ] || \ |
| 284 | { echo "#define CONFIG_IVML24_64M" >>include/config.h ; \ |
| 285 | } |
| 286 | @./mkconfig -a IVML24 ppc mpc8xx ivm |
| 287 | |
| 288 | IVMS8_256_config \ |
| 289 | IVMS8_128_config \ |
| 290 | IVMS8_config: unconfig |
| 291 | @ >include/config.h |
| 292 | @[ -z "$(findstring IVMS8_config,$@)" ] || \ |
| 293 | { echo "#define CONFIG_IVMS8_16M" >>include/config.h ; \ |
| 294 | } |
| 295 | @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ |
| 296 | { echo "#define CONFIG_IVMS8_32M" >>include/config.h ; \ |
| 297 | } |
| 298 | @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ |
| 299 | { echo "#define CONFIG_IVMS8_64M" >>include/config.h ; \ |
| 300 | } |
| 301 | @./mkconfig -a IVMS8 ppc mpc8xx ivm |
| 302 | |
wdenk | 56f94be | 2002-11-05 16:35:14 +0000 | [diff] [blame] | 303 | KUP4K_config : unconfig |
| 304 | @./mkconfig $(@:_config=) ppc mpc8xx kup4k |
| 305 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 306 | LANTEC_config : unconfig |
| 307 | @./mkconfig $(@:_config=) ppc mpc8xx lantec |
| 308 | |
| 309 | lwmon_config: unconfig |
| 310 | @./mkconfig $(@:_config=) ppc mpc8xx lwmon |
| 311 | |
| 312 | MBX_config \ |
| 313 | MBX860T_config: unconfig |
| 314 | @./mkconfig $(@:_config=) ppc mpc8xx mbx8xx |
| 315 | |
| 316 | MHPC_config: unconfig |
| 317 | @./mkconfig $(@:_config=) ppc mpc8xx mhpc eltec |
| 318 | |
| 319 | MVS1_config : unconfig |
| 320 | @./mkconfig $(@:_config=) ppc mpc8xx mvs1 |
| 321 | |
wdenk | 70764a3 | 2003-06-26 22:04:09 +0000 | [diff] [blame] | 322 | xtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) |
| 323 | |
| 324 | NETVIA_V2_config \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 325 | NETVIA_config: unconfig |
wdenk | 70764a3 | 2003-06-26 22:04:09 +0000 | [diff] [blame] | 326 | @ >include/config.h |
| 327 | @[ -z "$(findstring NETVIA_config,$@)" ] || \ |
| 328 | { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \ |
| 329 | echo "... Version 1" ; \ |
| 330 | } |
| 331 | @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ |
| 332 | { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \ |
| 333 | echo "... Version 2" ; \ |
| 334 | } |
| 335 | @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 336 | |
| 337 | NX823_config: unconfig |
| 338 | @./mkconfig $(@:_config=) ppc mpc8xx nx823 |
| 339 | |
| 340 | pcu_e_config: unconfig |
| 341 | @./mkconfig $(@:_config=) ppc mpc8xx pcu_e siemens |
| 342 | |
| 343 | R360MPI_config: unconfig |
| 344 | @./mkconfig $(@:_config=) ppc mpc8xx r360mpi |
| 345 | |
wdenk | 4e112c1 | 2003-06-03 23:54:09 +0000 | [diff] [blame] | 346 | RBC823_config: unconfig |
| 347 | @./mkconfig $(@:_config=) ppc mpc8xx rbc823 |
| 348 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 349 | RPXClassic_config: unconfig |
| 350 | @./mkconfig $(@:_config=) ppc mpc8xx RPXClassic |
| 351 | |
| 352 | RPXlite_config: unconfig |
| 353 | @./mkconfig $(@:_config=) ppc mpc8xx RPXlite |
| 354 | |
wdenk | e6466f6 | 2003-06-05 19:27:42 +0000 | [diff] [blame] | 355 | rmu_config: unconfig |
| 356 | @./mkconfig $(@:_config=) ppc mpc8xx rmu |
| 357 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 358 | RRvision_config: unconfig |
| 359 | @./mkconfig $(@:_config=) ppc mpc8xx RRvision |
| 360 | |
| 361 | RRvision_LCD_config: unconfig |
| 362 | @echo "#define CONFIG_LCD" >include/config.h |
| 363 | @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h |
| 364 | @./mkconfig -a RRvision ppc mpc8xx RRvision |
| 365 | |
| 366 | SM850_config : unconfig |
| 367 | @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx |
| 368 | |
| 369 | SPD823TS_config: unconfig |
| 370 | @./mkconfig $(@:_config=) ppc mpc8xx spd8xx |
| 371 | |
wdenk | c8434db | 2003-03-26 06:55:25 +0000 | [diff] [blame] | 372 | svm_sc8xx_config: unconfig |
| 373 | @ >include/config.h |
| 374 | @./mkconfig $(@:_config=) ppc mpc8xx svm_sc8xx |
| 375 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 376 | SXNI855T_config: unconfig |
| 377 | @./mkconfig $(@:_config=) ppc mpc8xx sixnet |
| 378 | |
wdenk | b666c8f | 2003-03-06 00:58:30 +0000 | [diff] [blame] | 379 | # EMK MPC8xx based modules |
| 380 | TOP860_config: unconfig |
| 381 | @./mkconfig $(@:_config=) ppc mpc8xx top860 emk |
| 382 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 383 | # Play some tricks for configuration selection |
wdenk | e6466f6 | 2003-06-05 19:27:42 +0000 | [diff] [blame] | 384 | # All boards can come with 50 MHz (default), 66MHz, 80MHz or 100 MHz clock, |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 385 | # but only 855 and 860 boards may come with FEC |
| 386 | # and 823 boards may have LCD support |
wdenk | e6466f6 | 2003-06-05 19:27:42 +0000 | [diff] [blame] | 387 | xtract_8xx = $(subst _66MHz,,$(subst _80MHz,,$(subst _100MHz,,$(subst _LCD,,$(subst _config,,$1))))) |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 388 | |
| 389 | FPS850L_config \ |
wdenk | 384ae02 | 2002-11-05 00:17:55 +0000 | [diff] [blame] | 390 | FPS860L_config \ |
wdenk | 6914128 | 2003-07-07 20:07:54 +0000 | [diff] [blame] | 391 | NSCU_config \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 392 | TQM823L_config \ |
| 393 | TQM823L_66MHz_config \ |
| 394 | TQM823L_80MHz_config \ |
| 395 | TQM823L_LCD_config \ |
| 396 | TQM823L_LCD_66MHz_config \ |
| 397 | TQM823L_LCD_80MHz_config \ |
| 398 | TQM850L_config \ |
| 399 | TQM850L_66MHz_config \ |
| 400 | TQM850L_80MHz_config \ |
| 401 | TQM855L_config \ |
| 402 | TQM855L_66MHz_config \ |
| 403 | TQM855L_80MHz_config \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 404 | TQM860L_config \ |
| 405 | TQM860L_66MHz_config \ |
| 406 | TQM860L_80MHz_config \ |
wdenk | 6bd1489 | 2003-04-10 11:18:18 +0000 | [diff] [blame] | 407 | TQM862L_config \ |
| 408 | TQM862L_66MHz_config \ |
wdenk | e6466f6 | 2003-06-05 19:27:42 +0000 | [diff] [blame] | 409 | TQM862L_80MHz_config \ |
wdenk | 6914128 | 2003-07-07 20:07:54 +0000 | [diff] [blame] | 410 | TQM855M_config \ |
| 411 | TQM855M_66MHz_config \ |
| 412 | TQM855M_80MHz_config \ |
| 413 | TQM860M_config \ |
| 414 | TQM860M_66MHz_config \ |
| 415 | TQM860M_80MHz_config \ |
| 416 | TQM862M_config \ |
| 417 | TQM862M_66MHz_config \ |
| 418 | TQM862M_80MHz_config \ |
wdenk | 7a428cc | 2003-06-15 22:40:42 +0000 | [diff] [blame] | 419 | TQM862M_100MHz_config: unconfig |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 420 | @ >include/config.h |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 421 | @[ -z "$(findstring _66MHz,$@)" ] || \ |
| 422 | { echo "#define CONFIG_66MHz" >>include/config.h ; \ |
| 423 | echo "... with 66MHz system clock" ; \ |
| 424 | } |
| 425 | @[ -z "$(findstring _80MHz,$@)" ] || \ |
| 426 | { echo "#define CONFIG_80MHz" >>include/config.h ; \ |
| 427 | echo "... with 80MHz system clock" ; \ |
| 428 | } |
wdenk | e6466f6 | 2003-06-05 19:27:42 +0000 | [diff] [blame] | 429 | @[ -z "$(findstring _100MHz,$@)" ] || \ |
| 430 | { echo "#define CONFIG_100MHz" >>include/config.h ; \ |
| 431 | echo "... with 100MHz system clock" ; \ |
| 432 | } |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 433 | @[ -z "$(findstring _LCD,$@)" ] || \ |
| 434 | { echo "#define CONFIG_LCD" >>include/config.h ; \ |
| 435 | echo "#define CONFIG_NEC_NL6648BC20" >>include/config.h ; \ |
| 436 | echo "... with LCD display" ; \ |
| 437 | } |
| 438 | @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx |
| 439 | |
| 440 | TTTech_config: unconfig |
| 441 | @echo "#define CONFIG_LCD" >include/config.h |
| 442 | @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h |
| 443 | @./mkconfig -a TQM823L ppc mpc8xx tqm8xx |
| 444 | |
wdenk | 2dad91b | 2003-01-13 23:54:46 +0000 | [diff] [blame] | 445 | v37_config: unconfig |
| 446 | @echo "#define CONFIG_LCD" >include/config.h |
| 447 | @echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h |
| 448 | @./mkconfig $(@:_config=) ppc mpc8xx v37 |
| 449 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 450 | ######################################################################### |
| 451 | ## PPC4xx Systems |
| 452 | ######################################################################### |
| 453 | |
| 454 | ADCIOP_config: unconfig |
| 455 | @./mkconfig $(@:_config=) ppc ppc4xx adciop esd |
| 456 | |
| 457 | AR405_config: unconfig |
| 458 | @./mkconfig $(@:_config=) ppc ppc4xx ar405 esd |
| 459 | |
stroese | bfcc82b | 2003-05-23 11:41:44 +0000 | [diff] [blame] | 460 | ASH405_config: unconfig |
| 461 | @./mkconfig $(@:_config=) ppc ppc4xx ash405 esd |
| 462 | |
| 463 | BUBINGA405EP_config:unconfig |
| 464 | @./mkconfig $(@:_config=) ppc ppc4xx bubinga405ep |
| 465 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 466 | CANBT_config: unconfig |
| 467 | @./mkconfig $(@:_config=) ppc ppc4xx canbt esd |
| 468 | |
stroese | bfcc82b | 2003-05-23 11:41:44 +0000 | [diff] [blame] | 469 | CPCI405_config \ |
| 470 | CPCI4052_config \ |
| 471 | CPCI405AB_config: unconfig |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 472 | @./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd |
| 473 | @echo "BOARD_REVISION = $(@:_config=)" >>include/config.mk |
| 474 | |
| 475 | CPCI440_config: unconfig |
| 476 | @./mkconfig $(@:_config=) ppc ppc4xx cpci440 esd |
| 477 | |
| 478 | CPCIISER4_config: unconfig |
| 479 | @./mkconfig $(@:_config=) ppc ppc4xx cpciiser4 esd |
| 480 | |
| 481 | CRAYL1_config:unconfig |
| 482 | @./mkconfig $(@:_config=) ppc ppc4xx L1 cray |
| 483 | |
| 484 | DASA_SIM_config: unconfig |
| 485 | @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd |
| 486 | |
| 487 | DU405_config: unconfig |
| 488 | @./mkconfig $(@:_config=) ppc ppc4xx du405 esd |
| 489 | |
| 490 | EBONY_config:unconfig |
| 491 | @./mkconfig $(@:_config=) ppc ppc4xx ebony |
| 492 | |
| 493 | ERIC_config:unconfig |
| 494 | @./mkconfig $(@:_config=) ppc ppc4xx eric |
| 495 | |
wdenk | d9fce81 | 2003-06-28 17:24:46 +0000 | [diff] [blame] | 496 | EXBITGEN_config:unconfig |
| 497 | @./mkconfig $(@:_config=) ppc ppc4xx exbitgen |
| 498 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 499 | MIP405_config:unconfig |
| 500 | @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl |
| 501 | |
wdenk | e39c284 | 2003-06-04 15:05:30 +0000 | [diff] [blame] | 502 | MIP405T_config:unconfig |
| 503 | @echo "#define CONFIG_MIP405T" >include/config.h |
| 504 | @echo "Enable subset config for MIP405T" |
| 505 | @./mkconfig -a MIP405 ppc ppc4xx mip405 mpl |
| 506 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 507 | ML2_config:unconfig |
| 508 | @./mkconfig $(@:_config=) ppc ppc4xx ml2 |
| 509 | |
| 510 | OCRTC_config \ |
| 511 | ORSG_config: unconfig |
| 512 | @./mkconfig $(@:_config=) ppc ppc4xx ocrtc esd |
| 513 | |
| 514 | PCI405_config: unconfig |
| 515 | @./mkconfig $(@:_config=) ppc ppc4xx pci405 esd |
| 516 | |
| 517 | PIP405_config:unconfig |
| 518 | @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl |
| 519 | |
stroese | bfcc82b | 2003-05-23 11:41:44 +0000 | [diff] [blame] | 520 | PMC405_config: unconfig |
| 521 | @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd |
| 522 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 523 | W7OLMC_config \ |
| 524 | W7OLMG_config: unconfig |
| 525 | @./mkconfig $(@:_config=) ppc ppc4xx w7o |
| 526 | |
| 527 | WALNUT405_config:unconfig |
| 528 | @./mkconfig $(@:_config=) ppc ppc4xx walnut405 |
| 529 | |
| 530 | ######################################################################### |
| 531 | ## MPC824x Systems |
| 532 | ######################################################################### |
wdenk | ef5fe75 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 533 | xtract_82xx = $(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))) |
| 534 | |
wdenk | 8aeb24e | 2003-06-20 22:36:30 +0000 | [diff] [blame] | 535 | A3000_config: unconfig |
| 536 | @./mkconfig $(@:_config=) ppc mpc824x a3000 |
| 537 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 538 | BMW_config: unconfig |
| 539 | @./mkconfig $(@:_config=) ppc mpc824x bmw |
| 540 | |
wdenk | ef5fe75 | 2003-03-12 10:41:04 +0000 | [diff] [blame] | 541 | CPC45_config \ |
| 542 | CPC45_ROMBOOT_config: unconfig |
| 543 | @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45 |
| 544 | @cd ./include ; \ |
| 545 | if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ |
| 546 | echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ |
| 547 | echo "... booting from 8-bit flash" ; \ |
| 548 | else \ |
| 549 | echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ |
| 550 | echo "... booting from 64-bit flash" ; \ |
| 551 | fi; \ |
| 552 | echo "export CONFIG_BOOT_ROM" >> config.mk; |
| 553 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 554 | CU824_config: unconfig |
| 555 | @./mkconfig $(@:_config=) ppc mpc824x cu824 |
| 556 | |
| 557 | MOUSSE_config: unconfig |
| 558 | @./mkconfig $(@:_config=) ppc mpc824x mousse |
| 559 | |
| 560 | MUSENKI_config: unconfig |
| 561 | @./mkconfig $(@:_config=) ppc mpc824x musenki |
| 562 | |
| 563 | OXC_config: unconfig |
| 564 | @./mkconfig $(@:_config=) ppc mpc824x oxc |
| 565 | |
| 566 | PN62_config: unconfig |
| 567 | @./mkconfig $(@:_config=) ppc mpc824x pn62 |
| 568 | |
| 569 | Sandpoint8240_config: unconfig |
| 570 | @./mkconfig $(@:_config=) ppc mpc824x sandpoint |
| 571 | |
| 572 | Sandpoint8245_config: unconfig |
| 573 | @./mkconfig $(@:_config=) ppc mpc824x sandpoint |
| 574 | |
wdenk | d9fce81 | 2003-06-28 17:24:46 +0000 | [diff] [blame] | 575 | SL8245_config: unconfig |
| 576 | @./mkconfig $(@:_config=) ppc mpc824x sl8245 |
| 577 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 578 | utx8245_config: unconfig |
| 579 | @./mkconfig $(@:_config=) ppc mpc824x utx8245 |
| 580 | |
| 581 | ######################################################################### |
| 582 | ## MPC8260 Systems |
| 583 | ######################################################################### |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 584 | |
| 585 | cogent_mpc8260_config: unconfig |
| 586 | @./mkconfig $(@:_config=) ppc mpc8260 cogent |
| 587 | |
| 588 | CPU86_config \ |
| 589 | CPU86_ROMBOOT_config: unconfig |
| 590 | @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu86 |
| 591 | @cd ./include ; \ |
| 592 | if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ |
| 593 | echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ |
| 594 | echo "... booting from 8-bit flash" ; \ |
| 595 | else \ |
| 596 | echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ |
| 597 | echo "... booting from 64-bit flash" ; \ |
| 598 | fi; \ |
| 599 | echo "export CONFIG_BOOT_ROM" >> config.mk; |
| 600 | |
| 601 | ep8260_config: unconfig |
| 602 | @./mkconfig $(@:_config=) ppc mpc8260 ep8260 |
| 603 | |
| 604 | gw8260_config: unconfig |
| 605 | @./mkconfig $(@:_config=) ppc mpc8260 gw8260 |
| 606 | |
| 607 | hymod_config: unconfig |
| 608 | @./mkconfig $(@:_config=) ppc mpc8260 hymod |
| 609 | |
| 610 | IPHASE4539_config: unconfig |
| 611 | @./mkconfig $(@:_config=) ppc mpc8260 iphase4539 |
| 612 | |
| 613 | MPC8260ADS_config: unconfig |
| 614 | @./mkconfig $(@:_config=) ppc mpc8260 mpc8260ads |
| 615 | |
wdenk | b666c8f | 2003-03-06 00:58:30 +0000 | [diff] [blame] | 616 | MPC8266ADS_config: unconfig |
| 617 | @./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads |
| 618 | |
wdenk | 4b57dcc | 2003-03-25 18:06:06 +0000 | [diff] [blame] | 619 | PM825_config \ |
| 620 | PM825_ROMBOOT_config: unconfig |
| 621 | @echo "#define CONFIG_PCI" >include/config.h |
| 622 | @./mkconfig -a PM826 ppc mpc8260 pm826 |
| 623 | @cd ./include ; \ |
| 624 | if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ |
| 625 | echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ |
| 626 | echo "... booting from 8-bit flash" ; \ |
| 627 | else \ |
| 628 | echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ |
| 629 | echo "... booting from 64-bit flash" ; \ |
| 630 | fi; \ |
| 631 | echo "export CONFIG_BOOT_ROM" >> config.mk; \ |
| 632 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 633 | PM826_config \ |
| 634 | PM826_ROMBOOT_config: unconfig |
| 635 | @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 pm826 |
| 636 | @cd ./include ; \ |
| 637 | if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ |
| 638 | echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ |
| 639 | echo "... booting from 8-bit flash" ; \ |
| 640 | else \ |
| 641 | echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ |
| 642 | echo "... booting from 64-bit flash" ; \ |
| 643 | fi; \ |
| 644 | echo "export CONFIG_BOOT_ROM" >> config.mk; \ |
| 645 | |
| 646 | ppmc8260_config: unconfig |
| 647 | @./mkconfig $(@:_config=) ppc mpc8260 ppmc8260 |
| 648 | |
| 649 | RPXsuper_config: unconfig |
| 650 | @./mkconfig $(@:_config=) ppc mpc8260 rpxsuper |
| 651 | |
| 652 | rsdproto_config: unconfig |
| 653 | @./mkconfig $(@:_config=) ppc mpc8260 rsdproto |
| 654 | |
| 655 | sacsng_config: unconfig |
| 656 | @./mkconfig $(@:_config=) ppc mpc8260 sacsng |
| 657 | |
| 658 | sbc8260_config: unconfig |
| 659 | @./mkconfig $(@:_config=) ppc mpc8260 sbc8260 |
| 660 | |
| 661 | SCM_config: unconfig |
| 662 | @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens |
| 663 | |
wdenk | 541a76d | 2003-05-03 15:50:43 +0000 | [diff] [blame] | 664 | TQM8255_config \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 665 | TQM8260_config \ |
| 666 | TQM8260_L2_config \ |
wdenk | c08f158 | 2003-04-27 22:52:51 +0000 | [diff] [blame] | 667 | TQM8255_266MHz_config \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 668 | TQM8260_266MHz_config \ |
| 669 | TQM8260_L2_266MHz_config \ |
wdenk | 541a76d | 2003-05-03 15:50:43 +0000 | [diff] [blame] | 670 | TQM8255_300MHz_config \ |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 671 | TQM8260_300MHz_config: unconfig |
| 672 | @ >include/config.h |
| 673 | @if [ "$(findstring _L2_,$@)" ] ; then \ |
| 674 | echo "#define CONFIG_L2_CACHE" >>include/config.h ; \ |
| 675 | echo "... with L2 Cache support (60x Bus Mode)" ; \ |
| 676 | else \ |
| 677 | echo "#undef CONFIG_L2_CACHE" >>include/config.h ; \ |
| 678 | echo "... without L2 Cache support" ; \ |
| 679 | fi |
| 680 | @[ -z "$(findstring _266MHz,$@)" ] || \ |
| 681 | { echo "#define CONFIG_266MHz" >>include/config.h ; \ |
| 682 | echo "... with 266MHz system clock" ; \ |
| 683 | } |
| 684 | @[ -z "$(findstring _300MHz,$@)" ] || \ |
| 685 | { echo "#define CONFIG_300MHz" >>include/config.h ; \ |
| 686 | echo "... with 300MHz system clock" ; \ |
| 687 | } |
wdenk | c08f158 | 2003-04-27 22:52:51 +0000 | [diff] [blame] | 688 | @[ -z "$(findstring TQM8255_,$@)" ] || \ |
| 689 | { echo "#define CONFIG_MPC8255" >>include/config.h ; } |
| 690 | @./mkconfig -a TQM8260 ppc mpc8260 tqm8260 |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 691 | |
wdenk | 541a76d | 2003-05-03 15:50:43 +0000 | [diff] [blame] | 692 | atc_config: unconfig |
| 693 | @./mkconfig $(@:_config=) ppc mpc8260 atc |
| 694 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 695 | ######################################################################### |
| 696 | ## 74xx/7xx Systems |
| 697 | ######################################################################### |
| 698 | |
wdenk | 452cfd6 | 2002-11-19 11:04:11 +0000 | [diff] [blame] | 699 | AmigaOneG3SE_config: unconfig |
| 700 | @./mkconfig $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI |
| 701 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 702 | EVB64260_config \ |
| 703 | EVB64260_750CX_config: unconfig |
| 704 | @./mkconfig EVB64260 ppc 74xx_7xx evb64260 |
| 705 | |
| 706 | ZUMA_config: unconfig |
| 707 | @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 |
| 708 | |
| 709 | PCIPPC2_config \ |
| 710 | PCIPPC6_config: unconfig |
| 711 | @./mkconfig $(@:_config=) ppc 74xx_7xx pcippc2 |
| 712 | |
| 713 | BAB7xx_config: unconfig |
| 714 | @./mkconfig $(@:_config=) ppc 74xx_7xx bab7xx eltec |
| 715 | |
| 716 | ELPPC_config: unconfig |
| 717 | @./mkconfig $(@:_config=) ppc 74xx_7xx elppc eltec |
| 718 | |
| 719 | #======================================================================== |
| 720 | # ARM |
| 721 | #======================================================================== |
| 722 | ######################################################################### |
| 723 | ## StrongARM Systems |
| 724 | ######################################################################### |
| 725 | |
wdenk | c8434db | 2003-03-26 06:55:25 +0000 | [diff] [blame] | 726 | at91rm9200dk_config : unconfig |
| 727 | @./mkconfig $(@:_config=) arm at91rm9200 at91rm9200dk |
| 728 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 729 | lart_config : unconfig |
| 730 | @./mkconfig $(@:_config=) arm sa1100 lart |
| 731 | |
| 732 | dnp1110_config : unconfig |
| 733 | @./mkconfig $(@:_config=) arm sa1100 dnp1110 |
| 734 | |
| 735 | shannon_config : unconfig |
| 736 | @./mkconfig $(@:_config=) arm sa1100 shannon |
| 737 | |
| 738 | ######################################################################### |
wdenk | f6f96f7 | 2003-07-15 20:04:06 +0000 | [diff] [blame] | 739 | ## ARM92xT Systems |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 740 | ######################################################################### |
| 741 | |
wdenk | 4a5c8a7 | 2003-03-06 00:02:04 +0000 | [diff] [blame] | 742 | xtract_trab = $(subst _big_flash,,$(subst _config,,$1)) |
| 743 | |
wdenk | f6f96f7 | 2003-07-15 20:04:06 +0000 | [diff] [blame] | 744 | omap1510inn_config : unconfig |
| 745 | @./mkconfig $(@:_config=) arm arm925t omap1510inn |
| 746 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 747 | smdk2400_config : unconfig |
| 748 | @./mkconfig $(@:_config=) arm arm920t smdk2400 |
| 749 | |
| 750 | smdk2410_config : unconfig |
| 751 | @./mkconfig $(@:_config=) arm arm920t smdk2410 |
| 752 | |
wdenk | 4a5c8a7 | 2003-03-06 00:02:04 +0000 | [diff] [blame] | 753 | trab_config \ |
| 754 | trab_big_flash_config: unconfig |
| 755 | @ >include/config.h |
| 756 | @[ -z "$(findstring _big_flash,$@)" ] || \ |
| 757 | { echo "#define CONFIG_BIG_FLASH" >>include/config.h ; \ |
| 758 | echo "... with big flash support" ; \ |
| 759 | } |
| 760 | @./mkconfig -a $(call xtract_trab,$@) arm arm920t trab |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 761 | |
wdenk | 1fe2c70 | 2003-03-06 21:55:29 +0000 | [diff] [blame] | 762 | VCMA9_config : unconfig |
| 763 | @./mkconfig $(@:_config=) arm arm920t vcma9 mpl |
| 764 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 765 | ######################################################################### |
| 766 | ## ARM720T Systems |
| 767 | ######################################################################### |
| 768 | |
| 769 | impa7_config : unconfig |
| 770 | @./mkconfig $(@:_config=) arm arm720t impa7 |
| 771 | |
| 772 | ep7312_config : unconfig |
| 773 | @./mkconfig $(@:_config=) arm arm720t ep7312 |
| 774 | |
| 775 | ######################################################################### |
wdenk | 4a5c8a7 | 2003-03-06 00:02:04 +0000 | [diff] [blame] | 776 | ## XScale Systems |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 777 | ######################################################################### |
| 778 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 779 | cradle_config : unconfig |
wdenk | 57b2d80 | 2003-06-27 21:31:46 +0000 | [diff] [blame] | 780 | @./mkconfig $(@:_config=) arm pxa cradle |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 781 | |
| 782 | csb226_config : unconfig |
wdenk | 0463e04 | 2003-05-23 12:36:20 +0000 | [diff] [blame] | 783 | @./mkconfig $(@:_config=) arm pxa csb226 |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 784 | |
wdenk | 4a5c8a7 | 2003-03-06 00:02:04 +0000 | [diff] [blame] | 785 | innokom_config : unconfig |
wdenk | 0463e04 | 2003-05-23 12:36:20 +0000 | [diff] [blame] | 786 | @./mkconfig $(@:_config=) arm pxa innokom |
wdenk | 4a5c8a7 | 2003-03-06 00:02:04 +0000 | [diff] [blame] | 787 | |
| 788 | lubbock_config : unconfig |
wdenk | 0463e04 | 2003-05-23 12:36:20 +0000 | [diff] [blame] | 789 | @./mkconfig $(@:_config=) arm pxa lubbock |
wdenk | 4a5c8a7 | 2003-03-06 00:02:04 +0000 | [diff] [blame] | 790 | |
wdenk | 88e72a3 | 2003-06-19 23:04:19 +0000 | [diff] [blame] | 791 | logodl_config : unconfig |
| 792 | @./mkconfig $(@:_config=) arm pxa logodl |
| 793 | |
wdenk | b02744a | 2003-04-05 00:53:31 +0000 | [diff] [blame] | 794 | wepep250_config : unconfig |
wdenk | 0463e04 | 2003-05-23 12:36:20 +0000 | [diff] [blame] | 795 | @./mkconfig $(@:_config=) arm pxa wepep250 |
wdenk | b02744a | 2003-04-05 00:53:31 +0000 | [diff] [blame] | 796 | |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 797 | #======================================================================== |
| 798 | # i386 |
| 799 | #======================================================================== |
| 800 | ######################################################################### |
wdenk | 1fe2c70 | 2003-03-06 21:55:29 +0000 | [diff] [blame] | 801 | ## AMD SC520 CDP |
wdenk | 591dda5 | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 802 | ######################################################################### |
| 803 | sc520_cdp_config : unconfig |
| 804 | @./mkconfig $(@:_config=) i386 i386 sc520_cdp |
| 805 | |
wdenk | abda5ca | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 806 | sc520_spunk_config : unconfig |
| 807 | @./mkconfig $(@:_config=) i386 i386 sc520_spunk |
| 808 | |
| 809 | sc520_spunk_rel_config : unconfig |
| 810 | @./mkconfig $(@:_config=) i386 i386 sc520_spunk |
| 811 | |
wdenk | 4a5c8a7 | 2003-03-06 00:02:04 +0000 | [diff] [blame] | 812 | #======================================================================== |
| 813 | # MIPS |
| 814 | #======================================================================== |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 815 | ######################################################################### |
wdenk | 4a5c8a7 | 2003-03-06 00:02:04 +0000 | [diff] [blame] | 816 | ## MIPS32 4Kc |
| 817 | ######################################################################### |
| 818 | |
| 819 | incaip_config : unconfig |
| 820 | @./mkconfig $(@:_config=) mips mips incaip |
| 821 | |
wdenk | b02744a | 2003-04-05 00:53:31 +0000 | [diff] [blame] | 822 | purple_config : unconfig |
| 823 | @./mkconfig $(@:_config=) mips mips purple |
wdenk | 4a5c8a7 | 2003-03-06 00:02:04 +0000 | [diff] [blame] | 824 | |
wdenk | b02744a | 2003-04-05 00:53:31 +0000 | [diff] [blame] | 825 | ######################################################################### |
| 826 | ######################################################################### |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 827 | |
| 828 | clean: |
| 829 | find . -type f \ |
| 830 | \( -name 'core' -o -name '*.bak' -o -name '*~' \ |
| 831 | -o -name '*.o' -o -name '*.a' \) -print \ |
| 832 | | xargs rm -f |
wdenk | 8dba050 | 2003-03-31 16:34:49 +0000 | [diff] [blame] | 833 | rm -f examples/hello_world examples/timer \ |
wdenk | b02744a | 2003-04-05 00:53:31 +0000 | [diff] [blame] | 834 | examples/eepro100_eeprom examples/sched \ |
wdenk | abda5ca | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 835 | examples/mem_to_mem_idma2intr examples/82559_eeprom |
| 836 | |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 837 | rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr |
| 838 | rm -f tools/easylogo/easylogo tools/bmp_logo |
| 839 | rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend |
wdenk | 9dfa8d1 | 2002-12-08 09:53:23 +0000 | [diff] [blame] | 840 | rm -f tools/env/fw_printenv tools/env/fw_setenv |
wdenk | 0893c47 | 2003-05-20 14:25:27 +0000 | [diff] [blame] | 841 | rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 842 | |
| 843 | clobber: clean |
| 844 | find . -type f \ |
| 845 | \( -name .depend -o -name '*.srec' -o -name '*.bin' \) \ |
| 846 | -print \ |
| 847 | | xargs rm -f |
| 848 | rm -f $(OBJS) *.bak tags TAGS |
| 849 | rm -fr *.*~ |
wdenk | 6bd1489 | 2003-04-10 11:18:18 +0000 | [diff] [blame] | 850 | rm -f u-boot u-boot.bin u-boot.srec u-boot.map System.map |
wdenk | 9dfa8d1 | 2002-12-08 09:53:23 +0000 | [diff] [blame] | 851 | rm -f tools/crc32.c tools/environment.c tools/env/crc32.c |
wdenk | b02744a | 2003-04-05 00:53:31 +0000 | [diff] [blame] | 852 | rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c |
wdenk | bb2d927 | 2003-06-25 22:26:29 +0000 | [diff] [blame] | 853 | rm -f include/asm/proc include/asm/arch include/asm |
wdenk | 7ebf744 | 2002-11-02 23:17:16 +0000 | [diff] [blame] | 854 | |
| 855 | mrproper \ |
| 856 | distclean: clobber unconfig |
| 857 | |
| 858 | backup: |
| 859 | F=`basename $(TOPDIR)` ; cd .. ; \ |
| 860 | gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F |
| 861 | |
| 862 | ######################################################################### |