aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /scripts
Linux-2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/Lindent2
-rw-r--r--scripts/Makefile22
-rw-r--r--scripts/Makefile.build330
-rw-r--r--scripts/Makefile.clean94
-rw-r--r--scripts/Makefile.host155
-rw-r--r--scripts/Makefile.lib267
-rw-r--r--scripts/Makefile.modinst29
-rw-r--r--scripts/Makefile.modpost110
-rw-r--r--scripts/basic/Makefile18
-rw-r--r--scripts/basic/docproc.c398
-rw-r--r--scripts/basic/fixdep.c390
-rw-r--r--scripts/basic/split-include.c226
-rw-r--r--scripts/bin2c.c36
-rw-r--r--scripts/binoffset.c163
-rwxr-xr-xscripts/checkconfig.pl65
-rwxr-xr-xscripts/checkincludes.pl24
-rw-r--r--scripts/checkstack.pl123
-rwxr-xr-xscripts/checkversion.pl72
-rw-r--r--scripts/conmakehash.c293
-rwxr-xr-xscripts/extract-ikconfig77
-rw-r--r--scripts/gcc-version.sh14
-rw-r--r--scripts/gen_initramfs_list.sh203
-rw-r--r--scripts/genksyms/Makefile49
-rw-r--r--scripts/genksyms/genksyms.c591
-rw-r--r--scripts/genksyms/genksyms.h104
-rw-r--r--scripts/genksyms/keywords.c_shipped145
-rw-r--r--scripts/genksyms/keywords.gperf50
-rw-r--r--scripts/genksyms/lex.c_shipped2084
-rw-r--r--scripts/genksyms/lex.l407
-rw-r--r--scripts/genksyms/parse.c_shipped1577
-rw-r--r--scripts/genksyms/parse.h_shipped46
-rw-r--r--scripts/genksyms/parse.y469
-rw-r--r--scripts/kallsyms.c686
-rw-r--r--scripts/kconfig/Makefile208
-rw-r--r--scripts/kconfig/conf.c583
-rw-r--r--scripts/kconfig/confdata.c460
-rw-r--r--scripts/kconfig/expr.c1099
-rw-r--r--scripts/kconfig/expr.h195
-rw-r--r--scripts/kconfig/gconf.c1639
-rw-r--r--scripts/kconfig/gconf.glade543
-rw-r--r--scripts/kconfig/images.c326
-rw-r--r--scripts/kconfig/kconfig_load.c35
-rw-r--r--scripts/kconfig/lex.zconf.c_shipped3688
-rw-r--r--scripts/kconfig/lkc.h123
-rw-r--r--scripts/kconfig/lkc_proto.h40
-rw-r--r--scripts/kconfig/mconf.c1090
-rw-r--r--scripts/kconfig/menu.c390
-rw-r--r--scripts/kconfig/qconf.cc1407
-rw-r--r--scripts/kconfig/qconf.h263
-rw-r--r--scripts/kconfig/symbol.c816
-rw-r--r--scripts/kconfig/util.c109
-rw-r--r--scripts/kconfig/zconf.l366
-rw-r--r--scripts/kconfig/zconf.tab.c_shipped2130
-rw-r--r--scripts/kconfig/zconf.tab.h_shipped125
-rw-r--r--scripts/kconfig/zconf.y690
-rwxr-xr-xscripts/kernel-doc1831
-rw-r--r--scripts/ksymoops/README8
-rw-r--r--scripts/lxdialog/BIG.FAT.WARNING4
-rw-r--r--scripts/lxdialog/Makefile42
-rw-r--r--scripts/lxdialog/checklist.c373
-rw-r--r--scripts/lxdialog/colors.h155
-rw-r--r--scripts/lxdialog/dialog.h187
-rw-r--r--scripts/lxdialog/inputbox.c240
-rw-r--r--scripts/lxdialog/lxdialog.c226
-rw-r--r--scripts/lxdialog/menubox.c445
-rw-r--r--scripts/lxdialog/msgbox.c85
-rw-r--r--scripts/lxdialog/textbox.c556
-rw-r--r--scripts/lxdialog/util.c359
-rw-r--r--scripts/lxdialog/yesno.c118
-rwxr-xr-xscripts/makelst31
-rwxr-xr-xscripts/makeman185
-rwxr-xr-xscripts/mkcompile_h78
-rw-r--r--scripts/mkmakefile31
-rw-r--r--scripts/mksysmap44
-rwxr-xr-xscripts/mkuboot.sh16
-rw-r--r--scripts/mkversion6
-rw-r--r--scripts/mod/Makefile16
-rw-r--r--scripts/mod/empty.c1
-rw-r--r--scripts/mod/file2alias.c308
-rw-r--r--scripts/mod/mk_elfconfig.c65
-rw-r--r--scripts/mod/modpost.c797
-rw-r--r--scripts/mod/modpost.h107
-rw-r--r--scripts/mod/sumversion.c498
-rw-r--r--scripts/namespace.pl454
-rw-r--r--scripts/package/Makefile89
-rw-r--r--scripts/package/builddeb79
-rwxr-xr-xscripts/package/mkspec82
-rwxr-xr-xscripts/patch-kernel257
-rw-r--r--scripts/pnmtologo.c508
-rw-r--r--scripts/reference_discarded.pl110
-rw-r--r--scripts/reference_init.pl107
-rw-r--r--scripts/show_delta129
-rwxr-xr-xscripts/split-man112
-rwxr-xr-xscripts/ver_linux95
94 files changed, 34478 insertions, 0 deletions
diff --git a/scripts/Lindent b/scripts/Lindent
new file mode 100755
index 00000000000..34ed785116b
--- /dev/null
+++ b/scripts/Lindent
@@ -0,0 +1,2 @@
1#!/bin/sh
2indent -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"
diff --git a/scripts/Makefile b/scripts/Makefile
new file mode 100644
index 00000000000..67763eeb8a3
--- /dev/null
+++ b/scripts/Makefile
@@ -0,0 +1,22 @@
1###
2# scripts contains sources for various helper programs used throughout
3# the kernel for the build process.
4# ---------------------------------------------------------------------------
5# kallsyms: Find all symbols in vmlinux
6# pnmttologo: Convert pnm files to logo files
7# conmakehash: Create chartable
8# conmakehash: Create arrays for initializing the kernel console tables
9
10hostprogs-$(CONFIG_KALLSYMS) += kallsyms
11hostprogs-$(CONFIG_LOGO) += pnmtologo
12hostprogs-$(CONFIG_VT) += conmakehash
13hostprogs-$(CONFIG_PROM_CONSOLE) += conmakehash
14hostprogs-$(CONFIG_IKCONFIG) += bin2c
15
16always := $(hostprogs-y)
17
18subdir-$(CONFIG_MODVERSIONS) += genksyms
19subdir-$(CONFIG_MODULES) += mod
20
21# Let clean descend into subdirs
22subdir- += basic lxdialog kconfig package
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
new file mode 100644
index 00000000000..352d531ee3c
--- /dev/null
+++ b/scripts/Makefile.build
@@ -0,0 +1,330 @@
1# ==========================================================================
2# Building
3# ==========================================================================
4
5src := $(obj)
6
7.PHONY: __build
8__build:
9
10# Read .config if it exist, otherwise ignore
11-include .config
12
13include $(if $(wildcard $(obj)/Kbuild), $(obj)/Kbuild, $(obj)/Makefile)
14
15include scripts/Makefile.lib
16
17ifdef host-progs
18ifneq ($(hostprogs-y),$(host-progs))
19$(warning kbuild: $(obj)/Makefile - Usage of host-progs is deprecated. Please replace with hostprogs-y!)
20hostprogs-y += $(host-progs)
21endif
22endif
23
24# Do not include host rules unles needed
25ifneq ($(hostprogs-y)$(hostprogs-m),)
26include scripts/Makefile.host
27endif
28
29ifneq ($(KBUILD_SRC),)
30# Create output directory if not already present
31_dummy := $(shell [ -d $(obj) ] || mkdir -p $(obj))
32
33# Create directories for object files if directory does not exist
34# Needed when obj-y := dir/file.o syntax is used
35_dummy := $(foreach d,$(obj-dirs), $(shell [ -d $(d) ] || mkdir -p $(d)))
36endif
37
38
39ifdef EXTRA_TARGETS
40$(warning kbuild: $(obj)/Makefile - Usage of EXTRA_TARGETS is obsolete in 2.6. Please fix!)