-
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
c7248d4
commit 80a900d
Showing
6 changed files
with
19 additions
and
20 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 | ||
# 20240124 Release | ||
DRV_VERSION := 3 | ||
|
||
# Package control vars | ||
PKG_NAME := mrfioc2-dkms | ||
DRV_NAME := mrf | ||
DRV_GROUP := mrf |
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,3 @@ | ||
# 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 | ||
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