Skip to content

Commit

Permalink
Merge pull request #278 from rdkcentral/feature/gh227_hal_test_binary…
Browse files Browse the repository at this point in the history
…_not_created_target=linux

gh #227 updated Make file with target=linux
  • Loading branch information
hari22yuva authored Dec 18, 2024
2 parents 6ee4eae + 1183a22 commit b735ced
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,20 @@ INC_DIRS += $(ROOT_DIR)/profiles/include
HAL_LIB := dshal
SKELETON_SRCS := $(ROOT_DIR)/skeletons/src/*

# Check if TARGET is unset
ifeq ($(TARGET),)
$(info TARGET NOT SET )
$(info TARGET FORCED TO Linux)
TARGET=linux
SRC_DIRS += $(ROOT_DIR)/skeletons/src
CC := gcc -ggdb -o0 -Wall
$(info TARGET NOT SET )
$(info TARGET FORCED TO linux)
TARGET = linux
endif

# Handle specific TARGET values
ifeq ($(TARGET), linux)
SRC_DIRS += $(ROOT_DIR)/skeletons/src
CC := gcc -ggdb -o0 -Wall
endif


$(info TARGET [$(TARGET)])

ifeq ($(TARGET),arm)
Expand Down

0 comments on commit b735ced

Please sign in to comment.