[CentOS] hfsplus.ko

Jerry Geis geisj at pagestation.com
Thu Sep 1 21:05:37 UTC 2011


  I'm not all that excited about using another repo.

I changed the makefile to:
obj-m += hfsplus.o

all:
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) bfind.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) bitmap.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) bnode.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) brec.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) btree.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) catalog.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) dir.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) extents.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) inode.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) ioctl.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) options.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) part_tbl.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) super.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) tables.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) unicode.o
         make -C /lib/modules/$(shell uname -r)/build M=$(PWD) wrapper.o

I extracted the source for 2.6.32.46 and found the fs/hfsplus directory.
The above files are present. I changed the makefile to the above.

All the files compile - however I dont know how to make the hfsplus.ko
What step does that take?

Thanks, ( I know most people just use the repo - but I can't do that).

jerry



More information about the CentOS mailing list