From a7e7fb27e7cc46733efebcac2cb0bc0e3304be22 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Thu, 14 Feb 2013 13:19:59 +0100 Subject: [PATCH] del-examples: remove not needed files Signed-off-by: Javier Viguera --- .../del-examples/files/hdp_test/Kconfig | 19 ------ .../del-examples/files/hdp_test/Makefile | 39 ------------ .../del-examples/files/opengles/Kconfig | 12 ---- .../del-examples/files/opengles/Makefile | 62 ------------------- 4 files changed, 132 deletions(-) delete mode 100644 meta-digi-del/recipes-digi/del-examples/files/hdp_test/Kconfig delete mode 100644 meta-digi-del/recipes-digi/del-examples/files/hdp_test/Makefile delete mode 100644 meta-digi-del/recipes-digi/del-examples/files/opengles/Kconfig delete mode 100644 meta-digi-del/recipes-digi/del-examples/files/opengles/Makefile diff --git a/meta-digi-del/recipes-digi/del-examples/files/hdp_test/Kconfig b/meta-digi-del/recipes-digi/del-examples/files/hdp_test/Kconfig deleted file mode 100644 index 557ddc8e1..000000000 --- a/meta-digi-del/recipes-digi/del-examples/files/hdp_test/Kconfig +++ /dev/null @@ -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 diff --git a/meta-digi-del/recipes-digi/del-examples/files/hdp_test/Makefile b/meta-digi-del/recipes-digi/del-examples/files/hdp_test/Makefile deleted file mode 100644 index 4d16796bf..000000000 --- a/meta-digi-del/recipes-digi/del-examples/files/hdp_test/Makefile +++ /dev/null @@ -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: diff --git a/meta-digi-del/recipes-digi/del-examples/files/opengles/Kconfig b/meta-digi-del/recipes-digi/del-examples/files/opengles/Kconfig deleted file mode 100644 index 6f61dccf6..000000000 --- a/meta-digi-del/recipes-digi/del-examples/files/opengles/Kconfig +++ /dev/null @@ -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 diff --git a/meta-digi-del/recipes-digi/del-examples/files/opengles/Makefile b/meta-digi-del/recipes-digi/del-examples/files/opengles/Makefile deleted file mode 100644 index ecbdfcd4d..000000000 --- a/meta-digi-del/recipes-digi/del-examples/files/opengles/Makefile +++ /dev/null @@ -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