diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta-extras/packages/llvm | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | openembedded-core-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz openembedded-core-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.bz2 openembedded-core-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.xz openembedded-core-29d6678fd546377459ef75cf54abeef5b969b5cf.zip |
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.
The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.
Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-extras/packages/llvm')
-rw-r--r-- | meta-extras/packages/llvm/llvm-native/fix_ldflags_export.patch | 26 | ||||
-rw-r--r-- | meta-extras/packages/llvm/llvm-native_svn.bb | 13 |
2 files changed, 39 insertions, 0 deletions
diff --git a/meta-extras/packages/llvm/llvm-native/fix_ldflags_export.patch b/meta-extras/packages/llvm/llvm-native/fix_ldflags_export.patch new file mode 100644 index 000000000..77511d68f --- /dev/null +++ b/meta-extras/packages/llvm/llvm-native/fix_ldflags_export.patch @@ -0,0 +1,26 @@ +Index: trunk/tools/llvm-config/Makefile +=================================================================== +--- trunk.orig/tools/llvm-config/Makefile 2008-02-11 15:14:22.000000000 +0000 ++++ trunk/tools/llvm-config/Makefile 2008-04-11 16:58:06.000000000 +0100 +@@ -27,7 +27,7 @@ + # This is blank for now. We need to be careful about adding stuff here: + # LDFLAGS tend not to be portable, and we don't currently require the + # user to use libtool when linking against LLVM. +-SUB_LDFLAGS = ++SUB_LDFLAGS = ${LD.Flags} + + FinalLibDeps = $(PROJ_OBJ_DIR)/FinalLibDeps.txt + LibDeps = $(PROJ_OBJ_DIR)/LibDeps.txt +@@ -57,10 +57,11 @@ + # Build our final script. + $(ToolDir)/llvm-config: llvm-config.in $(FinalLibDeps) + $(Echo) "Building llvm-config script." ++ $(Echo) 's,@LLVM_LDFLAGS@,$(SUB_LDFLAGS),' + $(Verb) $(ECHO) 's,@LLVM_CPPFLAGS@,$(SUB_CPPFLAGS),' > temp.sed + $(Verb) $(ECHO) 's,@LLVM_CFLAGS@,$(SUB_CFLAGS),' >> temp.sed + $(Verb) $(ECHO) 's,@LLVM_CXXFLAGS@,$(SUB_CXXFLAGS),' >> temp.sed +- $(Verb) $(ECHO) 's,@LLVM_LDFLAGS@,$(SUB_LDFLAGS),' >> temp.sed ++ $(Verb) $(ECHO) 's#@LLVM_LDFLAGS@#$(SUB_LDFLAGS)#' >> temp.sed + $(Verb) $(ECHO) 's,@LLVM_BUILDMODE@,$(BuildMode),' >> temp.sed + $(Verb) $(SED) -f temp.sed < $< > $@ + $(Verb) $(RM) temp.sed diff --git a/meta-extras/packages/llvm/llvm-native_svn.bb b/meta-extras/packages/llvm/llvm-native_svn.bb new file mode 100644 index 000000000..56cc0d97b --- /dev/null +++ b/meta-extras/packages/llvm/llvm-native_svn.bb @@ -0,0 +1,13 @@ +DEPENDS = "flex-native" +SRC_URI = "svn://llvm.org/svn/llvm-project/llvm;proto=http;module=trunk \ + file://fix_ldflags_export.patch;patch=1" + +PV = "0.0+${SRCREV}" +PR = "r1" + +S = "${WORKDIR}/trunk" + +inherit autotools native + +EXTRA_OECONF = "--enable-optimized" +EXTRA_OEMAKE = "ENABLE_OPTIMIZED=1"
\ No newline at end of file |