Features of Deviced:
- Common
- Battery
- Buzzer
- Camera led
- Display
- Extcon
- Hall
- Sdcard
- Sim
- Usb
- Vibrator
Change-Id: I3ee600d299ca1422ac113bc9d91217a8164c162b
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
src/core/main.c
src/core/sig-handler.c
src/gpio/gpio.c
- src/gpio/buzzer.c
- src/gpio/hall.c
- src/gpio/sim.c
src/power/power-handler.c
src/proc/cpu-info.c
src/proc/proc-handler.c
src/time/time-handler.c
)
+IF(TIZEN_BUZZER)
+SET(SRCS ${SRCS}
+ src/gpio/buzzer.c)
+ENDIF(TIZEN_BUZZER)
+
IF(TIZEN_BATTERY)
SET(SRCS ${SRCS}
src/battery/battery-time.c
)
ENDIF(TIZEN_EXTCON)
+IF(TIZEN_HALL)
+SET(SRCS ${SRCS}
+ src/gpio/hall.c)
+ENDIF(TIZEN_HALL)
+
IF(TIZEN_SDCARD)
SET(SRCS ${SRCS}
src/mmc/config.c
ENDIF(USE_EMULATOR)
ENDIF(TIZEN_SDCARD)
+IF(TIZEN_SIM)
+SET(SRCS ${SRCS}
+ src/gpio/sim.c)
+ENDIF(TIZEN_SIM)
+
IF(TIZEN_DISPLAY)
SET(SRCS ${SRCS}
src/display/auto-brightness.c
#These options are DEACTIVATED by default.
%bcond_with x
%bcond_with battery
+%bcond_with buzzer
%bcond_with camera_led
%bcond_with extcon
+%bcond_with hall
%bcond_with sdcard
+%bcond_with sim
%bcond_with usb
%bcond_with vibrator
%if %{with battery}
-DTIZEN_BATTERY:BOOL=ON \
%endif
+%if %{with buzzer}
+ -DTIZEN_BUZZER:BOOL=ON \
+%endif
%if %{with camera_led}
-DTIZEN_CAMERA_LED:BOOL=ON \
%endif
%if %{with extcon}
-DTIZEN_EXTCON:BOOL=ON \
%endif
+%if %{with hall}
+ -DTIZEN_HALL:BOOL=ON \
+%endif
%if %{with sdcard}
-DTIZEN_SDCARD:BOOL=ON \
%endif
+%if %{with sim}
+ -DTIZEN_SIM:BOOL=ON \
+%endif
%if %{with usb}
-DTIZEN_USB:BOOL=ON \
%endif