From dbfdeaeb46453d300b975dcfb6790f3b16f9e6b5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 26 Nov 2010 15:18:01 +0100 Subject: 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. --- target/tools/grub/Makefile | 24 ------------------------ target/tools/grub/patches/nls.patch | 31 ------------------------------- 2 files changed, 55 deletions(-) delete mode 100644 target/tools/grub/Makefile delete mode 100644 target/tools/grub/patches/nls.patch (limited to 'target/tools') 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 --# include -- --# 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 -- cgit v1.2.3