Browse Source

Default

master
Root 5 years ago
parent
commit
d387f3a364
  1. 1
      .gitignore
  2. 3
      install.sh
  3. 7
      rkkern/Makefile

1
.gitignore vendored

@ -1,4 +1,5 @@ @@ -1,4 +1,5 @@
bin
logs
*.lo
*.ign
.libs

3
install.sh

@ -28,6 +28,9 @@ CHATTR_OUTPUT=$(touch children; chattr +ia children &>output; cat output) @@ -28,6 +28,9 @@ CHATTR_OUTPUT=$(touch children; chattr +ia children &>output; cat output)
chattr -ia children &>/dev/null
rm -f children output
mkdir -p logs/
mkdir -p bin/
install_prerequisites ()
{
if [ -f /usr/bin/yum ]; then

7
rkkern/Makefile

@ -11,15 +11,12 @@ default: @@ -11,15 +11,12 @@ default:
###########################################
# Compilation and Linking process
###########################################
.PHONY: .PREPARE all
.PREPARE:
@mkdir -p ../bin/
.PHONY: all
all: .PREPARE
all:
@echo "Compiling rkkern!"
@$(MAKE) modules \
-C /lib/modules/$(shell uname -r)/build M=$(PWD)
@cp *.ko ../bin/
###########################################
# Clean up process

Loading…
Cancel
Save