Makefile: add USE_E9 to the preprocessor flags and make the relevant files understand it

This commit is contained in:
Matheus
2022-11-04 16:02:29 -03:00
parent 62f51d638f
commit cf3c200863
4 changed files with 16 additions and 3 deletions
+4
View File
@@ -2,6 +2,8 @@
#include <arch/e9.h>
#include <sys/stat.h>
#ifdef USE_E9
#include <stddef.h>
#include <stdint.h>
@@ -26,3 +28,5 @@ static devcalls calls = {
void e9out_init(){
devman_newdevice("e9out", TYPE_CHARDEV, MAJOR_E9OUT, 0, &calls);
}
#endif