"All systems go" commit. Everybody is
encouraged to give it a try. svn path=/branches/kernel-image-2.6.11/; revision=3205
This commit is contained in:
parent
c0665811a3
commit
6940307761
16
README
16
README
|
@ -176,19 +176,13 @@ initrd_modules
|
||||||
|
|
||||||
initrd_modules := kernel/drivers/video/vesafb.ko kernel/security/capability.ko
|
initrd_modules := kernel/drivers/video/vesafb.ko kernel/security/capability.ko
|
||||||
|
|
||||||
image_postproc [NOT IMPLEMENTED YET]
|
image_postproc
|
||||||
|
|
||||||
A command to be run on the kernel image after it's built. Location of
|
A command to be run after the kernel image is built. As far as I know,
|
||||||
the image will be appended to this command as the last argument. One
|
it only required on sparc for stripping of the kernel which is too big
|
||||||
usage is stripping the image on sparc, otherwise it is too big to be
|
to be booted otherwise. Typical use is too ugly to be presented here.
|
||||||
booted:
|
|
||||||
|
|
||||||
image_postproc := strip -R .comment -R .note -K sun4u_init -K _end -K _start
|
image_prefix
|
||||||
|
|
||||||
Note that for cross-compiling a proper strip command should be used
|
|
||||||
(such as sparc-linux-strip, or something like this).
|
|
||||||
|
|
||||||
image_prefix [NOT IMPLEMENTED YET]
|
|
||||||
|
|
||||||
This variable may contain an expression, which will be used as a wrapper
|
This variable may contain an expression, which will be used as a wrapper
|
||||||
for the make-kpkg when its target is kernel_image. This option is a kludge,
|
for the make-kpkg when its target is kernel_image. This option is a kludge,
|
||||||
|
|
5
TODO
5
TODO
|
@ -1,10 +1,7 @@
|
||||||
Major TODO items remaining:
|
Some things to think about:
|
||||||
|
|
||||||
* Looks like it would be optimal to have a common kernel-headers package
|
* Looks like it would be optimal to have a common kernel-headers package
|
||||||
which would contain common headers for all arches without unmerged patches.
|
which would contain common headers for all arches without unmerged patches.
|
||||||
|
|
||||||
* Various remaining kludges (stripping and sparc32/sparc64 stuff on sparc,
|
|
||||||
for example).
|
|
||||||
|
|
||||||
* Generate the control file for individual files dynamically, so that we
|
* Generate the control file for individual files dynamically, so that we
|
||||||
do not have that ridiculous master control file.
|
do not have that ridiculous master control file.
|
||||||
|
|
|
@ -70,7 +70,8 @@ endif
|
||||||
ifdef build_makeflags
|
ifdef build_makeflags
|
||||||
kpkg_build_cmd := MAKEFLAGS=$(build_makeflags) $(kpkg_build_cmd)
|
kpkg_build_cmd := MAKEFLAGS=$(build_makeflags) $(kpkg_build_cmd)
|
||||||
endif
|
endif
|
||||||
kpkg_image_cmd := $(kpkg_build_cmd) --initrd kernel_image
|
kpkg_image_cmd := $(if $(image_prefix),$(image_prefix))
|
||||||
|
kpkg_image_cmd += $(kpkg_build_cmd) --initrd kernel_image
|
||||||
kpkg_build_cmd += build
|
kpkg_build_cmd += build
|
||||||
kpkg_headers_cmd += kernel-headers
|
kpkg_headers_cmd += kernel-headers
|
||||||
ifndef headers_dirs
|
ifndef headers_dirs
|
||||||
|
@ -93,12 +94,7 @@ unpack-stamp-$(subarch): $(configs) header-install-$(subarch) $(bdirs)
|
||||||
rm -f $(configs)
|
rm -f $(configs)
|
||||||
touch unpack-stamp-$(subarch)
|
touch unpack-stamp-$(subarch)
|
||||||
#
|
#
|
||||||
# TODO:
|
#
|
||||||
# * Implement optional stripping of the kernel
|
|
||||||
# (for sparc).
|
|
||||||
# * Check that it is really ok to call --subarch
|
|
||||||
# with the name of the flavour. For mips which
|
|
||||||
# is another --subarch user it should be fine.
|
|
||||||
#
|
#
|
||||||
build: build-stamp-$(subarch)
|
build: build-stamp-$(subarch)
|
||||||
build-stamp-$(subarch): unpack-stamp-$(subarch)
|
build-stamp-$(subarch): unpack-stamp-$(subarch)
|
||||||
|
@ -107,6 +103,7 @@ build-stamp-$(subarch): unpack-stamp-$(subarch)
|
||||||
for i in $(flavours); do \
|
for i in $(flavours); do \
|
||||||
cd build-$(subarch)-$$i; \
|
cd build-$(subarch)-$$i; \
|
||||||
$(kpkg_build_cmd); \
|
$(kpkg_build_cmd); \
|
||||||
|
$(if $(image_postproc),$(image_postproc),true); \
|
||||||
cd ..; \
|
cd ..; \
|
||||||
done
|
done
|
||||||
touch build-stamp-$(subarch)
|
touch build-stamp-$(subarch)
|
||||||
|
|
Loading…
Reference in New Issue