blob: c3b54ad2f0d047976db3744be98ed91122212355 [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
15ifndef TOPDIR
16TOPDIR=$(CURDIR)/
17endif
18ifndef top_srcdir
19top_srcdir=$(CURDIR)
20endif
21ifndef top_builddir
22top_builddir=$(CURDIR)
23endif
24
Mike Frysinger9d6e0832005-07-31 22:50:17 +000025export srctree=$(top_srcdir)
Eric Andersen7daa0762004-10-08 07:46:08 +000026vpath %/Config.in $(srctree)
27
Rob Landleye1d96332005-08-24 00:41:52 +000028include $(top_srcdir)/Rules.mak
Eric Andersenc9f20d92002-12-05 08:41:41 +000029
Glenn L McGrath3238ea12003-02-15 10:53:40 +000030DIRS:=applets archival archival/libunarchive coreutils console-tools \
31 debianutils editors findutils init miscutils modutils networking \
Glenn L McGrath9a2d2722002-11-10 01:33:55 +000032 networking/libiproute networking/udhcp procps loginutils shell \
Mike Frysingerd89e6292005-04-24 05:07:59 +000033 sysklogd util-linux e2fsprogs libpwdgrp coreutils/libcoreutils libbb
Eric Andersenab050f52001-01-27 06:01:43 +000034
Eric Andersen7daa0762004-10-08 07:46:08 +000035SRC_DIRS:=$(patsubst %,$(top_srcdir)/%,$(DIRS))
36
Eric Andersen9e480452003-07-03 10:07:04 +000037ifeq ($(strip $(CONFIG_SELINUX)),y)
Rob Landley60158cb2005-05-03 06:25:50 +000038LIBRARIES += -lselinux
Eric Andersen9e480452003-07-03 10:07:04 +000039endif
40
Eric Andersen7daa0762004-10-08 07:46:08 +000041CONFIG_CONFIG_IN = $(top_srcdir)/sysdeps/$(TARGET_OS)/Config.in
42CONFIG_DEFCONFIG = $(top_srcdir)/sysdeps/$(TARGET_OS)/defconfig
43
44ALL_DIRS:= $(DIRS) scripts/config
45ALL_MAKEFILES:=$(patsubst %,%/Makefile,$(ALL_DIRS))
46
47ifeq ($(KBUILD_SRC),)
48
49ifdef O
50 ifeq ("$(origin O)", "command line")
51 KBUILD_OUTPUT := $(O)
52 endif
53endif
54
55# That's our default target when none is given on the command line
56.PHONY: _all
57_all:
58
59ifneq ($(KBUILD_OUTPUT),)
60# Invoke a second make in the output directory, passing relevant variables
61# check that the output directory actually exists
62saved-output := $(KBUILD_OUTPUT)
63KBUILD_OUTPUT := $(shell cd $(KBUILD_OUTPUT) && /bin/pwd)
64$(if $(wildcard $(KBUILD_OUTPUT)),, \
65 $(error output directory "$(saved-output)" does not exist))
66
67.PHONY: $(MAKECMDGOALS)
68
69$(filter-out _all,$(MAKECMDGOALS)) _all: $(KBUILD_OUTPUT)/Rules.mak $(KBUILD_OUTPUT)/Makefile
70 $(MAKE) -C $(KBUILD_OUTPUT) \
71 top_srcdir=$(CURDIR) \
72 top_builddir=$(KBUILD_OUTPUT) \
"Vladimir N. Oleynik"4a5d95d2005-09-19 16:18:46 +000073 TOPDIR=$(KBUILD_OUTPUT) \
Eric Andersen7daa0762004-10-08 07:46:08 +000074 KBUILD_SRC=$(CURDIR) \
75 -f $(CURDIR)/Makefile $@
76
77$(KBUILD_OUTPUT)/Rules.mak:
78 @echo > $@
79 @echo top_srcdir=$(CURDIR) >> $@
80 @echo top_builddir=$(KBUILD_OUTPUT) >> $@
81 @echo include $(top_srcdir)/Rules.mak >> $@
82
83$(KBUILD_OUTPUT)/Makefile:
84 @echo > $@
85 @echo top_srcdir=$(CURDIR) >> $@
86 @echo top_builddir=$(KBUILD_OUTPUT) >> $@
87 @echo KBUILD_SRC='$$(top_srcdir)' >> $@
88 @echo include '$$(KBUILD_SRC)'/Makefile >> $@
89
90# Leave processing to above invocation of make
91skip-makefile := 1
92endif # ifneq ($(KBUILD_OUTPUT),)
93endif # ifeq ($(KBUILD_SRC),)
94
95ifeq ($(skip-makefile),)
96
97_all: all
Glenn L McGrath6376b582003-09-24 15:48:29 +000098
Rob Landleyd24eaac2005-09-26 15:49:41 +000099help:
100 @echo 'Cleaning:'
101 @echo ' clean - delete temporary files created by build'
102 @echo ' distclean - delete all non-source files (including .config)'
103 @echo
104 @echo 'Build:'
105 @echo ' all - Executable and documentation'
106 @echo ' busybox - the swiss-army executable'
107 @echo ' doc - docs/BusyBox.{txt,html,1}'
108 @echo
109 @echo 'Configuration:'
110 @echo ' allnoconfig - disable all symbols in .config'
111 @echo ' allyesconfig - enable (almost) all symbols in .config'
112 @echo ' config - text based configurator (of last resort).'
113 @echo ' defconfig - set .config to defaults'
114 @echo ' menuconfig - interactive curses-based configurator'
115 @echo ' oldconfig - resolve any unresolved symbols in .config'
116 @echo
117 @echo 'Installation:'
118 @echo ' install - install busybox and symlinks into $prefix'
119 @echo ' install-hardlinks - install busybox and hardlinks into $prefix'
120 @echo ' uninstall'
121 @echo
122 @echo 'Development:'
123 @echo ' check - run the test suite for all applets'
124 @echo ' randconfig - generate a random configuration'
125 @echo ' release - create a distribution tarball'
126 @echo ' sizes - show size of all enabled busybox symbols'
127 @echo
128
Eric Andersen068b6b02002-12-13 22:53:28 +0000129ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
Eric Andersen00814662001-04-26 23:29:10 +0000130
Eric Andersend4fcb802003-07-15 00:28:26 +0000131all: busybox busybox.links doc
Erik Andersen0a704e82000-05-03 03:19:06 +0000132
"Vladimir N. Oleynik"4a5d95d2005-09-19 16:18:46 +0000133all_tree: $(ALL_MAKEFILES)
Eric Andersen3cd27602001-10-24 07:58:02 +0000134
Eric Andersen7daa0762004-10-08 07:46:08 +0000135$(ALL_MAKEFILES): %/Makefile: $(top_srcdir)/%/Makefile
Rob Landleye1d96332005-08-24 00:41:52 +0000136 [ -d $(@D) ] || mkdir -p $(@D); cp $< $@
Eric Andersen7daa0762004-10-08 07:46:08 +0000137
138# In this section, we need .config
139-include $(top_builddir)/.config.cmd
140include $(patsubst %,%/Makefile.in, $(SRC_DIRS))
141-include $(top_builddir)/.depend
142
"Vladimir N. Oleynik"5e60dc42005-09-12 12:33:27 +0000143busybox: $(ALL_MAKEFILES) .depend $(libraries-y)
Glenn L McGrathd72e34c2003-09-20 00:59:35 +0000144 $(CC) $(LDFLAGS) -o $@ -Wl,--start-group $(libraries-y) $(LIBRARIES) -Wl,--end-group
Eric Andersen85208e22002-04-12 12:05:57 +0000145 $(STRIPCMD) $@
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000146
Eric Andersen7daa0762004-10-08 07:46:08 +0000147busybox.links: $(top_srcdir)/applets/busybox.mkll include/config.h $(top_srcdir)/include/applets.h
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000148 - $(SHELL) $^ >$@
149
Eric Andersen63024862004-10-13 17:45:57 +0000150install: $(top_srcdir)/applets/install.sh busybox busybox.links
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000151 $(SHELL) $< $(PREFIX)
Eric Andersen13879102004-08-26 23:13:00 +0000152ifeq ($(strip $(CONFIG_FEATURE_SUID)),y)
153 @echo
154 @echo
155 @echo --------------------------------------------------
156 @echo You will probably need to make your busybox binary
157 @echo setuid root to ensure all configured applets will
158 @echo work properly.
159 @echo --------------------------------------------------
160 @echo
161endif
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000162
Glenn L McGrath87470de2003-08-29 12:20:31 +0000163uninstall: busybox.links
164 rm -f $(PREFIX)/bin/busybox
165 for i in `cat busybox.links` ; do rm -f $(PREFIX)$$i; done
Eric Andersen1f30a412002-04-13 13:39:48 +0000166
Peter Kjellerstedt88da3ef2004-11-02 09:05:22 +0000167install-hardlinks: $(top_srcdir)/applets/install.sh busybox busybox.links
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000168 $(SHELL) $< $(PREFIX) --hardlinks
169
Mike Frysingerce0cf1d2005-09-24 05:47:52 +0000170check test: busybox
Eric Andersen7daa0762004-10-08 07:46:08 +0000171 bindir=$(top_builddir) srcdir=$(top_srcdir)/testsuite \
172 $(top_srcdir)/testsuite/runtest
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000173
Rob Landleyd9f71652005-08-28 08:24:21 +0000174sizes:
Rob Landleyac692b22005-09-01 02:40:21 +0000175 -rm -f busybox
176 $(MAKE) top_srcdir=$(top_srcdir) top_builddir=$(top_builddir) \
177 -f $(top_srcdir)/Makefile STRIPCMD=/bin/true
Rob Landleyd9f71652005-08-28 08:24:21 +0000178 nm --size-sort busybox
Rob Landley16890752005-09-02 00:41:53 +0000179
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000180# Documentation Targets
Eric Andersenf7300882004-04-06 15:26:25 +0000181doc: docs/busybox.pod docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html
John Beppu94e50542001-04-05 19:42:03 +0000182
Eric Andersen7daa0762004-10-08 07:46:08 +0000183docs/busybox.pod : $(top_srcdir)/docs/busybox_header.pod $(top_srcdir)/include/usage.h $(top_srcdir)/docs/busybox_footer.pod
184 -mkdir -p docs
185 - ( cat $(top_srcdir)/docs/busybox_header.pod; \
186 $(top_srcdir)/docs/autodocifier.pl $(top_srcdir)/include/usage.h; \
187 cat $(top_srcdir)/docs/busybox_footer.pod ) > docs/busybox.pod
Eric Andersen53310252000-07-04 19:42:23 +0000188
Eric Andersen67536ff2000-07-06 22:53:22 +0000189docs/BusyBox.txt: docs/busybox.pod
Mike Frysingerc99e2c52005-07-28 22:14:35 +0000190 $(SECHO)
191 $(SECHO) BusyBox Documentation
192 $(SECHO)
Eric Andersen29be79c2000-12-01 22:57:44 +0000193 -mkdir -p docs
Eric Andersen19f86202001-02-17 00:42:47 +0000194 -pod2text $< > $@
Eric Andersen53310252000-07-04 19:42:23 +0000195
Eric Andersen67536ff2000-07-06 22:53:22 +0000196docs/BusyBox.1: docs/busybox.pod
Eric Andersen09a34e52000-12-01 19:40:18 +0000197 - mkdir -p docs
Eric Andersen29be79c2000-12-01 22:57:44 +0000198 - pod2man --center=BusyBox --release="version $(VERSION)" \
Eric Andersen19f86202001-02-17 00:42:47 +0000199 $< > $@
Eric Andersen53310252000-07-04 19:42:23 +0000200
Eric Andersen2423b122001-12-08 01:56:15 +0000201docs/BusyBox.html: docs/busybox.net/BusyBox.html
Eric Andersen1cf81662001-02-17 15:55:15 +0000202 - mkdir -p docs
Eric Andersene2f6e122000-12-01 19:55:04 +0000203 -@ rm -f docs/BusyBox.html
Eric Andersen7daa0762004-10-08 07:46:08 +0000204 -@ cp docs/busybox.net/BusyBox.html docs/BusyBox.html
Eric Andersen53310252000-07-04 19:42:23 +0000205
Eric Andersen2423b122001-12-08 01:56:15 +0000206docs/busybox.net/BusyBox.html: docs/busybox.pod
207 -@ mkdir -p docs/busybox.net
Eric Andersen19f86202001-02-17 00:42:47 +0000208 - pod2html --noindex $< > \
Eric Andersen2423b122001-12-08 01:56:15 +0000209 docs/busybox.net/BusyBox.html
Eric Andersen36763742001-04-24 21:46:07 +0000210 -@ rm -f pod2htm*
Erik Andersen0a704e82000-05-03 03:19:06 +0000211
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000212# The nifty new buildsystem stuff
"Vladimir N. Oleynik"5e60dc42005-09-12 12:33:27 +0000213scripts/bb_mkdep: $(top_srcdir)/scripts/bb_mkdep.c
Eric Andersen7daa0762004-10-08 07:46:08 +0000214 $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
Erik Andersen1d1d9502000-04-21 01:26:49 +0000215
Mike Frysingerde242f62005-09-25 04:53:35 +0000216DEP_INCLUDES := include/config.h include/bb_config.h
"Vladimir N. Oleynik"cef737f2005-09-21 07:49:34 +0000217
"Vladimir N. Oleynik"cef737f2005-09-21 07:49:34 +0000218ifeq ($(strip $(CONFIG_BBCONFIG)),y)
219DEP_INCLUDES += include/bbconfigopts.h
220
221include/bbconfigopts.h: .config
222 scripts/config/mkconfigs > $@
223endif
224
Mike Frysingerde242f62005-09-25 04:53:35 +0000225depend dep $(top_builddir)/.depend: .depend
"Vladimir N. Oleynik"cef737f2005-09-21 07:49:34 +0000226.depend: scripts/bb_mkdep $(DEP_INCLUDES)
"Vladimir N. Oleynik"5e60dc42005-09-12 12:33:27 +0000227 @rm -f .depend
228 @mkdir -p include/config
Mike Frysinger016d6282005-09-24 06:15:23 +0000229 scripts/bb_mkdep -c include/config.h -c include/bb_config.h > $@.tmp
230 mv $@.tmp $@
Eric Andersenbdfd0d72001-10-24 05:00:29 +0000231
Eric Andersenc9f20d92002-12-05 08:41:41 +0000232include/config.h: .config
Eric Andersen7daa0762004-10-08 07:46:08 +0000233 @if [ ! -x $(top_builddir)/scripts/config/conf ] ; then \
Glenn L McGrathb19c73d2003-08-29 13:25:55 +0000234 $(MAKE) -C scripts/config conf; \
Eric Andersen3cd27602001-10-24 07:58:02 +0000235 fi;
Eric Andersen7daa0762004-10-08 07:46:08 +0000236 @$(top_builddir)/scripts/config/conf -o $(CONFIG_CONFIG_IN)
Eric Andersen85208e22002-04-12 12:05:57 +0000237
Rob Landley193c8c72005-07-27 06:55:36 +0000238include/bb_config.h: include/config.h
"Vladimir N. Oleynik"5e60dc42005-09-12 12:33:27 +0000239 @echo -e "#ifndef BB_CONFIG_H\n#define BB_CONFIG_H" > $@
240 @sed -e 's/#undef CONFIG_\(.*\)/#define ENABLE_\1 0/' \
Rob Landleyef8f4232005-07-28 19:36:33 +0000241 -e 's/#define CONFIG_\(.*\)/#define CONFIG_\1\n#define ENABLE_\1/' \
242 < $< >> $@
"Vladimir N. Oleynik"5e60dc42005-09-12 12:33:27 +0000243 @echo "#endif" >> $@
Rob Landley193c8c72005-07-27 06:55:36 +0000244
Eric Andersenc9f20d92002-12-05 08:41:41 +0000245finished2:
Mike Frysingerc99e2c52005-07-28 22:14:35 +0000246 $(SECHO)
247 $(SECHO) Finished installing...
248 $(SECHO)
Eric Andersen19f86202001-02-17 00:42:47 +0000249
Eric Andersen068b6b02002-12-13 22:53:28 +0000250else # ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000251
252all: menuconfig
253
Eric Andersenc9f20d92002-12-05 08:41:41 +0000254# configuration
255# ---------------------------------------------------------------------------
256
Rob Landleye1d96332005-08-24 00:41:52 +0000257scripts/config/conf: scripts/config/Makefile $(top_srcdir)/Rules.mak
Glenn L McGrathb19c73d2003-08-29 13:25:55 +0000258 $(MAKE) -C scripts/config conf
Eric Andersen068b6b02002-12-13 22:53:28 +0000259 -@if [ ! -f .config ] ; then \
Glenn L McGrath6376b582003-09-24 15:48:29 +0000260 cp $(CONFIG_DEFCONFIG) .config; \
Eric Andersen068b6b02002-12-13 22:53:28 +0000261 fi
Eric Andersen7daa0762004-10-08 07:46:08 +0000262
Rob Landleye1d96332005-08-24 00:41:52 +0000263scripts/config/mconf: scripts/config/Makefile $(top_srcdir)/Rules.mak
Glenn L McGrathb19c73d2003-08-29 13:25:55 +0000264 $(MAKE) -C scripts/config ncurses conf mconf
Eric Andersenc9f20d92002-12-05 08:41:41 +0000265 -@if [ ! -f .config ] ; then \
Glenn L McGrath6376b582003-09-24 15:48:29 +0000266 cp $(CONFIG_DEFCONFIG) .config; \
Eric Andersenc9f20d92002-12-05 08:41:41 +0000267 fi
268
269menuconfig: scripts/config/mconf
Glenn L McGrath6376b582003-09-24 15:48:29 +0000270 @./scripts/config/mconf $(CONFIG_CONFIG_IN)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000271
272config: scripts/config/conf
Glenn L McGrath6376b582003-09-24 15:48:29 +0000273 @./scripts/config/conf $(CONFIG_CONFIG_IN)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000274
275oldconfig: scripts/config/conf
Glenn L McGrath6376b582003-09-24 15:48:29 +0000276 @./scripts/config/conf -o $(CONFIG_CONFIG_IN)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000277
278randconfig: scripts/config/conf
Glenn L McGrath6376b582003-09-24 15:48:29 +0000279 @./scripts/config/conf -r $(CONFIG_CONFIG_IN)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000280
281allyesconfig: scripts/config/conf
Glenn L McGrath6376b582003-09-24 15:48:29 +0000282 @./scripts/config/conf -y $(CONFIG_CONFIG_IN)
Rob Landleya7e14db2005-09-11 01:16:47 +0000283 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 +0000284 @./scripts/config/conf -o $(CONFIG_CONFIG_IN)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000285
286allnoconfig: scripts/config/conf
Glenn L McGrath6376b582003-09-24 15:48:29 +0000287 @./scripts/config/conf -n $(CONFIG_CONFIG_IN)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000288
289defconfig: scripts/config/conf
Glenn L McGrath6376b582003-09-24 15:48:29 +0000290 @./scripts/config/conf -d $(CONFIG_CONFIG_IN)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000291
Eric Andersencc8ed391999-10-05 16:24:54 +0000292clean:
Rob Landleya7e14db2005-09-11 01:16:47 +0000293 - $(MAKE) -C scripts/config $@
Eric Andersenf7300882004-04-06 15:26:25 +0000294 - rm -f docs/busybox.dvi docs/busybox.ps \
295 docs/busybox.pod docs/busybox.net/busybox.html \
Eric Andersen24e098a2003-08-22 20:53:38 +0000296 docs/busybox pod2htm* *.gdb *.elf *~ core .*config.log \
297 docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \
298 docs/busybox.net/BusyBox.html busybox.links libbb/loop.h \
Rob Landley90252bb2005-09-20 14:09:57 +0000299 .config.old busybox
300 - rm -rf _install testsuite/links
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000301 - find . -name .\*.flags -exec rm -f {} \;
Eric Andersen87715172002-07-31 03:45:05 +0000302 - find . -name \*.o -exec rm -f {} \;
303 - find . -name \*.a -exec rm -f {} \;
Eric Andersencc8ed391999-10-05 16:24:54 +0000304
305distclean: clean
"Vladimir N. Oleynik"5e60dc42005-09-12 12:33:27 +0000306 - rm -f scripts/bb_mkdep
Mike Frysingerf9bd87b2005-08-11 21:59:52 +0000307 - rm -rf include/config include/config.h include/bb_config.h include/bbconfigopts.h
Eric Andersena9953432003-01-27 22:11:59 +0000308 - find . -name .depend -exec rm -f {} \;
Eric Andersenc9f20d92002-12-05 08:41:41 +0000309 rm -f .config .config.old .config.cmd
Eric Andersencc8ed391999-10-05 16:24:54 +0000310
Eric Andersenc9f20d92002-12-05 08:41:41 +0000311release: distclean #doc
Mike Frysingerfcafa4b2005-08-01 20:48:00 +0000312 cd ..; \
313 rm -rf $(PROG)-$(VERSION); \
314 cp -a busybox $(PROG)-$(VERSION); \
315 \
316 find $(PROG)-$(VERSION)/ -type d \
Eric Andersen4306bb12005-08-17 00:03:23 +0000317 -name .svn \
Mike Frysingerfcafa4b2005-08-01 20:48:00 +0000318 -print \
319 -exec rm -rf {} \; ; \
320 \
321 find $(PROG)-$(VERSION)/ -type f \
322 -name .\#* \
323 -print \
324 -exec rm -f {} \; ; \
325 \
Glenn L McGrath0874a612003-11-17 10:26:43 +0000326 tar -cvzf $(PROG)-$(VERSION).tar.gz $(PROG)-$(VERSION)/;
Mark Whitleydd23b8b2000-07-10 23:00:47 +0000327
Mark Whitleydd23b8b2000-07-10 23:00:47 +0000328tags:
329 ctags -R .
Matt Kraai4e05da82001-11-19 19:47:56 +0000330
Eric Andersenc9f20d92002-12-05 08:41:41 +0000331
Eric Andersen068b6b02002-12-13 22:53:28 +0000332endif # ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000333
Eric Andersen7daa0762004-10-08 07:46:08 +0000334endif # ifeq ($(skip-makefile),)
Eric Andersenc9f20d92002-12-05 08:41:41 +0000335
Eric Andersen7daa0762004-10-08 07:46:08 +0000336.PHONY: dummy subdirs release distclean clean config oldconfig \
337 menuconfig tags check test depend buildtree