Changeset 516


Ignore:
Timestamp:
Nov 16, 2007, 6:57:35 PM (17 years ago)
Author:
andersk
Message:
Make it easier to override kvariants and kernvers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/fedora/Makefile

    r507 r516  
    122122        rpmbuild $(rpmbuild_args) -bb ${tmp_specs}/openafs*.spec
    123123
    124 openafs_rpmbuild_args = --define "fedorakmod 1" --define "kvariants ''" --define "kernvers $(shell rpm -q --qf "%{Version}-%{Release}\n" --whatprovides kernel | sort -n | tail -n1)"
     124kernvers = $(shell rpm -q --qf "%{Version}-%{Release}\n" --whatprovides kernel | sort -n | tail -n1)
     125kvariants = ''
     126openafs_rpmbuild_args = --define "fedorakmod 1" --define "kvariants $(kvariants)" --define "kernvers $(kernvers)"
    125127openafs: rpmbuild_args += $(openafs_rpmbuild_args)
    126128openafs-kernel: rpmbuild_args += $(openafs_rpmbuild_args) --define "build_userspace 0" --define "build_modules 1"
Note: See TracChangeset for help on using the changeset viewer.