aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/package/Makefile (follow)
AgeCommit message (Collapse)AuthorFilesLines
2004-08-10kbuild: Accept absolute paths in clean-files and introduce clean-dirsSam Ravnborg1-3/+3
Teach kbuild to accept absolute paths in clean-files. This avoids using clean-rules in several places. Introduced clean-dirs to delete complete directories. Kept clean-rule - but do not print anything when used. Cleaned up a few places now the infrastructure are improved. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2004-07-21kbuild: Rebuild .spec file when kernel version changesSam Ravnborg1-2/+2
Make a dependency in scripts/package/Makefile to top-level Makefile forcing .spec file to be generated when kernel version changes. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2004-07-21kbuild: build binary rpm from pre-built treeGreg Edwards1-0/+18
Many times it would be nice to quickly package up a kernel tree you're working on, without having to rebuild the whole thing again from a clean source tree (like the current rpm-pkg target does). The patch below adds an "binrpm-pkg" target which uses your existing (already built) tree. Modified by me to always do a make and use binrpm-pkg. Signed-off-by: Greg Edwards <edwardsg@sgi.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2004-06-20[PATCH] kbuild: add deb-pkg targetSam Ravnborg1-0/+71
To prepare kbuild for more kernel packaging formats move all packaging support to scripts/package. In top-level Makefile introduce generic support for all package formats using target names *-pkg. Included the old rpm target for backward compatibility. A new variable KBUILD_IMAGE is used to specify what kernel image will be part of the final package, and is to be set by the arch specific makefile. KBUILD_IMAGE may be overridden from command line or environment. KBUILD_IMAGE will see wider usage later, mainly when installing kernel images. Introducing KBUILD_IMAGE allowed arch specific details to be deleted from the mkspec and builddeb scripts. While in the process added the deb packet format. Script is From: Wichert Akkerman <wichert@wiggy.net> To create a RPM packet use 'make rpm-pkg'. To create a deb packet use 'make deb-pkg'. Both targets are included in 'make help' Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>