diff options
Diffstat (limited to 'sys-apps/smc-sum/files/makefile')
-rw-r--r-- | sys-apps/smc-sum/files/makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-apps/smc-sum/files/makefile b/sys-apps/smc-sum/files/makefile new file mode 100644 index 000000000000..35564dcc8fec --- /dev/null +++ b/sys-apps/smc-sum/files/makefile @@ -0,0 +1,15 @@ +obj-m := sum_bios.o + +KVERSION := $(shell uname -r) +KDIR := /lib/modules/$(KVERSION)/build +PWD := $(shell pwd) + +EXTRA_CFLAGS = $(CFLAGS) -Wno-incompatible-pointer-types +EXTRA_LDFLAGS = $(LDFLAGS) + +default: + $(MAKE) -C $(KDIR) M=$(PWD) modules + +install: + $(MAKE) -C $(KDIR) M=$(PWD) modules_install + |