]> rtime.felk.cvut.cz Git - omk.git/blobdiff - snippets/vxworks
The kernelcfg2mk is located in MAKERULES_DIR and not OUTPUT_DIR.
[omk.git] / snippets / vxworks
index 3eb411360395a28c8e124f1da2336350ab812000..d71b501313c7876790d13100bbdbd67baf6c6e57 100644 (file)
 # test_PROGRAMS    .. list of the test programs
 # utils_PROGRAMS   .. list of the development utility programs
 # xxx_SOURCES      .. list of specific target sources
+# xxx_LIBS         .. list of specific target libraries
 # INCLUDES         .. additional include directories and defines for user-space
 
-# Include VxWorks target configuration containig definition of these
-# variables: WIND_BASE CPU TOOL
--include $(MAKERULES_DIR)/config.target
 ifndef WRENV
 $(error $(shell $(call canttest,WRENV is not defined in config.target)))
 endif
@@ -58,13 +56,14 @@ kernel-modpost-pass: kernel-mod-pass
 kernel-pass: kernel-mod-pass kernel-modpost-pass
 
 override OMK_SERIALIZE_INCLUDED = y
+MAKEOVERRIDES := $(filter-out OMK_SERIALIZE_INCLUDED=n,$(MAKEOVERRIDES))
 endif
 
 # Checks for OMK tester
 ifdef OMK_TESTSROOT
 default-config-pass-check include-pass-check:
 library-pass-check binary-pass-check:
-       @[ -x "$(shell which $(CC))" ] || $(call canttest,Cannot file compiler: $(CC))
+       @[ -x "$(shell which $(CC))" ] || $(call canttest,Cannot find compiler: $(CC))
        @[ -x "$(WRENV)" ] || $(call canttest,Cannot execute wrenv script)
 endif
 
@@ -178,8 +177,9 @@ $(foreach lib,$(lib_LIBRARIES),$(eval $(call LIBRARY_template,$(lib))))
 
 $(foreach lib,$(shared_LIBRARIES),$(eval $(call SOLIB_template,$(lib))))
 
-OTHER_PASSES = clean install include-pass
-$(eval $(call omk_pass_template,$(OTHER_PASSES),$(USER_OBJS_DIR),,always))
+$(eval $(call omk_pass_template,clean,$(USER_OBJS_DIR),,always))
+$(eval $(call omk_pass_template,install,$(USER_OBJS_DIR),,always))
+$(eval $(call omk_pass_template,include-pass,$(USER_OBJS_DIR),,always))
 
 include-pass-local:
        $(call include-pass-template,$(USER_INCLUDE_DIR),include)