summaryrefslogtreecommitdiff
path: root/target/tools
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-26 15:18:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-26 15:18:01 +0100
commitdbfdeaeb46453d300b975dcfb6790f3b16f9e6b5 (patch)
treefbba8492efcb3536c1606a659308e9f0ca75ea20 /target/tools
parent4969392a108205efe43203a9df4a20c749554479 (diff)
implement the concept of target choice by embedded system or architecture
you can now choose between specific embedded systems like PC Engines ALIX boards, Foxboard, .. or between generic architecture support like x86, x86_64, mips, ... This does reduce the overhead of duplicate configuration files in target directory. Now qemu, toolchain and ibm x40 support is combined in one target directory target/x86. Distinguishing between hardware profiles happens via menu based configuration. (CPU choice for kernel, CFLAGS for package building, ..). We will see if this is the right direction.
Diffstat (limited to 'target/tools')
-rw-r--r--target/tools/grub/Makefile24
-rw-r--r--target/tools/grub/patches/nls.patch31
2 files changed, 0 insertions, 55 deletions
diff --git a/target/tools/grub/Makefile b/target/tools/grub/Makefile
deleted file mode 100644
index 58a3b822c..000000000
--- a/target/tools/grub/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:= grub
-PKG_VERSION:= 1.98
-PKG_RELEASE:= 1
-PKG_MD5SUM:= c0bcf60e524739bb64e3a2d4e3732a59
-PKG_SITES:= ftp://alpha.gnu.org/gnu/grub/
-
-include ../rules.mk
-
-$(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
- cd $(WRKBUILD) && ./configure --prefix=$(TOPDIR)/bin/tools --disable-nls --disable-efiemu --with-platform=pc
- $(MAKE) -C $(WRKBUILD)
- touch $@
-
-$(TOPDIR)/bin/tools/bin/grub-install: $(WRKBUILD)/.compiled
- $(MAKE) -C $(WRKBUILD) install
-
-install: $(TOPDIR)/bin/tools/bin/grub-install
-
-include $(TOPDIR)/mk/tools.mk
diff --git a/target/tools/grub/patches/nls.patch b/target/tools/grub/patches/nls.patch
deleted file mode 100644
index 8febb6ee4..000000000
--- a/target/tools/grub/patches/nls.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -Nur grub-1.98.orig/include/grub/i18n.h grub-1.98/include/grub/i18n.h
---- grub-1.98.orig/include/grub/i18n.h 2010-03-06 21:51:37.000000000 +0100
-+++ grub-1.98/include/grub/i18n.h 2010-11-18 19:46:58.740685644 +0100
-@@ -24,18 +24,6 @@
-
- extern const char *(*EXPORT_VAR(grub_gettext)) (const char *s);
-
--/* NLS can be disabled through the configure --disable-nls option. */
--#if ENABLE_NLS
--
--# ifdef GRUB_UTIL
--
--# include <locale.h>
--# include <libintl.h>
--
--# endif /* GRUB_UTIL */
--
--#else /* ! ENABLE_NLS */
--
- /* Disabled NLS.
- The casts to 'const char *' serve the purpose of producing warnings
- for invalid uses of the value returned from these functions.
-@@ -47,8 +35,6 @@
- # define grub_gettext(str) ((const char *) (str))
- # endif /* GRUB_UTIL */
-
--#endif /* ENABLE_NLS */
--
- #ifdef GRUB_UTIL
- # define _(str) gettext(str)
- #else