]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Added OMIT_KERNEL_PASSES variable in linux rules.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 1 Jul 2006 10:57:00 +0000 (10:57 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 1 Jul 2006 10:57:00 +0000 (10:57 +0000)
darcs-hash:20060701105749-f2ef6-a5839c26203637acb63a9506d7860a5ff77fd2b9.gz

snippets/linux

index 5f9a695c7a516eb02a5d71c5b0a3050dd7df0323..9810ed52a9b72f133a488274d23921e77d9c6490 100644 (file)
@@ -21,6 +21,7 @@
 # rtlinux_INCLUDES .. additional include directories and defines for RT-Linux
 # QT_SUBDIRS       .. subdirectories where to build QT applications using qmake
 # QTDIR                   .. where QT resides
+# OMIT_KERNEL_PASSES  if defined, all kernel passes are omited
 #
 # LINUX_DIR        .. location of Linux kernel sources
 # RTL_DIR          .. location of RT-Linux sources
@@ -675,7 +676,10 @@ clean-local: clean-custom
            touch -t 200001010101 $(KERN_LIB_DIR)/kernel.mk ; \
        fi
 
-default: $(check-dir) include-pass library-pass binary-pass utils-pass kernel-lib-pass kernel-pass
+ifndef OMIT_KERNEL_PASSES
+kernel-passes = kernel-lib-pass kernel-pass
+endif
+default: $(check-dir) include-pass library-pass binary-pass utils-pass $(kernel-passes)
 
 # Local Variables:
 # mode:makefile