diff options
author | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-05-31 23:55:42 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-05-31 23:55:42 +0200 |
commit | 970672243c23256141363c6abe636d4e9d81632b (patch) | |
tree | 779785b2ea678acb0ce5c42364bb458d8a4b08a0 /mk | |
parent | 3d228feac98117dede64f78fc0ac9356f0a3574d (diff) | |
download | embtoolkit-970672243c23256141363c6abe636d4e9d81632b.tar.gz embtoolkit-970672243c23256141363c6abe636d4e9d81632b.tar.bz2 embtoolkit-970672243c23256141363c6abe636d4e9d81632b.tar.xz |
Rootfs: add makedevs tool, this helps build of /dev entries
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/makedevs.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mk/makedevs.mk b/mk/makedevs.mk new file mode 100644 index 0000000..076b1ff --- /dev/null +++ b/mk/makedevs.mk @@ -0,0 +1,31 @@ +######################################################################################### +# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com> +# 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 makedevs.mk +# \brief makedevs.mk of Embtoolkit +# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com> +# \date May 2009 +######################################################################################### + +MAKEDEVS_DIR := $(EMBTK_ROOT)/makedevs + +makedevs_install: $(MAKEDEVS_DIR)/.installed + +$(MAKEDEVS_DIR)/.installed: + @mkdir -p $(MAKEDEVS_DIR) + $(subst ",,$(strip $(HOSTCC_CACHED))) -o $(MAKEDEVS_DIR)/makedevs $(EMBTK_ROOT)/src/makedevs/makedevs.c |