Remove hardcoded initfs folder
initfs folder should be specified in INITFS_FOLDER environment variable As a result kernel module can be compiled on it's own.
This commit is contained in:
@@ -15,8 +15,7 @@ mod gen {
|
||||
}
|
||||
|
||||
#[cfg(not(test))]
|
||||
#[path="../../../build/userspace/initfs.rs"]
|
||||
mod gen;
|
||||
include!(concat!(env!("OUT_DIR"), "/gen.rs"));
|
||||
|
||||
struct Handle {
|
||||
path: &'static [u8],
|
||||
|
||||
Reference in New Issue
Block a user