Skip to content

Commit edcd8f0

Browse files
tianhuasjren1
authored andcommitted
Makefile cleanup
remove TARGET_YOCTO replace "=" with "?=" if variable is defined, don't redefine. Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com>
1 parent 4f40b53 commit edcd8f0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

devicemodel/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ RC_VERSION=2
77
BASEDIR := $(shell pwd)
88
DM_OBJDIR ?= $(CURDIR)/build
99

10-
ifneq ($(TARGET_YOCTO), TRUE)
11-
CC := gcc
12-
endif
10+
CC ?= gcc
1311

1412
CFLAGS := -g -O0 -std=gnu11
1513
CFLAGS += -D_GNU_SOURCE

0 commit comments

Comments
 (0)