Now It should compile and NOT compile if deselected.
#
########## The following options can be changed ##########
#
########## The following options can be changed ##########
ifneq ($(wildcard ./Standalone.mk),)
# Standalone make outside of OCERA framework
ifneq ($(wildcard ./Standalone.mk),)
# Standalone make outside of OCERA framework
all: default
.PHONY: dep default subdirs clean cleandepend
all: default
.PHONY: dep default subdirs clean cleandepend
# Build in structure of OCERA framework
TOPDIR = $(LINUX_DIR)
# Build in structure of OCERA framework
TOPDIR = $(LINUX_DIR)
+COMPONENT = CONFIG_OC_LINCAN
+COMPONENT_NAME = lincan
+COMPONENT_TARGETS = default
ifneq ($(wildcard ../../../../ocera.mk),)
include ../../../../ocera.mk
ifneq ($(wildcard ../../../../ocera.mk),)
include ../../../../ocera.mk
+
+dirs = src utils
+
+default dep clean install:
+ $(foreach dir, $(dirs), $(MAKE) -C $(dir) $@ ; )
+
else
all:
@echo -e "\nTo build LinCAN driver for OCERA framework, ocera.mk file have"
else
all:
@echo -e "\nTo build LinCAN driver for OCERA framework, ocera.mk file have"