diff options
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> | 2017-04-19 22:00:02 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-04-20 22:34:08 +0200 |
commit | 83f3b353ef403c4cbe17624c563ca2fba269ef92 (patch) | |
tree | ec1a7fc6a7a60b98c309c5ed521da7b2e828516b | |
parent | 7d04d88b780bef14ef642ae026c45323c0c16456 (diff) | |
download | buildroot-83f3b353ef403c4cbe17624c563ca2fba269ef92.tar.gz buildroot-83f3b353ef403c4cbe17624c563ca2fba269ef92.zip |
xenomai: add option for Smokey skin
Xenomai has a skin 'Smokey' that Buildroot is currently unaware of, which
means that the associated files are present on target even though most users
will not need them.
Add a config option and associated logic to remove the skin if not selected.
Additionally, fixup order of VxWorks skin removal entry.
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/xenomai/Config.in | 5 | ||||
-rw-r--r-- | package/xenomai/xenomai.mk | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/package/xenomai/Config.in b/package/xenomai/Config.in index 31d63f1bf0..d6474bd0c5 100644 --- a/package/xenomai/Config.in +++ b/package/xenomai/Config.in @@ -137,6 +137,11 @@ config BR2_PACKAGE_XENOMAI_RTAI_SKIN help This option allows to install the RTAI Xenomai skin +config BR2_PACKAGE_XENOMAI_SMOKEY_SKIN + bool "Smokey skin" + help + This option allows to install the Smokey Xenomai skin + config BR2_PACKAGE_XENOMAI_UITRON_SKIN bool "uITRON skin" help diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk index e93fcf4e04..086614457a 100644 --- a/package/xenomai/xenomai.mk +++ b/package/xenomai/xenomai.mk @@ -94,10 +94,11 @@ endif XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_NATIVE_SKIN),,alchemy) XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_POSIX_SKIN),,posix) -XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_VXWORKS_SKIN),,vxworks) XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_PSOS_SKIN),,psos) XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_RTAI_SKIN),,rtai) +XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_SMOKEY_SKIN),,smokey) XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_UITRON_SKIN),,uitron) +XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_VXWORKS_SKIN),,vxworks) XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_VRTX_SKIN),,vrtx) define XENOMAI_REMOVE_SKINS @@ -106,6 +107,9 @@ define XENOMAI_REMOVE_SKINS if [ $$i == "posix" ] ; then \ rm -f $(TARGET_DIR)/usr/lib/posix.wrappers ; \ fi ; \ + if [ $$i == "smokey" ] ; then \ + rm -f $(TARGET_DIR)/usr/bin/smokey* ; \ + fi ; \ done endef |