patch-2.1.78 linux/Makefile
Next file: linux/Rules.make
Previous file: linux/MAINTAINERS
Back to the patch index
Back to the overall index
- Lines: 88
- Date:
Mon Jan 5 01:41:01 1998
- Orig file:
v2.1.77/linux/Makefile
- Orig date:
Fri Jan 2 14:37:01 1998
diff -u --recursive --new-file v2.1.77/linux/Makefile linux/Makefile
@@ -1,6 +1,6 @@
VERSION = 2
PATCHLEVEL = 1
-SUBLEVEL = 77
+SUBLEVEL = 78
ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/)
@@ -209,19 +209,23 @@
mkdir include/linux/modules; \
fi
-oldconfig: symlinks
+oldconfig: symlinks scripts/split-include
$(CONFIG_SHELL) scripts/Configure -d arch/$(ARCH)/config.in
+ scripts/split-include include/linux/autoconf.h include/config
-xconfig: symlinks
+xconfig: symlinks scripts/split-include
$(MAKE) -C scripts kconfig.tk
wish -f scripts/kconfig.tk
+ scripts/split-include include/linux/autoconf.h include/config
-menuconfig: include/linux/version.h symlinks
+menuconfig: include/linux/version.h symlinks scripts/split-include
$(MAKE) -C scripts/lxdialog all
$(CONFIG_SHELL) scripts/Menuconfig arch/$(ARCH)/config.in
+ scripts/split-include include/linux/autoconf.h include/config
-config: symlinks
+config: symlinks scripts/split-include
$(CONFIG_SHELL) scripts/Configure arch/$(ARCH)/config.in
+ scripts/split-include include/linux/autoconf.h include/config
linuxsubdirs: dummy
set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i; done
@@ -339,8 +343,9 @@
clean: archclean
rm -f kernel/ksyms.lst include/linux/compile.h
- rm -f core `find . -name '*.[oas]' ! -regex '.*lxdialog/.*' -print`
- rm -f core `find . -type f -name 'core' -print`
+ rm -f `find . -name '*.[oas]' ! -regex '.*lxdialog/.*' -print`
+ rm -f `find . -type f -name 'core' -print`
+ rm -f `find . -name '.*.flags' -print`
rm -f vmlinux System.map
rm -f .tmp*
rm -f drivers/char/consolemap_deftbl.c drivers/char/conmakehash
@@ -361,8 +366,9 @@
rm -f scripts/lxdialog/*.o scripts/lxdialog/lxdialog
rm -f .menuconfig.log
rm -f include/asm
+ rm -rf include/config
rm -f .depend `find . -name .depend -print`
- rm -f .hdepend scripts/mkdep
+ rm -f .hdepend scripts/mkdep scripts/split-include
rm -f $(TOPDIR)/include/linux/modversions.h
rm -rf $(TOPDIR)/include/linux/modules
rm -rf modules
@@ -380,10 +386,9 @@
find . -type f -print | sort | xargs sum > .SUMS
dep-files: scripts/mkdep archdep include/linux/version.h
- scripts/mkdep init/*.c > .tmpdepend
+ scripts/mkdep init/*.c > .depend
scripts/mkdep `find $(FINDHPATH) -follow -name \*.h ! -name modversions.h -print` > .hdepend
set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i fastdep; done
- mv .tmpdepend .depend
MODVERFILE :=
@@ -393,6 +398,9 @@
depend dep: dep-files $(MODVERFILE)
+checkconfig:
+ perl -w scripts/checkconfig.pl `find $(FINDHPATH) $(SUBDIRS) -name '*.[hcS]' -print | sort`
+
ifdef CONFIGURATION
..$(CONFIGURATION):
@echo
@@ -421,3 +429,6 @@
scripts/mkdep: scripts/mkdep.c
$(HOSTCC) $(HOSTCFLAGS) -o scripts/mkdep scripts/mkdep.c
+
+scripts/split-include: scripts/split-include.c
+ $(HOSTCC) $(HOSTCFLAGS) -o scripts/split-include scripts/split-include.c
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov