# To build the pmu_logger module use the following command line # make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -C ../kernel/out SUBDIRS=$PWD modules # where # CROSS_COMPILE - prefix of the arm linux compiler # -C - location of the configured kernel source tree obj-m := pmu_logger.o