From 3e5b474f9cd113def3be02af0cf6d5401a7427c9 Mon Sep 17 00:00:00 2001 From: pagnin Date: Tue, 23 Sep 2003 12:40:01 +0000 Subject: [PATCH] Added Fixes to the CAN and ORTE Components Tree. Now It should compile and NOT compile if deselected. --- lincan/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lincan/Makefile b/lincan/Makefile index 60ca0a6..87f2000 100644 --- a/lincan/Makefile +++ b/lincan/Makefile @@ -9,11 +9,12 @@ # ########## The following options can be changed ########## -SUBDIRS = src utils ifneq ($(wildcard ./Standalone.mk),) # Standalone make outside of OCERA framework +SUBDIRS = src utils + all: default .PHONY: dep default subdirs clean cleandepend @@ -27,9 +28,18 @@ else # 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 + +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" -- 2.39.2