Merge tag 'v4.1' into p/abusse/merge_upgrade
[projects/modsched/linux.git] / Makefile
index f5c8983..61c16aa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1591,3 +1591,10 @@ FORCE:
 # Declare the contents of the .PHONY variable as phony.  We keep that
 # information in a variable so we can use it in if_changed and friends.
 .PHONY: $(PHONY)
+
+ifeq ($(CONFIG_MOD_SCHED), y)
+KBUILD_CFLAGS += -DFW_OS_LINUX
+KBUILD_CFLAGS += -Ikernel/sched/modsched/framework/include \
+                                -Ikernel/sched/modsched/framework/include/generated 
+endif
+