blob: f71c536940219496ae2badbe5a1190a57ce92994 [file] [log] [blame]
Eric Andersenc4996011999-10-20 22:08:37 +00001# Makefile for busybox
2#
Eric Andersenc7bda1c2004-03-15 08:29:22 +00003# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
Erik Andersen9ffdaa62000-02-11 21:55:04 +00004#
Rob Landleya7e14db2005-09-11 01:16:47 +00005# Licensed under GPLv2, see the file LICENSE in this tarball for details.
Eric Andersenc4996011999-10-20 22:08:37 +00006#
7
Eric Andersenc9f20d92002-12-05 08:41:41 +00008#--------------------------------------------------------------
9# You shouldn't need to mess with anything beyond this point...
10#--------------------------------------------------------------
11noconfig_targets := menuconfig config oldconfig randconfig \
12 defconfig allyesconfig allnoconfig clean distclean \
Eric Andersenbcf27242005-02-13 22:15:59 +000013 release tags
Eric Andersen7daa0762004-10-08 07:46:08 +000014
Bernhard Reutner-Fischer1c943eb2005-09-26 16:01:43 +000015# the toplevel sourcedir
Eric Andersen7daa0762004-10-08 07:46:08 +000016ifndef top_srcdir
17top_srcdir=$(CURDIR)
18endif
Bernhard Reutner-Fischer1c943eb2005-09-26 16:01:43 +000019# toplevel directory of the object-tree
Eric Andersen7daa0762004-10-08 07:46:08 +000020ifndef top_builddir
21top_builddir=$(CURDIR)
22endif
23
Mike Frysinger9d6e0832005-07-31 22:50:17 +000024export srctree=$(top_srcdir)
Eric Andersen7daa0762004-10-08 07:46:08 +000025vpath %/Config.in $(srctree)
26
Rob Landleye1d96332005-08-24 00:41:52 +000027include $(top_srcdir)/Rules.mak
Eric Andersenc9f20d92002-12-05 08:41:41 +000028
Glenn L McGrath3238ea12003-02-15 10:53:40 +000029DIRS:=applets archival archival/libunarchive coreutils console-tools \
30 debianutils editors findutils init miscutils modutils networking \
Glenn L McGrath9a2d2722002-11-10 01:33:55 +000031 networking/libiproute networking/udhcp procps loginutils shell \
Mike Frysingerd89e6292005-04-24 05:07:59 +000032 sysklogd util-linux e2fsprogs libpwdgrp coreutils/libcoreutils libbb
Eric Andersenab050f52001-01-27 06:01:43 +000033
Eric Andersen7daa0762004-10-08 07:46:08 +000034SRC_DIRS:=$(patsubst %,$(top_srcdir)/%,$(DIRS))
35
Eric Andersen9e480452003-07-03 10:07:04 +000036ifeq ($(strip $(CONFIG_SELINUX)),y)
Rob Landley60158cb2005-05-03 06:25:50 +000037LIBRARIES += -lselinux
Eric Andersen9e480452003-07-03 10:07:04 +000038endif
39
Eric Andersen7daa0762004-10-08 07:46:08 +000040CONFIG_CONFIG_IN = $(top_srcdir)/sysdeps/$(TARGET_OS)/Config.in
41CONFIG_DEFCONFIG = $(top_srcdir)/sysdeps/$(TARGET_OS)/defconfig
42
43ALL_DIRS:= $(DIRS) scripts/config
44ALL_MAKEFILES:=$(patsubst %,%/Makefile,$(ALL_DIRS))
45
46ifeq ($(KBUILD_SRC),)
47
48ifdef O
49 ifeq ("$(origin O)", "command line")
50 KBUILD_OUTPUT := $(O)
51 endif
52endif
53
54# That's our default target when none is given on the command line
55.PHONY: _all
56_all:
57
58ifneq ($(KBUILD_OUTPUT),)
59# Invoke a second make in the output directory, passing relevant variables
60# check that the output directory actually exists
61saved-output := $(KBUILD_OUTPUT)
62KBUILD_OUTPUT := $(shell cd $(KBUILD_OUTPUT) && /bin/pwd)
63$(if $(wildcard $(KBUILD_OUTPUT)),, \
64 $(error output directory "$(saved-output)" does not exist))
65
66.PHONY: $(MAKECMDGOALS)
67
68$(filter-out _all,$(MAKECMDGOALS)) _all: $(KBUILD_OUTPUT)/Rules.mak $(KBUILD_OUTPUT)/Makefile
69 $(MAKE) -C $(KBUILD_OUTPUT) \
70 top_srcdir=$(CURDIR) \
71 top_builddir=$(KBUILD_OUTPUT) \
Eric Andersen7daa0762004-10-08 07:46:08 +000072 KBUILD_SRC=$(CURDIR) \
73 -f $(CURDIR)/Makefile $@
74
75$(KBUILD_OUTPUT)/Rules.mak:
76 @echo > $@
77 @echo top_srcdir=$(CURDIR) >> $@
78 @echo top_builddir=$(KBUILD_OUTPUT) >> $@
79 @echo include $(top_srcdir)/Rules.mak >> $@
80
81$(KBUILD_OUTPUT)/Makefile:
82 @echo > $@
83 @echo top_srcdir=$(CURDIR) >> $@
84 @echo top_builddir=$(KBUILD_OUTPUT) >> $@
85 @echo KBUILD_SRC='$$(top_srcdir)' >> $@
86 @echo include '$$(KBUILD_SRC)'/Makefile >> $@
87
88# Leave processing to above invocation of make
89skip-makefile := 1
90endif # ifneq ($(KBUILD_OUTPUT),)
91endif # ifeq ($(KBUILD_SRC),)
92
93ifeq ($(skip-makefile),)
94
95_all: all
Glenn L McGrath6376b582003-09-24 15:48:29 +000096
Rob Landleyd24eaac2005-09-26 15:49:41 +000097help:
98 @echo 'Cleaning:'
99 @echo ' clean - delete temporary files created by build'
100 @echo ' distclean - delete all non-source files (including .config)'
101 @echo
102 @echo 'Build:'
103 @echo ' all - Executable and documentation'
104 @echo ' busybox - the swiss-army executable'
105 @echo ' doc - docs/BusyBox.{txt,html,1}'
106 @echo
107 @echo 'Configuration:'
108 @echo ' allnoconfig - disable all symbols in .config'
109 @echo ' allyesconfig - enable (almost) all symbols in .config'
110 @echo ' config - text based configurator (of last resort).'
111 @echo ' defconfig - set .config to defaults'
112 @echo ' menuconfig - interactive curses-based configurator'
113 @echo ' oldconfig - resolve any unresolved symbols in .config'
114 @echo
115 @echo 'Installation:'
116 @echo ' install - install busybox and symlinks into $prefix'
117 @echo ' install-hardlinks - install busybox and hardlinks into $prefix'
118 @echo ' uninstall'
119 @echo
120 @echo 'Development:'
121 @echo ' check - run the test suite for all applets'
122 @echo ' randconfig - generate a random configuration'
123 @echo ' release - create a distribution tarball'
124 @echo ' sizes - show size of all enabled busybox symbols'
125 @echo
126
Eric Andersen068b6b02002-12-13 22:53:28 +0000127ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
Eric Andersen00814662001-04-26 23:29:10 +0000128
Eric Andersend4fcb802003-07-15 00:28:26 +0000129all: busybox busybox.links doc
Erik Andersen0a704e82000-05-03 03:19:06 +0000130
"Vladimir N. Oleynik"4a5d95d2005-09-19 16:18:46 +0000131all_tree: $(ALL_MAKEFILES)
Eric Andersen3cd27602001-10-24 07:58:02 +0000132
Eric Andersen7daa0762004-10-08 07:46:08 +0000133$(ALL_MAKEFILES): %/Makefile: $(top_srcdir)/%/Makefile
Rob Landleye1d96332005-08-24 00:41:52 +0000134 [ -d $(@D) ] || mkdir -p $(@D); cp $< $@
Eric Andersen7daa0762004-10-08 07:46:08 +0000135
136# In this section, we need .config
137-include $(top_builddir)/.config.cmd
138include $(patsubst %,%/Makefile.in, $(SRC_DIRS))
139-include $(top_builddir)/.depend
140
"Vladimir N. Oleynik"5e60dc42005-09-12 12:33:27 +0000141busybox: $(ALL_MAKEFILES) .depend $(libraries-y)
Mike Frysinger67451842005-09-27 04:06:39 +0000142 $(CC) $(EXTRA_CFLAGS) $(LDFLAGS) -o $@ -Wl,--start-group $(libraries-y) $(LIBRARIES) -Wl,--end-group
Eric Andersen85208e22002-04-12 12:05:57 +0000143 $(STRIPCMD) $@
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000144
Eric Andersen7daa0762004-10-08 07:46:08 +0000145busybox.links: $(top_srcdir)/applets/busybox.mkll include/config.h $(top_srcdir)/include/applets.h
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000146 - $(SHELL) $^ >$@
147
Eric Andersen63024862004-10-13 17:45:57 +0000148install: $(top_srcdir)/applets/install.sh busybox busybox.links
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000149 $(SHELL) $< $(PREFIX)
Eric Andersen13879102004-08-26 23:13:00 +0000150ifeq ($(strip $(CONFIG_FEATURE_SUID)),y)
151 @echo
152 @echo
153 @echo --------------------------------------------------
154 @echo You will probably need to make your busybox binary
155 @echo setuid root to ensure all configured applets will
156 @echo work properly.
157 @echo --------------------------------------------------
158 @echo
159endif
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000160
Glenn L McGrath87470de2003-08-29 12:20:31 +0000161uninstall: busybox.links
162 rm -f $(PREFIX)/bin/busybox
163 for i in `cat busybox.links` ; do rm -f $(PREFIX)$$i; done
Eric Andersen1f30a412002-04-13 13:39:48 +0000164
Peter Kjellerstedt88da3ef2004-11-02 09:05:22 +0000165install-hardlinks: $(top_srcdir)/applets/install.sh busybox busybox.links
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000166 $(SHELL) $< $(PREFIX) --hardlinks
167
Mike Frysingerce0cf1d2005-09-24 05:47:52 +0000168check test: busybox
Eric Andersen7daa0762004-10-08 07:46:08 +0000169 bindir=$(top_builddir) srcdir=$(top_srcdir)/testsuite \
170 $(top_srcdir)/testsuite/runtest
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000171
Rob Landleyd9f71652005-08-28 08:24:21 +0000172sizes:
Rob Landleyac692b22005-09-01 02:40:21 +0000173 -rm -f busybox
174 $(MAKE) top_srcdir=$(top_srcdir) top_builddir=$(top_builddir) \
175 -f $(top_srcdir)/Makefile STRIPCMD=/bin/true
Rob Landleyd9f71652005-08-28 08:24:21 +0000176 nm --size-sort busybox
Rob Landley16890752005-09-02 00:41:53 +0000177
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000178# Documentation Targets
Eric Andersenf7300882004-04-06 15:26:25 +0000179doc: docs/busybox.pod docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html
John Beppu94e50542001-04-05 19:42:03 +0000180
Eric Andersen7daa0762004-10-08 07:46:08 +0000181docs/busybox.pod : $(top_srcdir)/docs/busybox_header.pod $(top_srcdir)/include/usage.h $(top_srcdir)/docs/busybox_footer.pod
182 -mkdir -p docs
183 - ( cat $(top_srcdir)/docs/busybox_header.pod; \
184 $(top_srcdir)/docs/autodocifier.pl $(top_srcdir)/include/usage.h; \
185 cat $(top_srcdir)/docs/busybox_footer.pod ) > docs/busybox.pod
Eric Andersen53310252000-07-04 19:42:23 +0000186
Eric Andersen67536ff2000-07-06 22:53:22 +0000187docs/BusyBox.txt: docs/busybox.pod
Mike Frysingerc99e2c52005-07-28 22:14:35 +0000188 $(SECHO)
189 $(SECHO) BusyBox Documentation
190 $(SECHO)
Eric Andersen29be79c2000-12-01 22:57:44 +0000191 -mkdir -p docs
Eric Andersen19f86202001-02-17 00:42:47 +0000192 -pod2text $< > $@
Eric Andersen53310252000-07-04 19:42:23 +0000193
Eric Andersen67536ff2000-07-06 22:53:22 +0000194docs/BusyBox.1: docs/busybox.pod
Eric Andersen09a34e52000-12-01 19:40:18 +0000195 - mkdir -p docs
Eric Andersen29be79c2000-12-01 22:57:44 +0000196 - pod2man --center=BusyBox --release="version $(VERSION)" \
Eric Andersen19f86202001-02-17 00:42:47 +0000197 $< > $@
Eric Andersen53310252000-07-04 19:42:23 +0000198
Eric Andersen2423b122001-12-08 01:56:15 +0000199docs/BusyBox.html: docs/busybox.net/BusyBox.html
Eric Andersen1cf81662001-02-17 15:55:15 +0000200 - mkdir -p docs
Eric Andersene2f6e122000-12-01 19:55:04 +0000201 -@ rm -f docs/BusyBox.html
Eric Andersen7daa0762004-10-08 07:46:08 +0000202 -@ cp docs/busybox.net/BusyBox.html docs/BusyBox.html
Eric Andersen53310252000-07-04 19:42:23 +0000203
Eric Andersen2423b122001-12-08 01:56:15 +0000204docs/busybox.net/BusyBox.html: docs/busybox.pod
205 -@ mkdir -p docs/busybox.net
Eric Andersen19f86202001-02-17 00:42:47 +0000206 - pod2html --noindex $< > \
Eric Andersen2423b122001-12-08 01:56:15 +0000207 docs/busybox.net/BusyBox.html
Eric Andersen36763742001-04-24 21:46:07 +0000208 -@ rm -f pod2htm*
Erik Andersen0a704e82000-05-03 03:19:06 +0000209
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000210# The nifty new buildsystem stuff
"Vladimir N. Oleynik"5e60dc42005-09-12 12:33:27 +0000211scripts/bb_mkdep: $(top_srcdir)/scripts/bb_mkdep.c
Eric Andersen7daa0762004-10-08 07:46:08 +0000212 $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
Erik Andersen1d1d9502000-04-21 01:26:49 +0000213
Mike Frysingerde242f62005-09-25 04:53:35 +0000214DEP_INCLUDES := include/config.h include/bb_config.h
"Vladimir N. Oleynik"cef737f2005-09-21 07:49:34 +0000215
"Vladimir N. Oleynik"cef737f2005-09-21 07:49:34 +0000216ifeq ($(strip $(CONFIG_BBCONFIG)),y)
217DEP_INCLUDES += include/bbconfigopts.h
218
219include/bbconfigopts.h: .config
220 scripts/config/mkconfigs > $@
221endif
222
Mike Frysingerde242f62005-09-25 04:53:35 +0000223depend dep $(top_builddir)/.depend: .depend
"Vladimir N. Oleynik"cef737f2005-09-21 07:49:34 +0000224.depend: scripts/bb_mkdep $(DEP_INCLUDES)
"Vladimir N. Oleynik"5e60dc42005-09-12 12:33:27 +0000225 @rm -f .depend
226 @mkdir -p include/config
Mike Frysinger016d6282005-09-24 06:15:23 +0000227 scripts/bb_mkdep -c include/config.h -c include/bb_config.h > $@.tmp
228 mv $@.tmp $@
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000229
Eric Andersenc9f20d92002-12-05 08:41:41 +0000230include/config.h: .config
Eric Andersen7daa0762004-10-08 07:46:08 +0000231 @if [ ! -x $(top_builddir)/scripts/config/conf ] ; then \
Glenn L McGrathb19c73d2003-08-29 13:25:55 +0000232 $(MAKE) -C scripts/config conf; \
Eric Andersen3cd27602001-10-24 07:58:02 +0000233 fi;
Eric Andersen7daa0762004-10-08 07:46:08 +0000234 @$(top_builddir)/scripts/config/conf -o $(CONFIG_CONFIG_IN)
Eric Andersen85208e22002-04-12 12:05:57 +0000235
Rob Landley193c8c72005-07-27 06:55:36 +0000236include/bb_config.h: include/config.h
"Vladimir N. Oleynik"5e60dc42005-09-12 12:33:27 +0000237 @echo -e "#ifndef BB_CONFIG_H\n#define BB_CONFIG_H" > $@
238 @sed -e 's/#undef CONFIG_\(.*\)/#define ENABLE_\1 0/' \
Rob Landleyef8f4232005-07-28 19:36:33 +0000239 -e 's/#define CONFIG_\(.*\)/#define CONFIG_\1\n#define ENABLE_\1/' \
240 < $< >> $@
"Vladimir N. Oleynik"5e60dc42005-09-12 12:33:27 +0000241 @echo "#endif" >> $@
Rob Landley193c8c72005-07-27 06:55:36 +0000242
Eric Andersenc9f20d92002-12-05 08:41:41 +0000243finished2:
Mike Frysingerc99e2c52005-07-28 22:14:35 +0000244 $(SECHO)
245 $(SECHO) Finished installing...
246 $(SECHO)
Eric Andersen19f86202001-02-17 00:42:47 +0000247
Eric Andersen068b6b02002-12-13 22:53:28 +0000248else # ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000249
250all: menuconfig
251
Eric Andersenc9f20d92002-12-05 08:41:41 +0000252# configuration
253# ---------------------------------------------------------------------------
254
Rob Landleye1d96332005-08-24 00:41:52 +0000255scripts/config/conf: scripts/config/Makefile $(top_srcdir)/Rules.mak
Glenn L McGrathb19c73d2003-08-29 13:25:55 +0000256 $(MAKE) -C scripts/config conf
Eric Andersen068b6b02002-12-13 22:53:28 +0000257 -@if [ ! -f .config ] ; then \
Glenn L McGrath6376b582003-09-24 15:48:29 +0000258 cp $(CONFIG_DEFCONFIG) .config; \
Eric Andersen068b6b02002-12-13 22:53:28 +0000259 fi
Eric Andersen7daa0762004-10-08 07:46:08 +0000260
Rob Landleye1d96332005-08-24 00:41:52 +0000261scripts/config/mconf: scripts/config/Makefile $(top_srcdir)/Rules.mak
Glenn L McGrathb19c73d2003-08-29 13:25:55 +0000262 $(MAKE) -C scripts/config ncurses conf mconf
Eric Andersenc9f20d92002-12-05 08:41:41 +0000263 -@if [ ! -f .config ] ; then \
Glenn L McGrath6376b582003-09-24 15:48:29 +0000264 cp $(CONFIG_DEFCONFIG) .config; \
Eric Andersenc9f20d92002-12-05 08:41:41 +0000265 fi
266
267menuconfig: scripts/config/mconf
Glenn L McGrath6376b582003-09-24 15:48:29 +0000268 @./scripts/config/mconf $(CONFIG_CONFIG_IN)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000269
270config: scripts/config/conf
Glenn L McGrath6376b582003-09-24 15:48:29 +0000271 @./scripts/config/conf $(CONFIG_CONFIG_IN)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000272
273oldconfig: scripts/config/conf
Glenn L McGrath6376b582003-09-24 15:48:29 +0000274 @./scripts/config/conf -o $(CONFIG_CONFIG_IN)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000275
276randconfig: scripts/config/conf
Glenn L McGrath6376b582003-09-24 15:48:29 +0000277 @./scripts/config/conf -r $(CONFIG_CONFIG_IN)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000278
279allyesconfig: scripts/config/conf
Glenn L McGrath6376b582003-09-24 15:48:29 +0000280 @./scripts/config/conf -y $(CONFIG_CONFIG_IN)
Rob Landleya7e14db2005-09-11 01:16:47 +0000281 sed -i -r -e "s/^(CONFIG_DEBUG|USING_CROSS_COMPILER|CONFIG_STATIC|CONFIG_SELINUX).*/# \1 is not set/" .config
Eric Andersen8ee69432004-04-06 11:46:56 +0000282 @./scripts/config/conf -o $(CONFIG_CONFIG_IN)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000283
284allnoconfig: scripts/config/conf
Glenn L McGrath6376b582003-09-24 15:48:29 +0000285 @./scripts/config/conf -n $(CONFIG_CONFIG_IN)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000286
287defconfig: scripts/config/conf
Glenn L McGrath6376b582003-09-24 15:48:29 +0000288 @./scripts/config/conf -d $(CONFIG_CONFIG_IN)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000289
Eric Andersencc8ed391999-10-05 16:24:54 +0000290clean:
Rob Landleya7e14db2005-09-11 01:16:47 +0000291 - $(MAKE) -C scripts/config $@
Eric Andersenf7300882004-04-06 15:26:25 +0000292 - rm -f docs/busybox.dvi docs/busybox.ps \
293 docs/busybox.pod docs/busybox.net/busybox.html \
Eric Andersen24e098a2003-08-22 20:53:38 +0000294 docs/busybox pod2htm* *.gdb *.elf *~ core .*config.log \
295 docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \
296 docs/busybox.net/BusyBox.html busybox.links libbb/loop.h \
Rob Landley90252bb2005-09-20 14:09:57 +0000297 .config.old busybox
298 - rm -rf _install testsuite/links
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000299 - find . -name .\*.flags -exec rm -f {} \;
Eric Andersen87715172002-07-31 03:45:05 +0000300 - find . -name \*.o -exec rm -f {} \;
301 - find . -name \*.a -exec rm -f {} \;
Eric Andersencc8ed391999-10-05 16:24:54 +0000302
303distclean: clean
"Vladimir N. Oleynik"5e60dc42005-09-12 12:33:27 +0000304 - rm -f scripts/bb_mkdep
Mike Frysingerf9bd87b2005-08-11 21:59:52 +0000305 - rm -rf include/config include/config.h include/bb_config.h include/bbconfigopts.h
Eric Andersena9953432003-01-27 22:11:59 +0000306 - find . -name .depend -exec rm -f {} \;
Eric Andersenc9f20d92002-12-05 08:41:41 +0000307 rm -f .config .config.old .config.cmd
Eric Andersencc8ed391999-10-05 16:24:54 +0000308
Eric Andersenc9f20d92002-12-05 08:41:41 +0000309release: distclean #doc
Mike Frysingerfcafa4b2005-08-01 20:48:00 +0000310 cd ..; \
311 rm -rf $(PROG)-$(VERSION); \
312 cp -a busybox $(PROG)-$(VERSION); \
313 \
314 find $(PROG)-$(VERSION)/ -type d \
Eric Andersen4306bb12005-08-17 00:03:23 +0000315 -name .svn \
Mike Frysingerfcafa4b2005-08-01 20:48:00 +0000316 -print \
317 -exec rm -rf {} \; ; \
318 \
319 find $(PROG)-$(VERSION)/ -type f \
320 -name .\#* \
321 -print \
322 -exec rm -f {} \; ; \
323 \
Glenn L McGrath0874a612003-11-17 10:26:43 +0000324 tar -cvzf $(PROG)-$(VERSION).tar.gz $(PROG)-$(VERSION)/;
Mark Whitleydd23b8b2000-07-10 23:00:47 +0000325
Mark Whitleydd23b8b2000-07-10 23:00:47 +0000326tags:
327 ctags -R .
Matt Kraai4e05da82001-11-19 19:47:56 +0000328
Eric Andersenc9f20d92002-12-05 08:41:41 +0000329
Eric Andersen068b6b02002-12-13 22:53:28 +0000330endif # ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000331
Eric Andersen7daa0762004-10-08 07:46:08 +0000332endif # ifeq ($(skip-makefile),)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000333
Eric Andersen7daa0762004-10-08 07:46:08 +0000334.PHONY: dummy subdirs release distclean clean config oldconfig \
335 menuconfig tags check test depend buildtree