From 70f6cc4f3fc25172a870f85e4fcb7a3949e7783b Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sun, 24 May 2009 00:33:42 +0200 Subject: Rootfs: initial adds in order to build packages Signed-off-by: Abdoulaye Walsimou Gaye --- kconfig/packages.kconfig | 31 +++++++++++++++++++++++++++++++ packages/busybox/busybox.kconfig | 40 ++++++++++++++++++++++++++++++++++++++++ packages/busybox/busybox.mk | 29 +++++++++++++++++++++++++++++ 3 files changed, 100 insertions(+) create mode 100644 packages/busybox/busybox.kconfig create mode 100644 packages/busybox/busybox.mk diff --git a/kconfig/packages.kconfig b/kconfig/packages.kconfig index e69de29..59ef33a 100644 --- a/kconfig/packages.kconfig +++ b/kconfig/packages.kconfig @@ -0,0 +1,31 @@ +######################################################################################### +# GAYE Abdoulaye Walsimou, +# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved. +# For Copyrright from linux kernel's build/configure system, see their source code +# +# This program is free software; you can distribute it and/or modify it +# under the terms of the GNU General Public License +# (Version 2 or later) published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. +######################################################################################### +# +# \file packages.kconfig +# \brief packages.kconfig of Embtoolkit +# \author GAYE Abdoulaye Walsimou, +# \date May 2009 +######################################################################################### + +#Busybox +config EMBTK_ROOTFS_HAVE_BB + bool "Have Busybox in your root filesystem" +if EMBTK_ROOTFS_HAVE_BB +source packages/busybox/busybox.kconfig +endif diff --git a/packages/busybox/busybox.kconfig b/packages/busybox/busybox.kconfig new file mode 100644 index 0000000..9be1779 --- /dev/null +++ b/packages/busybox/busybox.kconfig @@ -0,0 +1,40 @@ +######################################################################################### +# GAYE Abdoulaye Walsimou, +# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved. +# +# This program is free software; you can distribute it and/or modify it +# under the terms of the GNU General Public License +# (Version 2 or later) published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. +######################################################################################### +# +# \file busybox.kconfig +# \brief busybox.kconfig of Embtoolkit +# \author GAYE Abdoulaye Walsimou, +# \date May 2009 +######################################################################################### +choice + prompt "Busybox you wish" + default EMBTK_BB_VERSION_1_14_0 + help + Here you can choose which version of busybox + you want to use + config EMBTK_BB_VERSION_1_14_0 + bool "busybox-1.14.0" + config EMBTK_BB_VERSION_1_13_4 + bool "busybox-1.13.4" +endchoice + +config EMBTK_EMBTK_BB_VERSION_STRING + string + default "1.14.0" if EMBTK_BB_VERSION_1_14_0 + default "1.13.4" if EMBTK_BB_VERSION_1_13_4 + diff --git a/packages/busybox/busybox.mk b/packages/busybox/busybox.mk new file mode 100644 index 0000000..04667be --- /dev/null +++ b/packages/busybox/busybox.mk @@ -0,0 +1,29 @@ +######################################################################################### +# GAYE Abdoulaye Walsimou, +# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved. +# +# This program is free software; you can distribute it and/or modify it +# under the terms of the GNU General Public License +# (Version 2 or later) published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. +######################################################################################### +# +# \file busybox.mk +# \brief busybox.mk of Embtoolkit +# \author GAYE Abdoulaye Walsimou, +# \date May 2009 +######################################################################################### + +BB_VERSION := $(subst ",,$(strip $(CONFIG_EMBTK_BB_VERSION_STRING))) +BB_SITE := http://www.busybox.net/downloads +BB_PACKAGE := busybox-$(BB_VERSION).tar.bz2 +BB_BUILD_DIR := $(TOOLS_BUILD)/busybox + -- cgit v1.2.3