del-examples: remove not needed files
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
7b9672bb34
commit
a7e7fb27e7
|
|
@ -1,19 +0,0 @@
|
||||||
config APPS_HDP_TEST
|
|
||||||
bool hdp_test
|
|
||||||
depends on DEL_CCARDWMX28JS
|
|
||||||
help
|
|
||||||
Application to receive data from an oximeter using the Bluetooth Health
|
|
||||||
Device Profile (HDP).
|
|
||||||
|
|
||||||
For this application to work, you need to have Bluetooth support in the kernel
|
|
||||||
and enable/disable following options in rootfs configuration:
|
|
||||||
|
|
||||||
Rootfs Configuration -> Pre-built applications:
|
|
||||||
* [enable] BlueZ utilities (DEL_PACKAGE_BLUEZ)
|
|
||||||
* [enable] Python language interpreter (DEL_PACKAGE_PYTHON)
|
|
||||||
* [disable] Minimal subset of python language (DEL_PACKAGE_PYTHON_MINIMAL)
|
|
||||||
|
|
||||||
config APPS_HDP_TEST_DIR
|
|
||||||
string
|
|
||||||
depends on APPS_HDP_TEST
|
|
||||||
default hdp_test_py
|
|
||||||
|
|
@ -1,39 +0,0 @@
|
||||||
# Copyright (c) 2008-2009 Atheros Corporation. All rights reserved.
|
|
||||||
#
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License version 2 as
|
|
||||||
# published by the Free Software Foundation;
|
|
||||||
#
|
|
||||||
# Software distributed under the License is distributed on an "AS
|
|
||||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
||||||
# implied. See the License for the specific language governing
|
|
||||||
# rights and limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
ROOTFS_DIR = $(strip $(wildcard $(DEL_PROJ_DIR)/build/rootfs))
|
|
||||||
BINARY = hdp-test.py
|
|
||||||
|
|
||||||
-include $(DEL_PROJ_DIR)/build/.config-$(DEL_PLATFORM)
|
|
||||||
|
|
||||||
ifdef CONFIG_APPS_HDP_TEST
|
|
||||||
all: $(BINARY)
|
|
||||||
|
|
||||||
install: $(BINARY)
|
|
||||||
ifneq ($(ROOTFS_DIR),)
|
|
||||||
install -D -m 0755 $< $(ROOTFS_DIR)/usr/bin/$<
|
|
||||||
else
|
|
||||||
@printf "\n"
|
|
||||||
@printf "[ WARNING ] $<: installation directory not found, application not installed\n"
|
|
||||||
@printf "\n"
|
|
||||||
@printf " This could be due to support for rootfs was not included in the project.\n"
|
|
||||||
@printf "\n"
|
|
||||||
@printf " Please, create a project with rootfs support or edit the application makefile\n"
|
|
||||||
@printf " and set the ROOTFS_DIR variable to the installation directory.\n"
|
|
||||||
@printf "\n"
|
|
||||||
endif
|
|
||||||
else
|
|
||||||
install:
|
|
||||||
@: # Do nothing if the application is not selected
|
|
||||||
endif # CONFIG_APPS_HDP_TEST
|
|
||||||
|
|
||||||
clean:
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
config APPS_OPENGLES_C
|
|
||||||
bool opengles
|
|
||||||
depends on DEL_CCXMX5XJS
|
|
||||||
help
|
|
||||||
Sample OpenGL ES applications based on code from Freescale GPU SDK.
|
|
||||||
|
|
||||||
Programming language: C
|
|
||||||
|
|
||||||
config APPS_OPENGLES_C_DIR
|
|
||||||
string
|
|
||||||
depends on APPS_OPENGLES_C
|
|
||||||
default opengles_c
|
|
||||||
|
|
@ -1,62 +0,0 @@
|
||||||
##########################################################################
|
|
||||||
##
|
|
||||||
## Sample makefile to show how to include user apps.
|
|
||||||
##
|
|
||||||
## This makefile has access to following project variables:
|
|
||||||
##
|
|
||||||
## DEL_TOOL_DIR -> Digi Embedded Linux path.
|
|
||||||
## DEL_PROJ_DIR -> Project path.
|
|
||||||
## DEL_PLATFORM -> Target platform.
|
|
||||||
## DEL_TFTP_DIR -> TFTPBOOT path.
|
|
||||||
## DEL_NFS_DIR -> Rootfs nfs-exported path.
|
|
||||||
##
|
|
||||||
## These variables are configured in topdir Makefile.
|
|
||||||
##
|
|
||||||
## Though you can use DEL_NFS_DIR to install your application to the
|
|
||||||
## exported rootfs directly, the recommended way is to install it in
|
|
||||||
## the project rootfs (see ROOTFS_DIR below). Doing this way, your
|
|
||||||
## application will be check for library dependences and then installed
|
|
||||||
## both in DEL_NFS_DIR and in rootfs images.
|
|
||||||
##
|
|
||||||
##########################################################################
|
|
||||||
|
|
||||||
ROOTFS_DIR = $(strip $(wildcard $(DEL_PROJ_DIR)/build/rootfs))
|
|
||||||
STRIP = $(CROSS_COMPILE)strip
|
|
||||||
CC = $(CROSS_COMPILE)gcc
|
|
||||||
CFLAGS = -O2 -Ilib/include
|
|
||||||
VPATH = lib/fslutil lib/glu3
|
|
||||||
BINARIES = es20_example es11_example
|
|
||||||
|
|
||||||
-include $(DEL_PROJ_DIR)/build/.config-$(DEL_PLATFORM)
|
|
||||||
|
|
||||||
ifdef CONFIG_APPS_OPENGLES_C
|
|
||||||
all: $(BINARIES)
|
|
||||||
|
|
||||||
es11_example: fslutil.o glu3.o
|
|
||||||
$(CC) $(CFLAGS) -lm -lEGL -lGLESv1_CM -o $@ $@.c $^
|
|
||||||
|
|
||||||
es20_example: fslutil.o
|
|
||||||
$(CC) $(CFLAGS) -lm -lEGL -lGLESv2 -o $@ $@.c $^
|
|
||||||
|
|
||||||
install: $(BINARIES)
|
|
||||||
ifneq ($(ROOTFS_DIR),)
|
|
||||||
-mkdir -p $(ROOTFS_DIR)/usr/bin
|
|
||||||
install -m 0755 $^ $(ROOTFS_DIR)/usr/bin
|
|
||||||
install -m 0644 texture.bmp $(ROOTFS_DIR)/usr/share/wallpapers
|
|
||||||
else
|
|
||||||
@printf "\n"
|
|
||||||
@printf "[ WARNING ] $<: installation directory not found, application not installed\n"
|
|
||||||
@printf "\n"
|
|
||||||
@printf " This could be due to support for rootfs was not included in the project.\n"
|
|
||||||
@printf "\n"
|
|
||||||
@printf " Please, create a project with rootfs support or edit the application makefile\n"
|
|
||||||
@printf " and set the ROOTFS_DIR variable to the installation directory.\n"
|
|
||||||
@printf "\n"
|
|
||||||
endif
|
|
||||||
else
|
|
||||||
install:
|
|
||||||
@: # Do nothing if the application is not selected
|
|
||||||
endif # CONFIG_APPS_OPENGLES_C
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f $(BINARIES) *.o
|
|
||||||
Loading…
Reference in New Issue