Initial commit. Client and net aer build
[kernel/swap-modules.git] / driver / Kbuild
1 include $(project_pwd)/common.mk
2
3 program_name := $(driver_name)
4 source_dirs := $(project_pwd)/$(src_path)/$(driver_path)
5 include_dirs := $(project_pwd)/$(src_path)/$(common_path) \
6         $(project_pwd)/$(src_path)/$(probes_path)
7 include_libs := 
8 special_defines := EC_ARCH_$(target_cpu)
9 ifeq ($(specific_target), chelsea)
10     special_defines += KERNEL_HAS_ISPAGEPRESENT
11 endif
12 special_compiling_flags := 
13 special_linking_flags := 
14 ifeq ($(memory_checker), yes)
15 special_defines += MEMORY_CHECKER
16 endif
17 ifeq ($(thread_profiler), yes)
18 special_defines += THREAD_PROFILER
19 endif
20
21 include $(project_pwd)/rules-m.mk