blob: e1f262baae606b4b9dc2f8997bd0299e7f04855d [file] [log] [blame]
wdenkefee1702002-07-20 20:14:13 +00001#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002# (C) Copyright 2000-2006
wdenkefee1702002-07-20 20:14:13 +00003# 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
wdenkefee1702002-07-20 20:14:13 +000024TOOLSUBDIRS =
25
26#
27# Mac OS X / Darwin's C preprocessor is Apple specific. It
28# generates numerous errors and warnings. We want to bypass it
29# and use GNU C's cpp. To do this we pass the -traditional-cpp
30# option to the compiler. Note that the -traditional-cpp flag
31# DOES NOT have the same semantics as GNU C's flag, all it does
32# is invoke the GNU preprocessor in stock ANSI/ISO C fashion.
33#
34# Apple's linker is similar, thanks to the new 2 stage linking
35# multiple symbol definitions are treated as errors, hence the
36# -multiply_defined suppress option to turn off this error.
37#
38ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc)
wdenkefee1702002-07-20 20:14:13 +000039HOST_CFLAGS = -traditional-cpp -Wall
40HOST_LDFLAGS =-multiply_defined suppress
Aubrey.Lifecb2a02007-05-14 11:47:35 +080041HOST_ENVIRO_CFLAGS =
wdenkefee1702002-07-20 20:14:13 +000042
43else
wdenkefee1702002-07-20 20:14:13 +000044ifeq ($(HOSTOS)-$(HOSTARCH),netbsd-ppc)
45HOST_CFLAGS = -Wall -pedantic
46HOST_LDFLAGS =
47HOST_ENVIRO_CFLAGS =
48
49#
50# Everyone else
51#
52else
wdenkefee1702002-07-20 20:14:13 +000053HOST_CFLAGS = -Wall -pedantic
54HOST_LDFLAGS =
55HOST_ENVIRO_CFLAGS =
56endif
57endif
58
59#
60# Cygwin needs .exe files :-(
61#
62ifeq ($(HOSTOS),cygwin)
63SFX = .exe
raptorbrino@aim.com59f12752007-12-13 21:23:28 -050064HOST_CFLAGS += -ansi
wdenkefee1702002-07-20 20:14:13 +000065else
66SFX =
67endif
68
wdenkefee1702002-07-20 20:14:13 +000069#
70# Include this after HOSTOS HOSTARCH check
71# so that we can act intelligently.
72#
73include $(TOPDIR)/config.mk
74
Peter Tyser5b3c54d2009-03-13 18:54:34 -050075# Generated executable files
Peter Tyserf3494492009-03-13 18:54:36 -050076BIN_FILES-$(CONFIG_CMD_LOADS) += img2srec$(SFX)
Peter Tyser5b3c54d2009-03-13 18:54:34 -050077BIN_FILES-y += mkimage$(SFX)
Peter Tyser82b88f82009-03-13 18:54:39 -050078BIN_FILES-$(CONFIG_ENV_IS_EMBEDDED) += envcrc$(SFX)
Peter Tyser77b45b82009-03-13 18:54:37 -050079BIN_FILES-$(CONFIG_SHA1_CHECK_UB_IMG) += ubsha1$(SFX)
Peter Tyser39168772009-03-13 18:54:40 -050080BIN_FILES-$(CONFIG_CMD_NET) += gen_eth_addr$(SFX)
Peter Tyserce7626d2009-03-13 18:54:35 -050081BIN_FILES-$(CONFIG_LCD_LOGO) += bmp_logo$(SFX)
82BIN_FILES-$(CONFIG_VIDEO_LOGO) += bmp_logo$(SFX)
Peter Tyser7e897672009-03-13 18:54:38 -050083BIN_FILES-$(CONFIG_INCA_IP) += inca-swap-bytes$(SFX)
Peter Tyser0fa9ce32009-03-13 18:54:41 -050084BIN_FILES-$(CONFIG_NETCONSOLE) += ncb$(SFX)
Peter Tyser5b3c54d2009-03-13 18:54:34 -050085
86# Source files which are symlinked from elsewhere in U-Boot
87OBJ_LINKS-y += env_embedded.o
88OBJ_LINKS-y += crc32.o md5.o
89OBJ_LINKS-y += sha1.o
90OBJ_LINKS-y += image.o
91
92# Source files located in the tools directory
Peter Tyserf3494492009-03-13 18:54:36 -050093OBJ_FILES-$(CONFIG_CMD_LOADS) += img2srec.o
Peter Tyser5b3c54d2009-03-13 18:54:34 -050094OBJ_FILES-y += mkimage.o
Peter Tyser82b88f82009-03-13 18:54:39 -050095OBJ_FILES-$(CONFIG_ENV_IS_EMBEDDED) += envcrc.o
Peter Tyser77b45b82009-03-13 18:54:37 -050096OBJ_FILES-$(CONFIG_SHA1_CHECK_UB_IMG) += ubsha1.o
Peter Tyser39168772009-03-13 18:54:40 -050097OBJ_FILES-$(CONFIG_CMD_NET) += gen_eth_addr.o
Peter Tyserce7626d2009-03-13 18:54:35 -050098OBJ_FILES-$(CONFIG_LCD_LOGO) += bmp_logo.o
99OBJ_FILES-$(CONFIG_VIDEO_LOGO) += bmp_logo.o
Peter Tyser7e897672009-03-13 18:54:38 -0500100OBJ_FILES-$(CONFIG_INCA_IP) += inca-swap-bytes.o
Peter Tyser0fa9ce32009-03-13 18:54:41 -0500101OBJ_FILES-$(CONFIG_NETCONSOLE) += ncb.o
Peter Tyser5b3c54d2009-03-13 18:54:34 -0500102
103# Don't build by default
104#ifeq ($(ARCH),ppc)
105#BIN_FILES-y += mpc86x_clk$(SFX)
106#OBJ_FILES-y += mpc86x_clk.o
107#endif
108
109# Flattened device tree objects
110LIBFDT_OBJ_FILES-y += fdt.o
111LIBFDT_OBJ_FILES-y += fdt_ro.o
112LIBFDT_OBJ_FILES-y += fdt_rw.o
113LIBFDT_OBJ_FILES-y += fdt_strerror.o
114LIBFDT_OBJ_FILES-y += fdt_wip.o
115
Peter Tyserce7626d2009-03-13 18:54:35 -0500116# Generated LCD/video logo
Peter Tyser5b3c54d2009-03-13 18:54:34 -0500117LOGO_H = $(OBJTREE)/include/bmp_logo.h
Peter Tyserce7626d2009-03-13 18:54:35 -0500118LOGO-$(CONFIG_LCD_LOGO) += $(LOGO_H)
119LOGO-$(CONFIG_VIDEO_LOGO) += $(LOGO_H)
Peter Tyser5b3c54d2009-03-13 18:54:34 -0500120
121ifeq ($(LOGO_BMP),)
122LOGO_BMP= logos/denx.bmp
123endif
124ifeq ($(VENDOR),atmel)
125LOGO_BMP= logos/atmel.bmp
126endif
127
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200128# now $(obj) is defined
Peter Tyser5b3c54d2009-03-13 18:54:34 -0500129SRCS := $(addprefix $(obj),$(OBJ_LINKS-y:.o=.c)) $(OBJ_FILES-y:.o=.c)
130BINS := $(addprefix $(obj),$(BIN_FILES-y))
131LIBFDT_OBJS := $(addprefix $(obj),$(LIBFDT_OBJ_FILES-y))
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200132
wdenkefee1702002-07-20 20:14:13 +0000133#
134# Use native tools and options
135#
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200136CPPFLAGS = -idirafter $(SRCTREE)/include \
137 -idirafter $(OBJTREE)/include2 \
138 -idirafter $(OBJTREE)/include \
Peter Tyserd4de1b22009-03-13 18:54:42 -0500139 -I $(SRCTREE)/tools \
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200140 -DTEXT_BASE=$(TEXT_BASE) -DUSE_HOSTCC
wdenkefee1702002-07-20 20:14:13 +0000141CFLAGS = $(HOST_CFLAGS) $(CPPFLAGS) -O
Bartlomiej Sieka61250862008-02-29 16:00:24 +0100142
143# No -pedantic switch to avoid libfdt compilation warnings
144FIT_CFLAGS = -Wall $(CPPFLAGS) -O
145
wdenkefee1702002-07-20 20:14:13 +0000146AFLAGS = -D__ASSEMBLY__ $(CPPFLAGS)
147CC = $(HOSTCC)
148STRIP = $(HOSTSTRIP)
149MAKEDEPEND = makedepend
150
Peter Tyserce7626d2009-03-13 18:54:35 -0500151all: $(obj).depend $(BINS) $(LOGO-y) subdirs
wdenkefee1702002-07-20 20:14:13 +0000152
Jean-Christophe PLAGNIOL-VILLARD4436c1e2008-09-10 22:48:01 +0200153$(obj)envcrc$(SFX): $(obj)envcrc.o $(obj)crc32.o $(obj)env_embedded.o $(obj)sha1.o
Peter Tyser2f84bc12009-03-13 18:54:33 -0500154 $(CC) $(CFLAGS) -o $@ $^
wdenkefee1702002-07-20 20:14:13 +0000155
Heiko Schocher633e03a2007-06-22 19:11:54 +0200156$(obj)ubsha1$(SFX): $(obj)ubsha1.o $(obj)sha1.o
Peter Tyser2f84bc12009-03-13 18:54:33 -0500157 $(CC) $(CFLAGS) -o $@ $^
Heiko Schocher633e03a2007-06-22 19:11:54 +0200158
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200159$(obj)img2srec$(SFX): $(obj)img2srec.o
Peter Tyser2f84bc12009-03-13 18:54:33 -0500160 $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
161 $(STRIP) $@
wdenkefee1702002-07-20 20:14:13 +0000162
Peter Tyser2f84bc12009-03-13 18:54:33 -0500163$(obj)mkimage$(SFX): $(obj)mkimage.o $(obj)crc32.o $(obj)image.o $(obj)md5.o \
Peter Tyser5b3c54d2009-03-13 18:54:34 -0500164 $(obj)sha1.o $(LIBFDT_OBJS)
Peter Tyser2f84bc12009-03-13 18:54:33 -0500165 $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
166 $(STRIP) $@
wdenkefee1702002-07-20 20:14:13 +0000167
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200168$(obj)ncb$(SFX): $(obj)ncb.o
Peter Tyser2f84bc12009-03-13 18:54:33 -0500169 $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
170 $(STRIP) $@
wdenka0ebde52004-09-08 22:03:11 +0000171
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200172$(obj)gen_eth_addr$(SFX): $(obj)gen_eth_addr.o
Peter Tyser2f84bc12009-03-13 18:54:33 -0500173 $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
174 $(STRIP) $@
wdenkefee1702002-07-20 20:14:13 +0000175
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200176$(obj)bmp_logo$(SFX): $(obj)bmp_logo.o
Peter Tyser2f84bc12009-03-13 18:54:33 -0500177 $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
178 $(STRIP) $@
wdenkefee1702002-07-20 20:14:13 +0000179
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200180$(obj)inca-swap-bytes$(SFX): $(obj)inca-swap-bytes.o
Peter Tyser2f84bc12009-03-13 18:54:33 -0500181 $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
182 $(STRIP) $@
wdenkb02744a2003-04-05 00:53:31 +0000183
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200184$(obj)mpc86x_clk$(SFX): $(obj)mpc86x_clk.o
Peter Tyser2f84bc12009-03-13 18:54:33 -0500185 $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
186 $(STRIP) $@
wdenk1ee550e2003-10-08 22:14:02 +0000187
Harald Welte5708dbf2008-07-09 22:30:30 +0800188$(obj)bin2header$(SFX): $(obj)bin2header.o
Peter Tyser2f84bc12009-03-13 18:54:33 -0500189 $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
190 $(STRIP) $@
Harald Welte5708dbf2008-07-09 22:30:30 +0800191
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200192$(obj)envcrc.o: $(src)envcrc.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500193 $(CC) -g $(CFLAGS) -c -o $@ $<
wdenkefee1702002-07-20 20:14:13 +0000194
Heiko Schocher633e03a2007-06-22 19:11:54 +0200195$(obj)ubsha1.o: $(src)ubsha1.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500196 $(CC) -g $(CFLAGS) -c -o $@ $<
Heiko Schocher633e03a2007-06-22 19:11:54 +0200197
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200198$(obj)crc32.o: $(obj)crc32.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500199 $(CC) -g $(CFLAGS) -c -o $@ $<
wdenkefee1702002-07-20 20:14:13 +0000200
Bartlomiej Sieka2e6f2852008-03-14 16:22:34 +0100201$(obj)md5.o: $(obj)md5.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500202 $(CC) -g $(CFLAGS) -c -o $@ $<
Bartlomiej Sieka2e6f2852008-03-14 16:22:34 +0100203
Heiko Schocher633e03a2007-06-22 19:11:54 +0200204$(obj)sha1.o: $(obj)sha1.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500205 $(CC) -g $(CFLAGS) -c -o $@ $<
Heiko Schocher633e03a2007-06-22 19:11:54 +0200206
Marian Balakowicz41d71ed2008-01-08 18:14:09 +0100207$(obj)image.o: $(obj)image.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500208 $(CC) -g $(FIT_CFLAGS) -c -o $@ $<
Marian Balakowicz41d71ed2008-01-08 18:14:09 +0100209
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200210$(obj)mkimage.o: $(src)mkimage.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500211 $(CC) -g $(FIT_CFLAGS) -c -o $@ $<
wdenkefee1702002-07-20 20:14:13 +0000212
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200213$(obj)ncb.o: $(src)ncb.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500214 $(CC) -g $(CFLAGS) -c -o $@ $<
wdenka0ebde52004-09-08 22:03:11 +0000215
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200216$(obj)gen_eth_addr.o: $(src)gen_eth_addr.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500217 $(CC) -g $(CFLAGS) -c -o $@ $<
wdenkefee1702002-07-20 20:14:13 +0000218
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200219$(obj)inca-swap-bytes.o: $(src)inca-swap-bytes.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500220 $(CC) -g $(CFLAGS) -c -o $@ $<
wdenkb02744a2003-04-05 00:53:31 +0000221
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200222$(obj)mpc86x_clk.o: $(src)mpc86x_clk.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500223 $(CC) -g $(CFLAGS) -c -o $@ $<
wdenk1ee550e2003-10-08 22:14:02 +0000224
Bartlomiej Sieka61250862008-02-29 16:00:24 +0100225$(obj)fdt.o: $(obj)fdt.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500226 $(CC) -g $(FIT_CFLAGS) -c -o $@ $<
Bartlomiej Sieka61250862008-02-29 16:00:24 +0100227
228$(obj)fdt_ro.o: $(obj)fdt_ro.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500229 $(CC) -g $(FIT_CFLAGS) -c -o $@ $<
Bartlomiej Sieka61250862008-02-29 16:00:24 +0100230
231$(obj)fdt_rw.o: $(obj)fdt_rw.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500232 $(CC) -g $(FIT_CFLAGS) -c -o $@ $<
Bartlomiej Sieka61250862008-02-29 16:00:24 +0100233
234$(obj)fdt_strerror.o: $(obj)fdt_strerror.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500235 $(CC) -g $(FIT_CFLAGS) -c -o $@ $<
Bartlomiej Sieka61250862008-02-29 16:00:24 +0100236
237$(obj)fdt_wip.o: $(obj)fdt_wip.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500238 $(CC) -g $(FIT_CFLAGS) -c -o $@ $<
Bartlomiej Sieka61250862008-02-29 16:00:24 +0100239
wdenkefee1702002-07-20 20:14:13 +0000240subdirs:
wdenk5d841732003-08-17 18:55:18 +0000241ifeq ($(TOOLSUBDIRS),)
Peter Tyser2f84bc12009-03-13 18:54:33 -0500242 @:
wdenk5d841732003-08-17 18:55:18 +0000243else
Peter Tyser2f84bc12009-03-13 18:54:33 -0500244 @for dir in $(TOOLSUBDIRS) ; do \
245 $(MAKE) \
246 HOSTOS=$(HOSTOS) \
247 HOSTARCH=$(HOSTARCH) \
248 HOST_CFLAGS="$(HOST_CFLAGS)" \
249 HOST_LDFLAGS="$(HOST_LDFLAGS)" \
250 -C $$dir || exit 1 ; \
251 done
wdenk5d841732003-08-17 18:55:18 +0000252endif
253
Jean-Christophe PLAGNIOL-VILLARD4436c1e2008-09-10 22:48:01 +0200254$(obj)env_embedded.c:
Peter Tyser2f84bc12009-03-13 18:54:33 -0500255 @rm -f $(obj)env_embedded.c
256 ln -s $(src)../common/env_embedded.c $(obj)env_embedded.c
wdenkefee1702002-07-20 20:14:13 +0000257
Jean-Christophe PLAGNIOL-VILLARD4436c1e2008-09-10 22:48:01 +0200258$(obj)env_embedded.o: $(obj)env_embedded.c
Peter Tyser2f84bc12009-03-13 18:54:33 -0500259 $(CC) -g $(HOST_ENVIRO_CFLAGS) $(CPPFLAGS) -c -o $@ $<
wdenkefee1702002-07-20 20:14:13 +0000260
Mike Frysingera2c67e92008-03-31 11:02:01 -0400261$(obj)zlib.h:
Peter Tyser2f84bc12009-03-13 18:54:33 -0500262 @rm -f $@
263 ln -s $(src)../include/zlib.h $@
Mike Frysingera2c67e92008-03-31 11:02:01 -0400264
265$(obj)crc32.c: $(obj)zlib.h
Peter Tyser2f84bc12009-03-13 18:54:33 -0500266 @rm -f $(obj)crc32.c
267 ln -s $(src)../lib_generic/crc32.c $(obj)crc32.c
wdenkefee1702002-07-20 20:14:13 +0000268
Bartlomiej Sieka2e6f2852008-03-14 16:22:34 +0100269$(obj)md5.c:
Peter Tyser2f84bc12009-03-13 18:54:33 -0500270 @rm -f $(obj)md5.c
271 ln -s $(src)../lib_generic/md5.c $(obj)md5.c
Bartlomiej Sieka2e6f2852008-03-14 16:22:34 +0100272
Heiko Schocher633e03a2007-06-22 19:11:54 +0200273$(obj)sha1.c:
Peter Tyser2f84bc12009-03-13 18:54:33 -0500274 @rm -f $(obj)sha1.c
275 ln -s $(src)../lib_generic/sha1.c $(obj)sha1.c
Heiko Schocher633e03a2007-06-22 19:11:54 +0200276
Marian Balakowicz41d71ed2008-01-08 18:14:09 +0100277$(obj)image.c:
Peter Tyser2f84bc12009-03-13 18:54:33 -0500278 @rm -f $(obj)image.c
279 ln -s $(src)../common/image.c $(obj)image.c
Marian Balakowicz41d71ed2008-01-08 18:14:09 +0100280
Anatolij Gustschin72977922008-03-26 21:05:43 +0100281$(obj)fdt.c: $(obj)libfdt_internal.h
Peter Tyser2f84bc12009-03-13 18:54:33 -0500282 @rm -f $(obj)fdt.c
283 ln -s $(src)../libfdt/fdt.c $(obj)fdt.c
Bartlomiej Sieka61250862008-02-29 16:00:24 +0100284
Anatolij Gustschin72977922008-03-26 21:05:43 +0100285$(obj)fdt_ro.c: $(obj)libfdt_internal.h
Peter Tyser2f84bc12009-03-13 18:54:33 -0500286 @rm -f $(obj)fdt_ro.c
287 ln -s $(src)../libfdt/fdt_ro.c $(obj)fdt_ro.c
Bartlomiej Sieka61250862008-02-29 16:00:24 +0100288
Anatolij Gustschin72977922008-03-26 21:05:43 +0100289$(obj)fdt_rw.c: $(obj)libfdt_internal.h
Peter Tyser2f84bc12009-03-13 18:54:33 -0500290 @rm -f $(obj)fdt_rw.c
291 ln -s $(src)../libfdt/fdt_rw.c $(obj)fdt_rw.c
Bartlomiej Sieka61250862008-02-29 16:00:24 +0100292
Anatolij Gustschin72977922008-03-26 21:05:43 +0100293$(obj)fdt_strerror.c: $(obj)libfdt_internal.h
Peter Tyser2f84bc12009-03-13 18:54:33 -0500294 @rm -f $(obj)fdt_strerror.c
295 ln -s $(src)../libfdt/fdt_strerror.c $(obj)fdt_strerror.c
Bartlomiej Sieka61250862008-02-29 16:00:24 +0100296
Anatolij Gustschin72977922008-03-26 21:05:43 +0100297$(obj)fdt_wip.c: $(obj)libfdt_internal.h
Peter Tyser2f84bc12009-03-13 18:54:33 -0500298 @rm -f $(obj)fdt_wip.c
299 ln -s $(src)../libfdt/fdt_wip.c $(obj)fdt_wip.c
Bartlomiej Sieka61250862008-02-29 16:00:24 +0100300
301$(obj)libfdt_internal.h:
Peter Tyser2f84bc12009-03-13 18:54:33 -0500302 @rm -f $(obj)libfdt_internal.h
303 ln -s $(src)../libfdt/libfdt_internal.h $(obj)libfdt_internal.h
Bartlomiej Sieka61250862008-02-29 16:00:24 +0100304
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200305$(LOGO_H): $(obj)bmp_logo $(LOGO_BMP)
Peter Tyser2f84bc12009-03-13 18:54:33 -0500306 $(obj)./bmp_logo $(LOGO_BMP) >$@
wdenkefee1702002-07-20 20:14:13 +0000307
308#########################################################################
309
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200310# defines $(obj).depend target
311include $(SRCTREE)/rules.mk
wdenkefee1702002-07-20 20:14:13 +0000312
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200313sinclude $(obj).depend
wdenkefee1702002-07-20 20:14:13 +0000314
315#########################################################################