blob: 2b1deabca3e88702c43cfa07ad88a187ff012235 [file] [log] [blame]
Eric Andersen2d523c22004-10-09 01:06:03 +00001# Makefile for buildroot2
Eric Andersenffde94b2001-12-22 00:56:11 +00002#
Eric Andersen15b26ae2005-02-07 22:19:26 +00003# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
Eric Andersenffde94b2001-12-22 00:56:11 +00004#
Eric Andersen08782ae2002-04-26 11:45:55 +00005# This program is free software; you can redistribute it and/or modify
Eric Andersen2d523c22004-10-09 01:06:03 +00006# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2 of the License, or
8# (at your option) any later version.
Eric Andersenffde94b2001-12-22 00:56:11 +00009#
Eric Andersen2d523c22004-10-09 01:06:03 +000010# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
Eric Andersen08782ae2002-04-26 11:45:55 +000012# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Eric Andersen2d523c22004-10-09 01:06:03 +000013# General Public License for more details.
Eric Andersenffde94b2001-12-22 00:56:11 +000014#
Eric Andersen2d523c22004-10-09 01:06:03 +000015# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18#
Eric Andersenffde94b2001-12-22 00:56:11 +000019
Eric Andersen2d523c22004-10-09 01:06:03 +000020#--------------------------------------------------------------
21# Just run 'make menuconfig', configure stuff, then run 'make'.
22# You shouldn't need to mess with anything beyond this point...
23#--------------------------------------------------------------
24TOPDIR=./
25CONFIG_CONFIG_IN = Config.in
26CONFIG_DEFCONFIG = .defconfig
27CONFIG = package/config
28
29noconfig_targets := menuconfig config oldconfig randconfig \
"Steven J. Hill"0c1e7092006-06-22 02:24:08 +000030 defconfig allyesconfig allnoconfig release tags \
Bernhard Reutner-Fischere491fba2007-07-08 12:20:58 +000031 source-check help
Bernhard Reutner-Fischer9e250352006-12-02 19:01:10 +000032
33# $(shell find . -name *_defconfig |sed 's/.*\///')
Eric Andersen2d523c22004-10-09 01:06:03 +000034
35# Pull in the user's configuration file
36ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
37-include $(TOPDIR).config
38endif
39
Bernhard Reutner-Fischerafc61c62007-06-28 10:47:05 +000040# To put more focus on warnings, be less verbose as default
41# Use 'make V=1' to see the full commands
42ifdef V
43 ifeq ("$(origin V)", "command line")
44 KBUILD_VERBOSE = $(V)
45 endif
46endif
47ifndef KBUILD_VERBOSE
48 KBUILD_VERBOSE = 0
49endif
50
51ifeq ($(KBUILD_VERBOSE),1)
Ulf Samuelsson4df454e2007-07-06 12:19:35 +000052 quiet=
Bernhard Reutner-Fischerafc61c62007-06-28 10:47:05 +000053 Q =
54else
55 quiet=quiet_
56 Q = @
57endif
58
59CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
60 else if [ -x /bin/bash ]; then echo /bin/bash; \
61 else echo sh; fi ; fi)
62
63export CONFIG_SHELL quiet Q KBUILD_VERBOSE
64
65ifndef HOSTAR
66HOSTAR:=ar
67endif
68ifndef HOSTAS
69HOSTAS:=as
70endif
71ifndef HOSTCC
72HOSTCC:=gcc
73else
74endif
75ifndef HOSTCXX
76HOSTCXX:=g++
77endif
78ifndef HOSTLD
79HOSTLD:=ld
80endif
Ulf Samuelsson83832cd2007-07-09 04:26:49 +000081HOSTAR :=$(shell $(CONFIG_SHELL) -c "which $(HOSTAR)" || type -p $(HOSTAR) || echo ar)
82HOSTAS :=$(shell $(CONFIG_SHELL) -c "which $(HOSTAS)" || type -p $(HOSTAS) || echo as)
83HOSTCC :=$(shell $(CONFIG_SHELL) -c "which $(HOSTCC)" || type -p $(HOSTCC) || echo gcc)
84HOSTCXX:=$(shell $(CONFIG_SHELL) -c "which $(HOSTCXX)" || type -p $(HOSTCXX) || echo g++)
85HOSTLD :=$(shell $(CONFIG_SHELL) -c "which $(HOSTLD)" || type -p $(HOSTLD) || echo ld)
Bernhard Reutner-Fischerafc61c62007-06-28 10:47:05 +000086ifndef CFLAGS_FOR_BUILD
Bernhard Reutner-Fischerf987b7a2007-07-08 00:00:17 +000087CFLAGS_FOR_BUILD:=-g -O2
Bernhard Reutner-Fischerafc61c62007-06-28 10:47:05 +000088endif
89export HOSTAR HOSTAS HOSTCC HOSTCXX HOSTLD
90
91
Eric Andersen2d523c22004-10-09 01:06:03 +000092ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y)
Eric Andersenffde94b2001-12-22 00:56:11 +000093
Bernhard Reutner-Fischer99cf7292007-02-12 13:38:06 +000094# cc-option
95# Usage: cflags-y += $(call cc-option, -march=winchip-c6, -march=i586)
96# sets -march=winchip-c6 if supported else falls back to -march=i586
97# without checking the latter.
98cc-option = $(shell if $(TARGET_CC) $(TARGET_CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
99 > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
100
Peter Korsgaard2c649042007-06-19 15:19:27 +0000101#############################################################
102#
103# Hide troublesome environment variables from sub processes
104#
105#############################################################
106unexport CROSS_COMPILE
107unexport ARCH
Bernhard Reutner-Fischer7dcbbfb2007-06-02 09:05:40 +0000108
109#############################################################
110#
Bernhard Reutner-Fischerc6e43c92007-06-02 11:22:17 +0000111# Setup the proper filename extensions for the host
Bernhard Reutner-Fischer7dcbbfb2007-06-02 09:05:40 +0000112#
113##############################################################
114ifneq ($(findstring linux,$(BR2_GNU_BUILD_SUFFIX)),)
Bernhard Reutner-Fischerc6e43c92007-06-02 11:22:17 +0000115HOST_EXEEXT:=
116HOST_LIBEXT:=.a
117HOST_SHREXT:=.so
Bernhard Reutner-Fischer7dcbbfb2007-06-02 09:05:40 +0000118endif
119ifneq ($(findstring apple,$(BR2_GNU_BUILD_SUFFIX)),)
Bernhard Reutner-Fischerc6e43c92007-06-02 11:22:17 +0000120HOST_EXEEXT:=
121HOST_LIBEXT:=.a
122HOST_SHREXT:=.dylib
Bernhard Reutner-Fischer7dcbbfb2007-06-02 09:05:40 +0000123endif
124ifneq ($(findstring cygwin,$(BR2_GNU_BUILD_SUFFIX)),)
Bernhard Reutner-Fischerc6e43c92007-06-02 11:22:17 +0000125HOST_EXEEXT:=.exe
126HOST_LIBEXT:=.lib
127HOST_SHREXT:=.dll
Bernhard Reutner-Fischer7dcbbfb2007-06-02 09:05:40 +0000128endif
129ifneq ($(findstring mingw,$(BR2_GNU_BUILD_SUFFIX)),)
Bernhard Reutner-Fischerc6e43c92007-06-02 11:22:17 +0000130HOST_EXEEXT:=.exe
131HOST_LIBEXT:=.lib
132HOST_SHREXT:=.dll
Bernhard Reutner-Fischer7dcbbfb2007-06-02 09:05:40 +0000133endif
134
Bernhard Reutner-Fischerc6e43c92007-06-02 11:22:17 +0000135# The preferred type of libs we build for the target
Bernhard Reutner-Fischer7dcbbfb2007-06-02 09:05:40 +0000136ifeq ($(BR2_PREFER_STATIC_LIB),y)
Bernhard Reutner-Fischerc6e43c92007-06-02 11:22:17 +0000137LIBTGTEXT=.a
Bernhard Reutner-Fischer80277842007-06-20 11:26:36 +0000138#PREFERRED_LIB_FLAGS:=--disable-shared --enable-static
Bernhard Reutner-Fischer7dcbbfb2007-06-02 09:05:40 +0000139else
Bernhard Reutner-Fischerc6e43c92007-06-02 11:22:17 +0000140LIBTGTEXT=.so
Bernhard Reutner-Fischer80277842007-06-20 11:26:36 +0000141#PREFERRED_LIB_FLAGS:=--disable-static --enable-shared
Bernhard Reutner-Fischer7dcbbfb2007-06-02 09:05:40 +0000142endif
Bernhard Reutner-Fischer80277842007-06-20 11:26:36 +0000143PREFERRED_LIB_FLAGS:=--enable-static --enable-shared
Bernhard Reutner-Fischer7dcbbfb2007-06-02 09:05:40 +0000144
145
Eric Andersen08782ae2002-04-26 11:45:55 +0000146#############################################################
147#
Eric Andersen2d523c22004-10-09 01:06:03 +0000148# The list of stuff to build for the target toolchain
149# along with the packages to build for the target.
Eric Andersen08782ae2002-04-26 11:45:55 +0000150#
Eric Andersen2d523c22004-10-09 01:06:03 +0000151##############################################################
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +0000152ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
Eric Andersen98bc6da2006-07-18 23:43:58 +0000153TARGETS:=uclibc-configured binutils gcc uclibc-target-utils
"Steven J. Hill"02f71aa2007-02-06 18:19:38 +0000154else
155TARGETS:=uclibc
156endif
Eric Andersen2d523c22004-10-09 01:06:03 +0000157include toolchain/Makefile.in
Eric Andersen2d523c22004-10-09 01:06:03 +0000158include package/Makefile.in
Eric Andersen27bc59d2003-01-17 04:31:36 +0000159
Eric Andersen08782ae2002-04-26 11:45:55 +0000160#############################################################
161#
Eric Andersenef407d32004-01-29 23:21:00 +0000162# You should probably leave this stuff alone unless you know
Eric Andersen08782ae2002-04-26 11:45:55 +0000163# what you are doing.
164#
165#############################################################
Manuel Novoa III d632d422003-11-01 05:34:41 +0000166
Eric Andersenffde94b2001-12-22 00:56:11 +0000167all: world
168
Eric Andersen2d523c22004-10-09 01:06:03 +0000169# In this section, we need .config
170include .config.cmd
171
Eric Andersend06645d2005-02-10 03:06:39 +0000172# We also need the various per-package makefiles, which also add
173# each selected package to TARGETS if that package was selected
174# in the .config file.
175include toolchain/*/*.mk
176include package/*/*.mk
Eric Andersend06645d2005-02-10 03:06:39 +0000177
Eric Andersen79f5f1e2005-02-17 03:00:29 +0000178# target stuff is last so it can override anything else
179include target/Makefile.in
180
Eric Andersen08782ae2002-04-26 11:45:55 +0000181TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
Eric Andersena5c23542003-02-19 08:56:04 +0000182TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS))
Eric Andersen08782ae2002-04-26 11:45:55 +0000183TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
Eric Andersenffde94b2001-12-22 00:56:11 +0000184
Bernhard Reutner-Fischer6e2823c2006-11-17 15:43:51 +0000185world: $(DL_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) $(TARGETS)
Bernhard Reutner-Fischer870cb9e2006-11-17 11:21:23 +0000186dirs: $(DL_DIR) $(BUILD_DIR) $(STAGING_DIR)
Eric Andersenffde94b2001-12-22 00:56:11 +0000187
Bernhard Reutner-Fischer870cb9e2006-11-17 11:21:23 +0000188.PHONY: all world dirs clean dirclean distclean source $(TARGETS) \
Eric Andersen747b16d2004-12-11 10:33:19 +0000189 $(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) \
190 $(DL_DIR) $(BUILD_DIR) $(TOOL_BUILD_DIR) $(STAGING_DIR)
Jon Nelsonc79e9982002-01-05 20:26:15 +0000191
Eric Andersen08782ae2002-04-26 11:45:55 +0000192#############################################################
193#
Eric Andersenef407d32004-01-29 23:21:00 +0000194# staging and target directories do NOT list these as
Mike Frysingerd99c31c2006-05-26 01:18:09 +0000195# dependencies anywhere else
Eric Andersen08782ae2002-04-26 11:45:55 +0000196#
197#############################################################
Bernhard Reutner-Fischer8d583fc2007-01-30 00:58:18 +0000198$(DL_DIR) $(BUILD_DIR) $(TOOL_BUILD_DIR):
199 @mkdir -p $@
Manuel Novoa III 3ad3d8a2004-09-03 00:49:43 +0000200
Eric Andersen08782ae2002-04-26 11:45:55 +0000201$(STAGING_DIR):
"Steven J. Hill"9c865d72007-05-07 03:56:47 +0000202 @mkdir -p $(STAGING_DIR)/bin
Eric Andersenbf387232004-12-11 10:35:18 +0000203 @mkdir -p $(STAGING_DIR)/lib
Bernhard Reutner-Fischer7e0c8902007-06-24 12:27:08 +0000204ifeq ($(BR2_TOOLCHAIN_SYSROOT),y)
Bernhard Reutner-Fischer80277842007-06-20 11:26:36 +0000205 @mkdir -p $(STAGING_DIR)/usr/lib
206else
207 @ln -snf . $(STAGING_DIR)/usr
208 @mkdir -p $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)
Eric Andersen3da708e2007-01-10 06:55:27 +0000209 @ln -snf ../lib $(STAGING_DIR)/usr/lib
Bernhard Reutner-Fischer80277842007-06-20 11:26:36 +0000210 @ln -snf ../lib $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib
211endif
212 @mkdir -p $(STAGING_DIR)/usr/include
Eric Andersen08782ae2002-04-26 11:45:55 +0000213
214$(TARGET_DIR):
Eric Andersena4c685f2006-11-15 21:00:07 +0000215 mkdir -p $(TARGET_DIR)
Eric Andersenba70f942006-11-15 06:52:00 +0000216 if [ -d "$(TARGET_SKELETON)" ] ; then \
217 cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/; \
Eric Andersenbb15c222005-02-17 18:21:20 +0000218 fi;
Eric Andersen5418a922006-04-07 22:42:15 +0000219 touch $(STAGING_DIR)/.fakeroot.00000
Eric Andersenbb15c222005-02-17 18:21:20 +0000220 -find $(TARGET_DIR) -type d -name CVS | xargs rm -rf
221 -find $(TARGET_DIR) -type d -name .svn | xargs rm -rf
Eric Andersenffde94b2001-12-22 00:56:11 +0000222
Bernhard Reutner-Fischer73be7f92007-04-06 16:36:48 +0000223source: $(TARGETS_SOURCE) $(HOST_SOURCE)
Eric Andersenffde94b2001-12-22 00:56:11 +0000224
Bernhard Reutner-Fischer825ff342007-06-07 12:57:03 +0000225.config.check: dependencies
226 $(SED) '/BR2_WGET/s/\"$$/ --spider\"/g' .config
227 touch $@
228
229_source-check: .config.check
230 $(MAKE) source
231
Eric Andersen08782ae2002-04-26 11:45:55 +0000232#############################################################
233#
234# Cleanup and misc junk
235#
236#############################################################
237clean: $(TARGETS_CLEAN)
Manuel Novoa III 3ad3d8a2004-09-03 00:49:43 +0000238 rm -rf $(STAGING_DIR) $(TARGET_DIR) $(IMAGE)
Eric Andersenffde94b2001-12-22 00:56:11 +0000239
Eric Andersen08782ae2002-04-26 11:45:55 +0000240dirclean: $(TARGETS_DIRCLEAN)
Manuel Novoa III 3ad3d8a2004-09-03 00:49:43 +0000241 rm -rf $(STAGING_DIR) $(TARGET_DIR) $(IMAGE)
Eric Andersenffde94b2001-12-22 00:56:11 +0000242
Eric Andersen08782ae2002-04-26 11:45:55 +0000243distclean:
Mike Frysinger5bc1f0c2005-09-09 02:49:10 +0000244ifeq ($(DL_DIR),$(BASE_DIR)/dl)
245 rm -rf $(DL_DIR)
246endif
Bernhard Reutner-Fischer81df2262007-07-09 08:06:27 +0000247 rm -rf $(BUILD_DIR) $(LINUX_KERNEL) $(IMAGE) $(BASE_DIR)/include \
248 .config.cmd
Bernhard Reutner-Fischerb5136192007-01-19 18:00:49 +0000249 $(MAKE) -C $(CONFIG) clean
Eric Andersenffde94b2001-12-22 00:56:11 +0000250
Manuel Novoa III 3ad3d8a2004-09-03 00:49:43 +0000251sourceball:
Eric Andersen08782ae2002-04-26 11:45:55 +0000252 rm -rf $(BUILD_DIR)
253 set -e; \
254 cd ..; \
255 rm -f buildroot.tar.bz2; \
256 tar -cvf buildroot.tar buildroot; \
257 bzip2 -9 buildroot.tar; \
Eric Andersen2d523c22004-10-09 01:06:03 +0000258
259
260else # ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y)
261
262all: menuconfig
263
264# configuration
265# ---------------------------------------------------------------------------
266
267$(CONFIG)/conf:
Bernhard Reutner-Fischerf987b7a2007-07-08 00:00:17 +0000268 $(MAKE) CC="$(HOSTCC)" HOSTCFLAGS="$(CFLAGS_FOR_BUILD)" MAKECMDGOALS="$(MAKECMDGOALS)" \
Bernhard Reutner-Fischerafc61c62007-06-28 10:47:05 +0000269 -C $(CONFIG) conf
Eric Andersen2d523c22004-10-09 01:06:03 +0000270 -@if [ ! -f .config ] ; then \
271 cp $(CONFIG_DEFCONFIG) .config; \
272 fi
273$(CONFIG)/mconf:
Bernhard Reutner-Fischerf987b7a2007-07-08 00:00:17 +0000274 $(MAKE) CC="$(HOSTCC)" HOSTCFLAGS="$(CFLAGS_FOR_BUILD)" MAKECMDGOALS="$(MAKECMDGOALS)" \
Bernhard Reutner-Fischerafc61c62007-06-28 10:47:05 +0000275 -C $(CONFIG) conf mconf
Eric Andersen2d523c22004-10-09 01:06:03 +0000276 -@if [ ! -f .config ] ; then \
277 cp $(CONFIG_DEFCONFIG) .config; \
278 fi
279
280menuconfig: $(CONFIG)/mconf
Bernhard Reutner-Fischerf987b7a2007-07-08 00:00:17 +0000281 @-mkdir -p include/config
282 @KCONFIG_AUTOCONFIG=include/config/auto.conf \
283 KCONFIG_AUTOHEADER=include/autoconf.h \
284 $(CONFIG)/mconf $(CONFIG_CONFIG_IN)
Eric Andersen2d523c22004-10-09 01:06:03 +0000285
286config: $(CONFIG)/conf
Bernhard Reutner-Fischerf987b7a2007-07-08 00:00:17 +0000287 @-mkdir -p include/config
288 @KCONFIG_AUTOCONFIG=include/config/auto.conf \
289 KCONFIG_AUTOHEADER=include/autoconf.h \
290 $(CONFIG)/conf $(CONFIG_CONFIG_IN)
Eric Andersen2d523c22004-10-09 01:06:03 +0000291
292oldconfig: $(CONFIG)/conf
Bernhard Reutner-Fischerf987b7a2007-07-08 00:00:17 +0000293 @-mkdir -p include/config
294 @KCONFIG_AUTOCONFIG=include/config/auto.conf \
295 KCONFIG_AUTOHEADER=include/autoconf.h \
296 $(CONFIG)/conf -o $(CONFIG_CONFIG_IN)
Eric Andersen2d523c22004-10-09 01:06:03 +0000297
298randconfig: $(CONFIG)/conf
Bernhard Reutner-Fischerf987b7a2007-07-08 00:00:17 +0000299 @-mkdir -p include/config
300 @KCONFIG_AUTOCONFIG=include/config/auto.conf \
301 KCONFIG_AUTOHEADER=include/autoconf.h \
302 $(CONFIG)/conf -r $(CONFIG_CONFIG_IN)
Eric Andersen2d523c22004-10-09 01:06:03 +0000303
304allyesconfig: $(CONFIG)/conf
Bernhard Reutner-Fischerf987b7a2007-07-08 00:00:17 +0000305 cat $(CONFIG_DEFCONFIG) > .config
306 @-mkdir -p include/config
307 @KCONFIG_AUTOCONFIG=include/config/auto.conf \
308 KCONFIG_AUTOHEADER=include/autoconf.h \
309 $(CONFIG)/conf -y $(CONFIG_CONFIG_IN)
Eric Andersen2d523c22004-10-09 01:06:03 +0000310 #sed -i -e "s/^CONFIG_DEBUG.*/# CONFIG_DEBUG is not set/" .config
Eric Andersen2d523c22004-10-09 01:06:03 +0000311
312allnoconfig: $(CONFIG)/conf
Bernhard Reutner-Fischerf987b7a2007-07-08 00:00:17 +0000313 @-mkdir -p include/config
314 @KCONFIG_AUTOCONFIG=include/config/auto.conf \
315 KCONFIG_AUTOHEADER=include/autoconf.h \
316 $(CONFIG)/conf -n $(CONFIG_CONFIG_IN)
Eric Andersen2d523c22004-10-09 01:06:03 +0000317
318defconfig: $(CONFIG)/conf
Bernhard Reutner-Fischerf987b7a2007-07-08 00:00:17 +0000319 @-mkdir -p include/config
320 @KCONFIG_AUTOCONFIG=include/config/auto.conf \
321 KCONFIG_AUTOHEADER=include/autoconf.h \
322 $(CONFIG)/conf -d $(CONFIG_CONFIG_IN)
Eric Andersen2d523c22004-10-09 01:06:03 +0000323
Bernhard Reutner-Fischer825ff342007-06-07 12:57:03 +0000324# check if download URLs are outdated
325source-check: allyesconfig
326 $(MAKE) _source-check
327
Eric Andersen2d523c22004-10-09 01:06:03 +0000328#############################################################
329#
330# Cleanup and misc junk
331#
332#############################################################
333clean:
334 rm -f .config .config.old .config.cmd .tmpconfig.h
335 - $(MAKE) -C $(CONFIG) clean
336
337distclean: clean
338 rm -rf sources/*
339
340endif # ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y)
341
Bernhard Reutner-Fischerba2e7e02007-06-25 10:56:13 +0000342%_defconfig: $(CONFIG)/conf
343 cp $(shell find ./target/ -name $@) .config
344 @$(CONFIG)/conf -o $(CONFIG_CONFIG_IN)
345
Bernhard Reutner-Fischere491fba2007-07-08 12:20:58 +0000346help:
347 @echo 'Cleaning:'
348 @echo ' clean - delete temporary files created by build'
349 @echo ' distclean - delete all non-source files (including .config)'
350 @echo
351 @echo 'Build:'
352 @echo ' all - make world'
353 @echo
354 @echo 'Configuration:'
355 @echo ' menuconfig - interactive curses-based configurator'
356 @echo ' oldconfig - resolve any unresolved symbols in .config'
357 @echo
358 @echo 'Miscellaneous:'
359 @echo ' source - download all sources needed for offline-build'
360 @echo ' source-check - check all packages for valid download URLS'
361 @echo
Bernhard Reutner-Fischerba2e7e02007-06-25 10:56:13 +0000362
Eric Andersen2d523c22004-10-09 01:06:03 +0000363.PHONY: dummy subdirs release distclean clean config oldconfig \
Bernhard Reutner-Fischere491fba2007-07-08 12:20:58 +0000364 menuconfig tags check test depend defconfig help
Eric Andersen2d523c22004-10-09 01:06:03 +0000365
366