Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
871f6b39
Commit
871f6b39
authored
Aug 16, 2002
by
Kai Germaschewski
Browse files
Options
Browse Files
Download
Plain Diff
kbuild: Hand merge
parents
75db34bc
edc947d2
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
44 additions
and
45 deletions
+44
-45
Makefile
Makefile
+2
-4
drivers/char/Makefile
drivers/char/Makefile
+2
-4
drivers/video/Makefile
drivers/video/Makefile
+2
-4
scripts/Makefile
scripts/Makefile
+36
-31
scripts/conmakehash.c
scripts/conmakehash.c
+0
-0
scripts/lxdialog/Makefile
scripts/lxdialog/Makefile
+2
-2
No files found.
Makefile
View file @
871f6b39
...
@@ -637,12 +637,9 @@ MRPROPER_FILES += \
...
@@ -637,12 +637,9 @@ MRPROPER_FILES += \
sound/oss/pndspini.c
\
sound/oss/pndspini.c
\
drivers/atm/fore200e_
*
_fw.c drivers/atm/.fore200e_
*
.fw
\
drivers/atm/fore200e_
*
_fw.c drivers/atm/.fore200e_
*
.fw
\
.version .config
*
config.in config.old
\
.version .config
*
config.in config.old
\
scripts/tkparse scripts/kconfig.tk scripts/kconfig.tmp
\
scripts/lxdialog/
*
.o scripts/lxdialog/lxdialog
\
.menuconfig.log
\
.menuconfig.log
\
include/asm
\
include/asm
\
.hdepend scripts/split-include scripts/docproc
\
.hdepend
$(TOPDIR)
/include/linux/modversions.h
\
scripts/fixdep
$(TOPDIR)
/include/linux/modversions.h
\
tags TAGS kernel.spec
\
tags TAGS kernel.spec
\
.tmpversion
.tmpversion
...
@@ -672,6 +669,7 @@ mrproper: clean archmrproper
...
@@ -672,6 +669,7 @@ mrproper: clean archmrproper
-type
f
-print
| xargs
rm
-f
-type
f
-print
| xargs
rm
-f
@
rm
-f
$(MRPROPER_FILES)
@
rm
-f
$(MRPROPER_FILES)
@
rm
-rf
$(MRPROPER_DIRS)
@
rm
-rf
$(MRPROPER_DIRS)
@
$(MAKE)
-C
scripts mrproper
@
$(MAKE)
-f
Documentation/DocBook/Makefile mrproper
@
$(MAKE)
-f
Documentation/DocBook/Makefile mrproper
distclean
:
mrproper
distclean
:
mrproper
...
...
drivers/char/Makefile
View file @
871f6b39
...
@@ -209,12 +209,10 @@ obj-$(CONFIG_AGP) += agp/
...
@@ -209,12 +209,10 @@ obj-$(CONFIG_AGP) += agp/
obj-$(CONFIG_DRM)
+=
drm/
obj-$(CONFIG_DRM)
+=
drm/
obj-$(CONFIG_PCMCIA)
+=
pcmcia/
obj-$(CONFIG_PCMCIA)
+=
pcmcia/
host-progs
:=
conmakehash
include
$(TOPDIR)/Rules.make
include
$(TOPDIR)/Rules.make
$(obj)/consolemap_deftbl.c
:
$(src)/$(FONTMAPFILE)
$(obj)/conmakehash
$(obj)/consolemap_deftbl.c
:
$(src)/$(FONTMAPFILE)
$(
obj)
/conmakehash
$<
>
$@
$(
call
do_cmd,CONMK
$(echo_target)
,
$(objtree)
/scripts/conmakehash
$<
>
$@
)
$(obj)/defkeymap.o
:
$(obj)/defkeymap.c
$(obj)/defkeymap.o
:
$(obj)/defkeymap.c
...
...
drivers/video/Makefile
View file @
871f6b39
...
@@ -119,12 +119,10 @@ obj-$(CONFIG_FBCON_HGA) += fbcon-hga.o
...
@@ -119,12 +119,10 @@ obj-$(CONFIG_FBCON_HGA) += fbcon-hga.o
obj-$(CONFIG_FBCON_STI)
+=
fbcon-sti.o
obj-$(CONFIG_FBCON_STI)
+=
fbcon-sti.o
obj-$(CONFIG_FBCON_ACCEL)
+=
fbcon-accel.o
obj-$(CONFIG_FBCON_ACCEL)
+=
fbcon-accel.o
host-progs
:=
../char/conmakehash
include
$(TOPDIR)/Rules.make
include
$(TOPDIR)/Rules.make
$(obj)/promcon_tbl.c
:
$(src)/prom.uni
$(obj)/../char/conmakehash
$(obj)/promcon_tbl.c
:
$(src)/prom.uni
$(obj
)
/../char
/conmakehash
$<
|
\
$(obj
tree)
/scripts
/conmakehash
$<
|
\
sed
-e
'/#include <[^>]*>/p'
-e
's/types/init/'
\
sed
-e
'/#include <[^>]*>/p'
-e
's/types/init/'
\
-e
's/dfont\(_uni.*\]\)/promfont\1 __initdata/'
>
$@
-e
's/dfont\(_uni.*\]\)/promfont\1 __initdata/'
>
$@
scripts/Makefile
View file @
871f6b39
###
# always needed
# scripts contains sources for various helper programs used throughout
# the kernel for the build process.
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
# fix-dep: Used to generate dependency information during build process
# split-include: Divide all config symbols up in a number of files in
# include/config/...
# docproc: Preprocess .tmpl file in order to generate .sgml documentation
# conmakehash: Create arrays for initializing the kernel console tables
# tkparse: Used by xconfig
all
:
fixdep split-include docproc __chmod
all
:
fixdep split-include docproc
conmakehash
__chmod
# The following temporary rule will make sure that people's
# The following temporary rule will make sure that people's
# trees get updated to the right permissions, since patch(1)
# trees get updated to the right permissions, since patch(1)
...
@@ -14,47 +21,45 @@ all: fixdep split-include docproc __chmod
...
@@ -14,47 +21,45 @@ all: fixdep split-include docproc __chmod
__chmod
:
kernel-doc mkcompile_h makelst
__chmod
:
kernel-doc mkcompile_h makelst
@
chmod
a+x
$^
@
chmod
a+x
$^
# xconfig
host-progs
:=
fixdep split-include conmakehash docproc tkparse
# ---------------------------------------------------------------------------
tkparse-objs
:=
tkparse.o tkcond.o tkgen.o
HEADER
=
header.tk
include
$(TOPDIR)/Rules.make
TAIL
=
tail.tk
# Previous versions always remade kconfig.tk because they always depended
# on soundscript. This runs fairly fast, and I can't find all the
# Config.in files to depend on anyways. So I'll force it to remake.
kconfig.tk
:
$(TOPDIR)/arch/$(ARCH)/config.in tkparse $(HEADER) $(TAIL) FORCE
# In reality kconfig.tk should depend on all Config.in files,
# but it is not worth the effort to generate the dependencies.
# The alternative solution to always generate it is fairly fast.
# FORCE it to remake
$(obj)/kconfig.tk
:
$(srctree)/arch/$(ARCH)/config.in tkparse FORCE
@
echo
' Generating $@'
@
echo
' Generating $@'
@
(
\
@
(
\
if
[
-f
/usr/local/bin/wish
]
;
then
\
if
[
-f
/usr/local/bin/wish
]
;
then
\
echo
'#!'
"/usr/local/bin/wish -f"
;
\
echo
'#!'
"/usr/local/bin/wish -f"
;
\
else
\
else
\
echo
'#!'
"/usr/bin/wish -f"
;
\
echo
'#!'
"/usr/bin/wish -f"
;
\
fi
;
\
fi
;
\
cat
$(HEADER)
;
\
cat
$(src)
/header.tk
;
\
./tkparse <
$<
;
\
$(obj)
/tkparse <
$<
;
\
echo
"set defaults
\"
arch/
${ARCH}
/defconfig
\"
"
;
\
echo
"set defaults
\"
arch/
${ARCH}
/defconfig
\"
"
;
\
echo
"set ARCH
\"
${ARCH}
\"
"
;
\
echo
"set ARCH
\"
${ARCH}
\"
"
;
\
cat
$(TAIL)
\
cat
$(src)
/tail.tk
;
\
)
>
$@
)
>
$@
chmod
755
$@
@
chmod
755
$@
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
# Targets hardcoded and wellknow in top-level makefile
.PHONY
:
lxdialog
.PHONY
:
lxdialog
lxdialog
:
lxdialog
:
$(MAKE)
-C
lxdialog all
$(MAKE)
-C
lxdialog all
# ---------------------------------------------------------------------------
host-progs
:=
fixdep split-include docproc tkparse
tkparse-objs
:=
tkparse.o tkcond.o tkgen.o
# fixdep is needed to compile other host programs
# fixdep is needed to compile other host programs
$(obj)/split
-include
$(obj)/docproc $(addprefix $(obj)/,$(tkparse-objs)) \
$(obj)/conmakehash lxdialog
:
$(obj)/fixdep
split-include docproc $(tkparse-objs) lxdialog
:
fixdep
mrproper
:
@
echo
'Making mrproper (scripts)'
@
rm
-f
$
(
tkparse-objs
)
$(obj)
/kconfig.tk
@
rm
-f
core
$
(
host-progs
)
@
$(MAKE)
-C
lxdialog mrproper
include
$(TOPDIR)/Rules.make
drivers/char
/conmakehash.c
→
scripts
/conmakehash.c
View file @
871f6b39
File moved
scripts/lxdialog/Makefile
View file @
871f6b39
...
@@ -39,5 +39,5 @@ ncurses:
...
@@ -39,5 +39,5 @@ ncurses:
exit
1
;
\
exit
1
;
\
fi
fi
clean
:
mrproper
:
rm
-f
core
*
.o
*
~ lxdialog
@
rm
-f
core
$
(
host-progs
)
$
(
lxdialog-objs
)
ncurses
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment