mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-21 13:08:42 +00:00
Makefile cleanup
remove TARGET_YOCTO replace "=" with "?=" if variable is defined, don't redefine. Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com>
This commit is contained in:
parent
10129556a7
commit
6c04d576ec
4
Makefile
4
Makefile
@ -7,9 +7,7 @@ RC_VERSION=2
|
|||||||
BASEDIR := $(shell pwd)
|
BASEDIR := $(shell pwd)
|
||||||
DM_OBJDIR ?= $(CURDIR)/build
|
DM_OBJDIR ?= $(CURDIR)/build
|
||||||
|
|
||||||
ifneq ($(TARGET_YOCTO), TRUE)
|
CC ?= gcc
|
||||||
CC := gcc
|
|
||||||
endif
|
|
||||||
|
|
||||||
CFLAGS := -g -O0 -std=gnu11
|
CFLAGS := -g -O0 -std=gnu11
|
||||||
CFLAGS += -D_GNU_SOURCE
|
CFLAGS += -D_GNU_SOURCE
|
||||||
|
Loading…
Reference in New Issue
Block a user