| Line | |
|---|
| 1 | /* $Id: Imakefile,v 1.3 2006/08/15 23:05:41 rohit Exp $ */ |
|---|
| 2 | |
|---|
| 3 | /* Only include portability and cxi headers in this layer */ |
|---|
| 4 | SetGplIncludePath() |
|---|
| 5 | |
|---|
| 6 | NormalObjectRule() |
|---|
| 7 | |
|---|
| 8 | #if (LINUX_KERNEL_VERSION >= 2061600) |
|---|
| 9 | comma = , |
|---|
| 10 | name-fix = $(subst $(comma),_,$(subst -,_,$1)) |
|---|
| 11 | basename_flags = -D"KBUILD_BASENAME=KBUILD_STR($(call name-fix,$(*F)))" |
|---|
| 12 | KCFLAGS += -D"KBUILD_STR(s)=\#s" $(basename_flags) |
|---|
| 13 | #endif |
|---|
| 14 | |
|---|
| 15 | HEADERS = |
|---|
| 16 | STD_INCLUDES += -I$(KERNEL_HEADER_DIR)/../arch/x86_64/mach-generic \ |
|---|
| 17 | -I$(KERNEL_HEADER_DIR)/asm-x86_64/mach-default |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | LINUX_CUSTOM = ss_x86_64.ko |
|---|
| 21 | GPL_LIBS = libarch-gpl_cust.a |
|---|
| 22 | |
|---|
| 23 | kLibraryTarget(libarch-gpl_cust.a, $(LINUX_CUSTOM)) |
|---|
| 24 | InstallLibraries($(GPL_LIBS), $(GPL_LIB_DIR)) |
|---|
| 25 | |
|---|
| 26 | TRACELIST = |
|---|
| 27 | |
|---|
| 28 | DependTargetPK() |
|---|
Note: See
TracBrowser
for help on using the repository browser.