-
Notifications
You must be signed in to change notification settings - Fork 4
Device setting split #213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Device setting split #213
Changes from all commits
3324427
5b0063f
b6e760c
fdc4105
7ee959e
034e5db
d220f98
94475ec
402f9bf
70a09eb
3944baf
7e25fcc
8c15bc0
59ccd08
3a26bf2
83c9468
46bb7b3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -66,8 +66,10 @@ cd ${RDK_SOURCE_PATH} | |||||
| export STANDALONE_BUILD_ENABLED=y | ||||||
| export DS_MGRS=$WORKDIR | ||||||
|
|
||||||
| export USE_WPE_THUNDER_PLUGIN=y | ||||||
|
||||||
| export USE_WPE_THUNDER_PLUGIN=y | |
| export USE_WPE_THUNDER_PLUGIN=1 |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -21,8 +21,20 @@ CFLAGS += -g -fPIC -D_REENTRANT -Wall | |||||
| LIBNAME := dshalcli | ||||||
| LIBNAMEFULL := lib$(LIBNAME).so | ||||||
| INSTALL := $(PWD)/install | ||||||
| OBJS := $(patsubst %.cpp,%.o,$(wildcard *.cpp)) | ||||||
| OBJS += $(patsubst %.c,%.o,$(wildcard *.c)) | ||||||
|
|
||||||
| # Conditional compilation: Thunder vs IARM | ||||||
| ifdef USE_WPE_THUNDER_PLUGIN | ||||||
| # Thunder mode - use dsFPD-com.cpp, exclude dsFPD.c | ||||||
| OBJS := $(patsubst %.cpp,%.o,$(wildcard *.cpp)) | ||||||
| OBJS += $(patsubst %.c,%.o,$(filter-out dsFPD.c,$(wildcard *.c))) | ||||||
| else | ||||||
| # IARM mode - use dsFPD.c, exclude dsFPD-com.cpp | ||||||
| OBJS := $(patsubst %.cpp,%.o,$(filter-out dsFPD-com.cpp,$(wildcard *.cpp))) | ||||||
| OBJS += $(patsubst %.c,%.o,$(wildcard *.c)) | ||||||
| endif | ||||||
|
Comment on lines
+26
to
+34
|
||||||
|
|
||||||
| #OBJS := $(patsubst %.cpp,%.o,$(wildcard *.cpp)) | ||||||
| #OBJS += $(patsubst %.c,%.o,$(wildcard *.c)) | ||||||
|
Comment on lines
+36
to
+37
|
||||||
| #OBJS := $(patsubst %.cpp,%.o,$(wildcard *.cpp)) | |
| #OBJS += $(patsubst %.c,%.o,$(wildcard *.c)) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,4 +28,15 @@ INCLUDE_FILES = -I=$(includedir)/rdk/halif/ds-hal \ | |
| lib_LTLIBRARIES = libdshalcli.la | ||
| libdshalcli_la_CPPFLAGS = $(INCLUDE_FILES) | ||
| libdshalcli_la_CFLAGS = -g -fPIC -D_REENTRANT -Wall | ||
| libdshalcli_la_SOURCES = dsAudio.c dsclientlogger.c dsDisplay.c dsFPD.c dsHost.cpp dsVideoDevice.c dsVideoPort.c | ||
|
|
||
| # Conditional compilation for Thunder COM-RPC | ||
| if USE_THUNDER_PLUGIN | ||
| FPD_SOURCE = dsFPD-com.cpp | ||
| THUNDER_LIBS = -lWPEFrameworkCore -lWPEFrameworkCOM | ||
| else | ||
| FPD_SOURCE = dsFPD.c | ||
| THUNDER_LIBS = | ||
| endif | ||
|
Comment on lines
+33
to
+39
|
||
|
|
||
| libdshalcli_la_SOURCES = dsAudio.c dsclientlogger.c dsDisplay.c $(FPD_SOURCE) dsHost.cpp dsVideoDevice.c dsVideoPort.c | ||
| libdshalcli_la_LIBADD = $(THUNDER_LIBS) | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a mismatch in the conditional compilation flag names. The configure.ac defines AC_DEFINE([USE_WPE_THUNDER_PLUGIN], [1], ...) at line 62, but the Makefile.am at line 33 checks for "USE_THUNDER_PLUGIN" (without the WPE_ prefix). This mismatch means the Makefile.am conditional will never be true when configured with --enable-thunder-plugin. The AM_CONDITIONAL at line 59 of configure.ac should use USE_WPE_THUNDER_PLUGIN to match the preprocessor define, or vice versa.