Commit a0ee687b authored by Manohar Vanga's avatar Manohar Vanga

Fixed build errors. Added scripts for compiling

Signed-off-by: 's avatarManohar Vanga <manohar.vanga@gmail.com>
parent 9942e0e7
#!/bin/bash
cd wishbone
make clean
cd ../wbtest
make clean
cd ../../spec
make clean
#!/bin/bash
cd wishbone
make
cd ../wbtest
make
cd ../../spec
make
obj-m += wbtest.o
EXTRA_CFLAGS += -I$(PWD)/../wishbone
#KERNEL_DIR=/lib/modules/$(shell uname -r)/build
KERNEL_DIR=/home/mvanga/dev/cern/linux/linux-torvalds
......
#include "../wb.h"
#include <wb.h>
struct wb_device_id wbtest_ids[] = {
{ WBONE_ANY_ID, WBONE_ANY_ID, WBONE_ANY_ID },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment