diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 25 |
1 files changed, 18 insertions, 7 deletions
@@ -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): |