linux: install modules in proper directories

This commit is contained in:
Muhammad Herdiansyah 2019-06-25 23:17:07 +07:00
parent 644f62ba16
commit d5db61bdbc
2 changed files with 4 additions and 4 deletions

View File

@ -1,16 +1,16 @@
#!/bin/sh -e #!/bin/sh -e
mkdir -p "$1/boot" "$1/lib/modules" mkdir -p "$1/boot" "$1/usr/lib/modules"
make defconfig make defconfig
make make
make \ make \
INSTALL_PATH="$1/boot" \ INSTALL_PATH="$1/boot" \
INSTALL_MOD_PATH="$1" \ INSTALL_MOD_PATH="$1/usr" \
modules_install modules_install
make \ make \
INSTALL_PATH="$1/boot" \ INSTALL_PATH="$1/boot" \
INSTALL_MOD_PATH="$1" \ INSTALL_MOD_PATH="$1/usr" \
install install

View File

@ -1 +1 @@
5.0.2 1 5.0.2 2