Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Some small changes while I'm exploring the code. #78

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
*.orig
*.o
*.cmd
*.symvers
*.ko
.tmp_versions
*.order
*.mod.c

4 changes: 2 additions & 2 deletions Driver/enhanceio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ enhanceio_lru-y += eio_lru.o
all: modules
.PHONY: modules
modules: $(RHEL5_SETUP)
make -C $(KERNEL_TREE) M=$(PWD) modules V=0
make -C $(KERNEL_TREE) M=$(CURDIR) modules V=0
.PHONY: modules_install
modules_install: modules
install -o root -g root -m 0755 -d $(DESTDIR)/lib/modules/$(KERNEL_SOURCE_VERSION)/extra/enhanceio/
Expand All @@ -55,7 +55,7 @@ modules_install: modules
install: modules_install
.PHONY: clean
clean:
make -C $(KERNEL_TREE) M=$(PWD) clean
make -C $(KERNEL_TREE) M=$(CURDIR) clean
.PHONY: rhel5-setup
rhel5-setup: $(RHEL5_TREE)
make -C $(RHEL5_TREE) oldconfig ; \
Expand Down
2 changes: 1 addition & 1 deletion Driver/enhanceio/dkms.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PACKAGE_NAME="enhanceio"
PACKAGE_VERSION="#MODULE_VERSION#"
AUTOINSTALL="yes"

REMAKE_INITRD="no"
REMAKE_INITRD="yes"
MAKE="KERNEL_TREE=$kernel_source_dir make V=1"

BUILT_MODULE_NAME[0]="enhanceio"
Expand Down