diff options
| author | Sam Ravnborg <sam@mars.ravnborg.org> | 2003-09-21 01:02:08 +0200 |
|---|---|---|
| committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2003-09-21 01:02:08 +0200 |
| commit | 0900977229ba94e87e7ce3bd348f6bc486296727 (patch) | |
| tree | 36dabf2fa9e19bcf8cb706f4a430c95805d346c8 /scripts | |
| parent | 5a808876e2f204cefdca16040d1d3662f4a503c3 (diff) | |
kbuild/rpm: Fix 'make rpm' and enable use of 'make O=dir rpm'
Simplify 'make rpm' a bit, and enable use of rpm in combination with separate
output directory.
Also added kernel.spec to ignore list
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/mkspec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkspec b/scripts/mkspec index c8795d20fde9..841512debca5 100755 --- a/scripts/mkspec +++ b/scripts/mkspec @@ -27,7 +27,7 @@ echo "Summary: The Linux Kernel" echo "Version: "$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION | sed -e "s/-//g" # we need to determine the NEXT version number so that uname and # rpm -q will agree -echo "Release: `. scripts/mkversion`" +echo "Release: `. $srctree/scripts/mkversion`" echo "License: GPL" echo "Group: System Environment/Kernel" echo "Vendor: The Linux Community" @@ -45,7 +45,7 @@ echo "%prep" echo "%setup -q" echo "" echo "%build" -echo "make clean oldconfig all" +echo "make clean all" echo "" echo "%install" echo 'mkdir -p $RPM_BUILD_ROOT/boot $RPM_BUILD_ROOT/lib $RPM_BUILD_ROOT/lib/modules' |
