summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-04-19 04:00:00 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-04-19 04:00:00 +0000
commit46e045034336a2cc90c1798cd7cc07af744ddfd6 (patch)
tree3b9b51fc482e729f663d25333e77fbed9aaa939a /Makefile
parent31dc59d503a02e84c4de98826452acaeb56dc15a (diff)
Merge with Linux 2.3.99-pre4.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 18 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 4c60cd612..a2adc3484 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 3
SUBLEVEL = 99
-EXTRAVERSION = -pre3
+EXTRAVERSION = -pre4
KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
@@ -84,7 +84,7 @@ CPPFLAGS += -D__SMP__
endif
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-AFLAGS := $(CPPFLAGS)
+AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS)
#
# ROOT_DEV specifies the default root-device when making the image.
@@ -181,9 +181,9 @@ export CPPFLAGS CFLAGS AFLAGS
export NETWORKS DRIVERS LIBS HEAD LDFLAGS LINKFLAGS MAKEBOOT ASFLAGS
.S.s:
- $(CPP) -D__ASSEMBLY__ $(AFLAGS) -traditional -o $*.s $<
+ $(CPP) $(AFLAGS) -traditional -o $*.s $<
.S.o:
- $(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c -o $*.o $<
+ $(CC) $(AFLAGS) -traditional -c -o $*.o $<
Version: dummy
@rm -f include/linux/compile.h
@@ -370,6 +370,7 @@ clean: archclean
rm -f net/khttpd/times.h
rm -f submenu*
rm -rf modules
+ $(MAKE) -C Documentation/DocBook clean
mrproper: clean archmrproper
rm -f include/linux/autoconf.h include/linux/version.h
@@ -394,8 +395,7 @@ mrproper: clean archmrproper
rm -f .hdepend scripts/mkdep scripts/split-include scripts/docproc
rm -f $(TOPDIR)/include/linux/modversions.h
rm -rf $(TOPDIR)/include/linux/modules
- make clean TOPDIR=$(TOPDIR) -C Documentation/DocBook
-
+ $(MAKE) -C Documentation/DocBook mrproper
distclean: mrproper
find . -type f \( -name core -o -name '*.orig' -o -name '*.rej' \
-o -name '*~' -o -name '*.bak' -o -name '#*#' \
@@ -409,6 +409,14 @@ backup: mrproper
sgmldocs:
$(MAKE) -C $(TOPDIR)/Documentation/DocBook books
+psdocs: sgmldocs
+ $(MAKE) -C scripts docproc
+ $(MAKE) -C Documentation/DocBook ps
+
+pdfdocs: sgmldocs
+ $(MAKE) -C scripts docproc
+ $(MAKE) -C Documentation/DocBook pdf
+
sums:
find . -type f -print | sort | env -i xargs sum > .SUMS
@@ -431,7 +439,10 @@ checkconfig:
find * -name '*.[hcS]' -type f -print | grep -v scripts/ | sort | xargs $(PERL) -w scripts/checkconfig.pl
checkhelp:
- $(PERL) -w scripts/checkhelp.pl `find * -name [cC]onfig.in -print`
+ find * -name [cC]onfig.in -print | sort | xargs $(PERL) -w scripts/checkhelp.pl
+
+checkincludes:
+ find * -name '*.[hcS]' -type f -print | sort | xargs $(PERL) -w scripts/checkincludes.pl
ifdef CONFIGURATION
..$(CONFIGURATION):