-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Making the build more generic.
* VERSION changed to CONFIG as it contains more vars now. * PKG_NAME introduced. * RPM_RELEASE generic for any rpm based distro.
- Loading branch information
1 parent
54afc73
commit e2142b9
Showing
6 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Version definition for driver | ||
|
||
# Package control vars | ||
PKG_NAME := mrfioc2-dkms | ||
DRV_NAME := mrf | ||
|
||
# 20240124 Release | ||
DRV_VERSION := 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
KERNELDIR ?= /lib/modules/$(shell uname -r)/build | ||
|
||
include VERSION | ||
include CONFIG | ||
|
||
all: modules | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
# Specify the group for the MRF driver user here | ||
|
||
# NOTE: group root can be adjusted by the configuration tool | ||
DRV_GROUP = root | ||
RPM_RELEASE = 1 | ||
DRV_NAME = mrf | ||
RPM_NAME = mrfioc2-dkms | ||
DIST ?= el7 | ||
DRV_GROUP := root | ||
RPM_RELEASE := 1 | ||
# NOTE: Not necessary DIST ?= el7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters