1
0
mirror of https://github.com/rancher/os-kernel.git synced 2025-09-16 06:48:16 +00:00

Allow to hook in scripts that build custom drivers

If you have a script that build a custom driver, you could place it
in scripts/hooks directory, the ci script will build it in order.
This commit is contained in:
2016-04-19 07:48:56 +00:00
committed by Liyi Meng
parent 6c31809b42
commit 7053c653e1
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
# This should be an excutable shell script, which builds your customized driver in to kernel.
#
# To minimize maintenance, it is better to be self-sufficent, or with minimum external dependencies.
# e.g. gcc mydriver.c
#
# A real world example is shown at https://github.com/rancher/os-kernel/commit/93b71d24fb6368d38f562184d6fb5a97926265df
#