Makefile (e0ac62d798ce60ec5d43125d4786e58b0d881836) Makefile (ef1464cc01cf9dcab52396283bf597e609caa450)
1#
2# (C) Copyright 2000-2003
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

--- 16 unchanged lines hidden (view full) ---

25
26OBJS = environment.o img2srec.o mkimage.o crc32.o envcrc.o gen_eth_addr.o bmp_logo.o
27
28ifeq ($(ARCH),mips)
29BINS += inca-swap-bytes$(SFX)
30OBJS += inca-swap-bytes.o
31endif
32
1#
2# (C) Copyright 2000-2003
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

--- 16 unchanged lines hidden (view full) ---

25
26OBJS = environment.o img2srec.o mkimage.o crc32.o envcrc.o gen_eth_addr.o bmp_logo.o
27
28ifeq ($(ARCH),mips)
29BINS += inca-swap-bytes$(SFX)
30OBJS += inca-swap-bytes.o
31endif
32
33# Don't build by default
34#ifeq ($(ARCH),ppc)
35#BINS += mpc86x_clk$(SFX)
36#OBJS += mpc86x_clk.o
37#endif
38
33LOGO_H = $(TOPDIR)/include/bmp_logo.h
34
35ifeq ($(LOGO_BMP),)
36LOGO_BMP= logos/denx.bmp
37endif
38
39#-------------------------------------------------------------------------
40

--- 90 unchanged lines hidden (view full) ---

131bmp_logo$(SFX): bmp_logo.o
132 $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
133 $(STRIP) $@
134
135inca-swap-bytes$(SFX): inca-swap-bytes.o
136 $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
137 $(STRIP) $@
138
39LOGO_H = $(TOPDIR)/include/bmp_logo.h
40
41ifeq ($(LOGO_BMP),)
42LOGO_BMP= logos/denx.bmp
43endif
44
45#-------------------------------------------------------------------------
46

--- 90 unchanged lines hidden (view full) ---

137bmp_logo$(SFX): bmp_logo.o
138 $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
139 $(STRIP) $@
140
141inca-swap-bytes$(SFX): inca-swap-bytes.o
142 $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
143 $(STRIP) $@
144
145mpc86x_clk$(SFX): mpc86x_clk.o
146 $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
147 $(STRIP) $@
148
139envcrc.o: envcrc.c
140 $(CC) -g $(CFLAGS) -c $<
141
142crc32.o: crc32.c
143 $(CC) -g $(CFLAGS) -c $<
144
145mkimage.o: mkimage.c
146 $(CC) -g $(CFLAGS) -c $<
147
148gen_eth_addr.o: gen_eth_addr.c
149 $(CC) -g $(CFLAGS) -c $<
150
151inca-swap-bytes.o: inca-swap-bytes.c
152 $(CC) -g $(CFLAGS) -c $<
153
149envcrc.o: envcrc.c
150 $(CC) -g $(CFLAGS) -c $<
151
152crc32.o: crc32.c
153 $(CC) -g $(CFLAGS) -c $<
154
155mkimage.o: mkimage.c
156 $(CC) -g $(CFLAGS) -c $<
157
158gen_eth_addr.o: gen_eth_addr.c
159 $(CC) -g $(CFLAGS) -c $<
160
161inca-swap-bytes.o: inca-swap-bytes.c
162 $(CC) -g $(CFLAGS) -c $<
163
164mpc86x_clk.o: mpc86x_clk.c
165 $(CC) -g $(CFLAGS) -c $<
166
154subdirs:
155ifeq ($(TOOLSUBDIRS),)
156 @:
157else
158 @for dir in $(TOOLSUBDIRS) ; do \
159 $(MAKE) \
160 HOSTOS=$(HOSTOS) \
161 HOSTARCH=$(HOSTARCH) \

--- 26 unchanged lines hidden ---
167subdirs:
168ifeq ($(TOOLSUBDIRS),)
169 @:
170else
171 @for dir in $(TOOLSUBDIRS) ; do \
172 $(MAKE) \
173 HOSTOS=$(HOSTOS) \
174 HOSTARCH=$(HOSTARCH) \

--- 26 unchanged lines hidden ---