From: Heiko Z. <smi...@us...> - 2010-12-09 18:47:31
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Devil-Linux". The branch, master has been updated via 92852ac2fc1183690463e2b63a84c57b8e786105 (commit) via 9ffc2e809c9a1a6be135d6ec5503e8d0717d2cc0 (commit) via beb56ca618da3c2bcffb806c6d7fae725e56162e (commit) via ea7ab91c66dfceba414218c8156a347681b86df9 (commit) via d3d67f7fb527b3b549d9da0c67b42477a224b00b (commit) via 17b66affdf439ed7c35d2825a1e2bf7967191e14 (commit) via 3bbf1c2ea6140d8b288b0af5b1a9c3a1aa92edad (commit) via 95f17bf78f94a69858ebe9a7a64a5b9cce76eedb (commit) from 1db3a7e30f71f7e68e2db42b84b0ef04942b7239 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 92852ac2fc1183690463e2b63a84c57b8e786105 Merge: 1db3a7e 9ffc2e8 Author: Heiko Zuerker <smi...@us...> Date: Thu Dec 9 12:46:48 2010 -0600 Merge branch 'master' of git://git.buildroot.net/buildroot commit 9ffc2e809c9a1a6be135d6ec5503e8d0717d2cc0 Author: Mike Frysinger <va...@ge...> Date: Tue Dec 7 16:07:27 2010 -0500 dhrystone: new benchmark package Acked-by: Thomas Petazzoni <tho...@fr...> Signed-off-by: Mike Frysinger <va...@ge...> Signed-off-by: Peter Korsgaard <ja...@su...> diff --git a/CHANGES b/CHANGES index bf9a0a9..de9dcf4 100644 --- a/CHANGES +++ b/CHANGES @@ -5,7 +5,7 @@ Updated/fixed packages: cloop, m4, openssh, qt, xz - New packages: lsuio, rsh-redone, whetstone + New packages: dhrystone, lsuio, rsh-redone, whetstone Issues resolved (http://bugs.uclibc.org): diff --git a/package/Config.in b/package/Config.in index 42d7517..10d8918 100644 --- a/package/Config.in +++ b/package/Config.in @@ -17,6 +17,7 @@ source "package/xz/Config.in" endmenu menu "Debugging, profiling and benchmark" +source "package/dhrystone/Config.in" source "package/dmalloc/Config.in" source "package/kexec/Config.in" source "package/lmbench/Config.in" diff --git a/package/dhrystone/Config.in b/package/dhrystone/Config.in new file mode 100644 index 0000000..d6fb7a7 --- /dev/null +++ b/package/dhrystone/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_DHRYSTONE + bool "dhrystone" + help + easy-to-use integer benchmark + + http://www.netlib.org/benchmark/dhry-c diff --git a/package/dhrystone/Makefile b/package/dhrystone/Makefile new file mode 100644 index 0000000..d628ddb --- /dev/null +++ b/package/dhrystone/Makefile @@ -0,0 +1,12 @@ +CPPFLAGS += -DNO_PROTOTYPES=1 +LDLIBS += -lm + +all: dhrystone + +dhrystone: dhry_1.o dhry_2.o + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) + +clean: + rm -f *.o dhrystone + +.PHONY: all clean diff --git a/package/dhrystone/dhrystone-2-HZ.patch b/package/dhrystone/dhrystone-2-HZ.patch new file mode 100644 index 0000000..e3b8a0e --- /dev/null +++ b/package/dhrystone/dhrystone-2-HZ.patch @@ -0,0 +1,17 @@ +Get HZ value from system rather than requiring via CPPFLAGS + +Patch by Robin Getz <rg...@bl...> + +--- a/dhry.h ++++ b/dhry.h +@@ -359,6 +359,10 @@ + /* for "times" */ + #endif + ++#ifndef HZ ++#include <sys/param.h> ++#endif ++ + #define Mic_secs_Per_Second 1000000.0 + /* Berkeley UNIX C returns process times in seconds/HZ */ + diff --git a/package/dhrystone/dhrystone-2-cmdline-nruns.patch b/package/dhrystone/dhrystone-2-cmdline-nruns.patch new file mode 100644 index 0000000..1164610 --- /dev/null +++ b/package/dhrystone/dhrystone-2-cmdline-nruns.patch @@ -0,0 +1,53 @@ +let people specify the number of runs on the command line + +Patch by Vivi Li <vi...@an...> + +--- a/dhry_1.c ++++ b/dhry_1.c +@@ -66,7 +70,7 @@ + /* end of variables for time measurement */ + + +-main () ++main(int argc, char *argv[]) + /*****/ + + /* main program, corresponds to procedures */ +@@ -101,6 +105,13 @@ + /* Warning: With 16-Bit processors and Number_Of_Runs > 32000, */ + /* overflow may occur for this array element. */ + ++ Number_Of_Runs = 0; ++ if ( argc == 2 ) { ++ if (atoi(argv[1]) > 0) { ++ Number_Of_Runs = atoi(argv[1]); ++ } ++ } ++ + printf ("\n"); + printf ("Dhrystone Benchmark, Version 2.1 (Language: C)\n"); + printf ("\n"); +@@ -114,13 +125,17 @@ + printf ("Program compiled without 'register' attribute\n"); + printf ("\n"); + } +- printf ("Please give the number of runs through the benchmark: "); +- { +- int n; +- scanf ("%d", &n); +- Number_Of_Runs = n; ++ ++ if (!Number_Of_Runs) { ++ printf ("Please give the number of runs through the benchmark: "); ++ fflush (stdout); ++ { ++ int n; ++ scanf ("%d", &n); ++ Number_Of_Runs = n; ++ } ++ printf ("\n"); + } +- printf ("\n"); + + printf ("Execution starts, %d runs through Dhrystone\n", Number_Of_Runs); + diff --git a/package/dhrystone/dhrystone-2-exit.patch b/package/dhrystone/dhrystone-2-exit.patch new file mode 100644 index 0000000..8d99f4e --- /dev/null +++ b/package/dhrystone/dhrystone-2-exit.patch @@ -0,0 +1,14 @@ +trust the exit status of the program + +Patch by Robin Getz <rg...@bl...> + +--- a/dhry_1.c ++++ b/dhry_1.c +@@ -274,6 +289,7 @@ + printf ("\n"); + } + ++ exit(0); + } + + diff --git a/package/dhrystone/dhrystone-2-headers.patch b/package/dhrystone/dhrystone-2-headers.patch new file mode 100644 index 0000000..82bb60d --- /dev/null +++ b/package/dhrystone/dhrystone-2-headers.patch @@ -0,0 +1,15 @@ +get prototypes for malloc/exit/strcpy + +Patch by Mike Frysinger <va...@ge...> + +--- a/dhry.h ++++ b/dhry.h +@@ -388,6 +388,8 @@ + /* General definitions: */ + + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> + /* for strcpy, strcmp */ + + #define Null 0 diff --git a/package/dhrystone/dhrystone-2-prototypes.patch b/package/dhrystone/dhrystone-2-prototypes.patch new file mode 100644 index 0000000..7fdcf94 --- /dev/null +++ b/package/dhrystone/dhrystone-2-prototypes.patch @@ -0,0 +1,35 @@ +Avoid collision with C library using NO_PROTOTYPES found in code already + +Patch by Robin Getz <rg...@bl...> + +--- a/dhry_1.c ++++ b/dhry_1.c +@@ -28,7 +28,9 @@ + int Arr_1_Glob [50]; + int Arr_2_Glob [50] [50]; + ++#ifndef NO_PROTOTYPES + extern char *malloc (); ++#endif + Enumeration Func_1 (); + /* forward declaration necessary since Enumeration may not simply be int */ + +@@ -45,14 +45,18 @@ + + #ifdef TIMES + struct tms time_info; ++#ifndef NO_PROTOTYPES + extern int times (); + /* see library function "times" */ ++#endif + #define Too_Small_Time 120 + /* Measurements should last at least about 2 seconds */ + #endif + #ifdef TIME ++#ifndef NO_PROTOTYPES + extern long time(); + /* see library function "time" */ ++#endif + #define Too_Small_Time 2 + /* Measurements should last at least 2 seconds */ + #endif diff --git a/package/dhrystone/dhrystone.mk b/package/dhrystone/dhrystone.mk new file mode 100644 index 0000000..a03beec --- /dev/null +++ b/package/dhrystone/dhrystone.mk @@ -0,0 +1,34 @@ +############################################################# +# +# dhrystone +# +############################################################# + +DHRYSTONE_VERSION = 2 +DHRYSTONE_SOURCE = dhry-c +DHRYSTONE_SITE = http://www.netlib.org/benchmark/ + +define DHRYSTONE_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +define DHRYSTONE_CLEAN_CMDS + $(MAKE) -C $(@D) clean +endef + +define DHRYSTONE_INSTALL_TARGET_CMDS + $(INSTALL) -D $(@D)/dhrystone $(TARGET_DIR)/usr/bin/dhrystone +endef + +define DHRYSTONE_UNINSTALL_TARGET_CMDS + rm -f $(TARGET_DIR)/usr/bin/dhrystone +endef + +$(eval $(call GENTARGETS,package,dhrystone)) + +$(BUILD_DIR)/dhrystone-$(DHRYSTONE_VERSION)/.stamp_extracted: + @$(call MESSAGE,"Extracting") + $(Q)mkdir -p $(@D) + $(Q)cd $(@D) && $(SHELL) $(DL_DIR)/$($(PKG)_SOURCE) + $(Q)cp $($(PKG)_DIR_PREFIX)/dhrystone/Makefile $(@D)/ + $(Q)touch $@ commit beb56ca618da3c2bcffb806c6d7fae725e56162e Author: Mike Frysinger <va...@ge...> Date: Tue Dec 7 16:05:50 2010 -0500 whetstone: new benchmark package Acked-by: Thomas Petazzoni <tho...@fr...> Signed-off-by: Mike Frysinger <va...@ge...> Signed-off-by: Peter Korsgaard <ja...@su...> diff --git a/CHANGES b/CHANGES index 47ba38d..bf9a0a9 100644 --- a/CHANGES +++ b/CHANGES @@ -5,7 +5,7 @@ Updated/fixed packages: cloop, m4, openssh, qt, xz - New packages: lsuio, rsh-redone + New packages: lsuio, rsh-redone, whetstone Issues resolved (http://bugs.uclibc.org): diff --git a/package/Config.in b/package/Config.in index 7c550cd..42d7517 100644 --- a/package/Config.in +++ b/package/Config.in @@ -27,6 +27,7 @@ source "package/memstat/Config.in" source "package/netperf/Config.in" source "package/oprofile/Config.in" source "package/strace/Config.in" +source "package/whetstone/Config.in" source "package/valgrind/Config.in" endmenu diff --git a/package/whetstone/Config.in b/package/whetstone/Config.in new file mode 100644 index 0000000..7a68160 --- /dev/null +++ b/package/whetstone/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_WHETSTONE + bool "whetstone" + help + C Converted Whetstone Double Precision Benchmark + + http://www.netlib.org/benchmark/ diff --git a/package/whetstone/whetstone.mk b/package/whetstone/whetstone.mk new file mode 100644 index 0000000..d47fbcd --- /dev/null +++ b/package/whetstone/whetstone.mk @@ -0,0 +1,33 @@ +############################################################# +# +# whetstone +# +############################################################# + +WHETSTONE_VERSION = 1.2 +WHETSTONE_SOURCE = whetstone.c +WHETSTONE_SITE = http://www.netlib.org/benchmark/ + +define WHETSTONE_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) LDLIBS="-lm" -C $(@D) whetstone +endef + +define WHETSTONE_CLEAN_CMDS + rm -f $(@D)/whetstone +endef + +define WHETSTONE_INSTALL_TARGET_CMDS + $(INSTALL) -D $(@D)/whetstone $(TARGET_DIR)/usr/bin/whetstone +endef + +define WHETSTONE_UNINSTALL_TARGET_CMDS + rm -f $(TARGET_DIR)/usr/bin/whetstone +endef + +$(eval $(call GENTARGETS,package,whetstone)) + +$(BUILD_DIR)/whetstone-$(WHETSTONE_VERSION)/.stamp_extracted: + @$(call MESSAGE,"Extracting") + $(Q)mkdir -p $(@D) + $(Q)cp $(DL_DIR)/$($(PKG)_SOURCE) $(@D)/ + $(Q)touch $@ commit ea7ab91c66dfceba414218c8156a347681b86df9 Author: Mike Frysinger <va...@ge...> Date: Tue Dec 7 16:03:56 2010 -0500 rsh-redone: new package for rsh/rlogin clients Acked-by: Thomas Petazzoni <tho...@fr...> Signed-off-by: Mike Frysinger <va...@ge...> Signed-off-by: Peter Korsgaard <ja...@su...> diff --git a/CHANGES b/CHANGES index 45585c1..47ba38d 100644 --- a/CHANGES +++ b/CHANGES @@ -5,7 +5,7 @@ Updated/fixed packages: cloop, m4, openssh, qt, xz - New packages: lsuio + New packages: lsuio, rsh-redone Issues resolved (http://bugs.uclibc.org): diff --git a/package/Config.in b/package/Config.in index b026828..7c550cd 100644 --- a/package/Config.in +++ b/package/Config.in @@ -416,6 +416,7 @@ source "package/rp-pppoe/Config.in" source "package/pptp-linux/Config.in" source "package/proftpd/Config.in" source "package/quagga/Config.in" +source "package/rsh-redone/Config.in" source "package/rsync/Config.in" source "package/samba/Config.in" source "package/ser2net/Config.in" diff --git a/package/rsh-redone/Config.in b/package/rsh-redone/Config.in new file mode 100644 index 0000000..454bf30 --- /dev/null +++ b/package/rsh-redone/Config.in @@ -0,0 +1,31 @@ +config BR2_PACKAGE_RSH_REDONE + bool "rsh-redone" + help + Rsh-redone is a reimplementation of the remote shell clients and + servers. It is written from the ground up to avoid the bugs found + in the standard clients and servers. It also fully supports IPv6. + + http://packages.debian.org/source/sid/rsh-redone + +# this is incomplete in the source +#config BR2_PACKAGE_RSH_REDONE_RCP +# bool "rcp" +# depends on BR2_PACKAGE_RSH_REDONE + +config BR2_PACKAGE_RSH_REDONE_RLOGIN + bool "rlogin" + depends on BR2_PACKAGE_RSH_REDONE + +# requires PAM +#config BR2_PACKAGE_RSH_REDONE_RLOGIND +# bool "rlogind" +# depends on BR2_PACKAGE_RSH_REDONE + +config BR2_PACKAGE_RSH_REDONE_RSH + bool "rsh" + depends on BR2_PACKAGE_RSH_REDONE + +# requires PAM +#config BR2_PACKAGE_RSH_REDONE_RSHD +# bool "rshd" +# depends on BR2_PACKAGE_RSH_REDONE diff --git a/package/rsh-redone/rsh-redone.mk b/package/rsh-redone/rsh-redone.mk new file mode 100644 index 0000000..6217cb1 --- /dev/null +++ b/package/rsh-redone/rsh-redone.mk @@ -0,0 +1,36 @@ +############################################################# +# +# rsh-redone +# +############################################################# + +RSH_REDONE_VERSION = 85 +RSH_REDONE_SOURCE = rsh-redone_$(RSH_REDONE_VERSION).orig.tar.gz +RSH_REDONE_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/r/rsh-redone + +rsh-redone-bin-y = +rsh-redone-bin-$(BR2_PACKAGE_RSH_REDONE_RCP) += rcp +rsh-redone-bin-$(BR2_PACKAGE_RSH_REDONE_RLOGIN) += rlogin +rsh-redone-bin-$(BR2_PACKAGE_RSH_REDONE_RSH) += rsh +rsh-redone-sbin-y = +rsh-redone-sbin-$(BR2_PACKAGE_RSH_REDONE_RLOGIND) += rlogind +rsh-redone-sbin-$(BR2_PACKAGE_RSH_REDONE_RSHD) += rshd + +define RSH_REDONE_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) BIN="$(rsh-redone-bin-y)" SBIN="$(rsh-redone-sbin-y)" +endef + +define RSH_REDONE_INSTALL_TARGET_CMDS + $(if $(rsh-redone-bin-y)$(rsh-redone-sbin-y), + $(RSH_REDONE_BUILD_CMDS) DESTDIR=$(TARGET_DIR) \ + $(if $(rsh-redone-bin-y),install-bin) \ + $(if $(rsh-redone-sbin-y),install-sbin)) +endef + +define RSH_REDONE_UNINSTALL_TARGET_CMDS + rm -f \ + $(addprefix $(TARGET_DIR)/usr/bin/,$(rsh-redone-bin-y)) \ + $(addprefix $(TARGET_DIR)/usr/sbin/,$(rsh-redone-sbin-y)) +endef + +$(eval $(call GENTARGETS,package,rsh-redone)) commit d3d67f7fb527b3b549d9da0c67b42477a224b00b Author: Frederik Pasch <fp...@go...> Date: Wed Dec 8 23:09:03 2010 +0100 qt: only build gui module if enabled Closes #2905 Signed-off-by: Frederik Pasch <fp...@go...> Signed-off-by: Peter Korsgaard <ja...@su...> diff --git a/CHANGES b/CHANGES index f08353d..45585c1 100644 --- a/CHANGES +++ b/CHANGES @@ -3,10 +3,14 @@ Ccache support reworked. Now used for both host and target compilation, and cache is stored in ~/.buildroot-ccache. - Updated/fixed packages: cloop, m4, openssh, xz + Updated/fixed packages: cloop, m4, openssh, qt, xz New packages: lsuio + Issues resolved (http://bugs.uclibc.org): + + #2905: Qt: Speed up compilation, if gui-module isn't selected + 2010.11, Released November 30th, 2010: Fixes all over the tree. diff --git a/package/qt/qt.mk b/package/qt/qt.mk index e344259..2b5b31b 100644 --- a/package/qt/qt.mk +++ b/package/qt/qt.mk @@ -190,6 +190,10 @@ else QT_CONFIGURE+= -big-endian endif +ifneq ($(BR2_PACKAGE_QT_GUI_MODULE),y) +QT_CONFIGURE+= -no-gui +endif + ifeq ($(BR2_PACKAGE_QT_GIF),y) QT_CONFIGURE+= -qt-gif else commit 17b66affdf439ed7c35d2825a1e2bf7967191e14 Author: Thomas Petazzoni <tho...@fr...> Date: Tue Dec 7 21:09:56 2010 +0100 ccache: rework ccache management * ccache is now a normal package (both for the host and the target). * ccache option is now part of the "Build options" menu. It will automatically build ccache for the host before building anything, and will use it to cache builds for both host compilations and target compilations. * bump ccache to 3.1.3 Signed-off-by: Thomas Petazzoni <tho...@fr...> Signed-off-by: Peter Korsgaard <ja...@su...> diff --git a/CHANGES b/CHANGES index 9333e3f..f08353d 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ 2011.02, Not yet released: + Ccache support reworked. Now used for both host and target + compilation, and cache is stored in ~/.buildroot-ccache. + Updated/fixed packages: cloop, m4, openssh, xz New packages: lsuio diff --git a/Config.in b/Config.in index a41cd3e..f6e894e 100644 --- a/Config.in +++ b/Config.in @@ -94,6 +94,14 @@ config BR2_JLEVEL help Number of jobs to run simultaneously +config BR2_CCACHE + bool "Enable compiler cache" + help + This option will enable the use of ccache, a compiler + cache. It will cache the result of previous builds to speed + up future builds. The cache is stored in + $HOME/.buildroot-ccache. + config BR2_DEPRECATED bool "Show packages that are deprecated or obsolete" help diff --git a/Makefile b/Makefile index 8f0db1f..7d6e4af 100644 --- a/Makefile +++ b/Makefile @@ -125,10 +125,13 @@ HOSTAS:=as endif ifndef HOSTCC HOSTCC:=gcc -else +HOSTCC:=$(shell which $(HOSTCC) || type -p $(HOSTCC) || echo gcc) +HOSTCC_NOCCACHE:=$(HOSTCC) endif ifndef HOSTCXX HOSTCXX:=g++ +HOSTCXX:=$(shell which $(HOSTCXX) || type -p $(HOSTCXX) || echo g++) +HOSTCXX_NOCCACHE:=$(HOSTCXX) endif ifndef HOSTFC HOSTFC:=gfortran @@ -147,8 +150,6 @@ HOSTNM:=nm endif HOSTAR:=$(shell which $(HOSTAR) || type -p $(HOSTAR) || echo ar) HOSTAS:=$(shell which $(HOSTAS) || type -p $(HOSTAS) || echo as) -HOSTCC:=$(shell which $(HOSTCC) || type -p $(HOSTCC) || echo gcc) -HOSTCXX:=$(shell which $(HOSTCXX) || type -p $(HOSTCXX) || echo g++) HOSTFC:=$(shell which $(HOSTLD) || type -p $(HOSTLD) || echo || which g77 || type -p g77 || echo gfortran) HOSTCPP:=$(shell which $(HOSTCPP) || type -p $(HOSTCPP) || echo cpp) HOSTLD:=$(shell which $(HOSTLD) || type -p $(HOSTLD) || echo ld) @@ -156,6 +157,7 @@ HOSTLN:=$(shell which $(HOSTLN) || type -p $(HOSTLN) || echo ln) HOSTNM:=$(shell which $(HOSTNM) || type -p $(HOSTNM) || echo nm) export HOSTAR HOSTAS HOSTCC HOSTCXX HOSTFC HOSTLD +export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE # bash prints the name of the directory on 'cd <dir>' if CDPATH is # set, so unset it here to not cause problems. Notice that the export @@ -231,10 +233,15 @@ PREFERRED_LIB_FLAGS:=--enable-static --enable-shared # along with the packages to build for the target. # ############################################################## + +ifeq ($(BR2_CCACHE),y) +BASE_TARGETS += host-ccache +endif + ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) -BASE_TARGETS:=uclibc-configured binutils cross_compiler uclibc-target-utils kernel-headers +BASE_TARGETS += uclibc-configured binutils cross_compiler uclibc-target-utils kernel-headers else -BASE_TARGETS:=uclibc +BASE_TARGETS += uclibc endif TARGETS:= @@ -276,6 +283,13 @@ TARGET_SKELETON=$(TOPDIR)/fs/skeleton BR2_DEPENDS_DIR=$(BUILD_DIR)/buildroot-config +ifeq ($(BR2_CCACHE),y) +CCACHE:=$(HOST_DIR)/usr/bin/ccache +CCACHE_CACHE_DIR=$(HOME)/.buildroot-ccache +HOSTCC := $(CCACHE) $(HOSTCC) +HOSTCXX := $(CCACHE) $(HOSTCXX) +endif + include toolchain/Makefile.in include package/Makefile.in @@ -480,7 +494,7 @@ export HOSTCFLAGS $(BUILD_DIR)/buildroot-config/%onf: mkdir -p $(@D)/lxdialog - $(MAKE) CC="$(HOSTCC)" obj=$(@D) -C $(CONFIG) -f Makefile.br $(@F) + $(MAKE) CC="$(HOSTCC_NOCCACHE)" HOSTCC="$(HOSTCC_NOCCACHE)" obj=$(@D) -C $(CONFIG) -f Makefile.br $(@F) COMMON_CONFIG_ENV = \ KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \ diff --git a/docs/buildroot.html b/docs/buildroot.html index f471962..b6cf578 100644 --- a/docs/buildroot.html +++ b/docs/buildroot.html @@ -29,6 +29,7 @@ <li><a href="#buildroot_innards">How Buildroot works</a></li> <li><a href="#using_toolchain">Using the uClibc toolchain outside Buildroot</a></li> <li><a href="#external_toolchain">Use an external toolchain</a></li> + <li><a href="#ccache-support">Using <code>ccache</code> in Buildroot</li> <li><a href="#downloaded_packages">Location of downloaded packages</a></li> <li><a href="#add_packages">Adding new packages to Buildroot</a></li> <li><a href="#board_support">Creating your own board support</a></li> @@ -523,9 +524,8 @@ $(ZLIB_DIR)/libz.a: $(ZLIB_DIR)/.configured <ul> <li><b>toolchain</b> (in the <code>toolchain/</code> directory) contains the Makefiles and associated files for all software related to the - cross-compilation toolchain: <code>binutils</code>, <code>ccache</code>, - <code>gcc</code>, <code>gdb</code>, <code>kernel-headers</code> and - <code>uClibc</code>.</li> + cross-compilation toolchain: <code>binutils</code>, <code>gcc</code>, + <code>gdb</code>, <code>kernel-headers</code> and <code>uClibc</code>.</li> <li><b>package</b> (in the <code>package/</code> directory) contains the Makefiles and associated files for all user-space tools that Buildroot @@ -681,6 +681,31 @@ endif Build options -> Toolchain and header file location</code> options. This could be useful if the toolchain must be shared with other users.</p> + <h2 id="ccache-support">Using <code>ccache</code> in Buildroot</h2> + + <p><a href="http://ccache.samba.org">ccache</a> is a compiler + cache. It stores the object files resulting from each compilation + process, and is able to skip future compilation of the same source + file (with same compiler and same arguments) by using the + pre-existing object files. When doing almost identical builds from + scratch a number of times, it can nicely speed up the build + process.</p> + + <p><code>ccache</code> support is integrated in Buildroot. You + just have to enable <code>Enable compiler cache</code> + in <code>Build options</code>. This will automatically build + <code>ccache</code> and use it for every host and target + compilation.</p> + + <p>The cache is located + in <code>$HOME/.buildroot-ccache</code>. It is stored outside of + Buildroot output directory so that it can be shared by separate + Buildroot builds. If you want to get rid of the cache, simply + remove this directory.</p> + + <p>You can get statistics on the cache (its size, number of hits, + misses, etc.) by running <code>make ccache-stats</code>.</p> + <h2 id="downloaded_packages">Location of downloaded packages</h2> <p>It might be useful to know that the various tarballs that are diff --git a/package/Config.in b/package/Config.in index 08ffda6..b026828 100644 --- a/package/Config.in +++ b/package/Config.in @@ -35,7 +35,7 @@ source "package/autoconf/Config.in" source "package/automake/Config.in" source "package/bison/Config.in" source "package/bsdiff/Config.in" -source "toolchain/ccache/Config.in.2" +source "package/ccache/Config.in" if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS source "package/coreutils/Config.in" endif diff --git a/package/Makefile.in b/package/Makefile.in index 2ca8c31..d448a7e 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -142,6 +142,14 @@ TARGET_RANLIB = $(TARGET_CROSS)ranlib TARGET_OBJCOPY = $(TARGET_CROSS)objcopy TARGET_OBJDUMP = $(TARGET_CROSS)objdump +TARGET_CC_NOCCACHE := $(TARGET_CC) +TARGET_CXX_NOCCACHE := $(TARGET_CXX) + +ifeq ($(BR2_CCACHE),y) +TARGET_CC := $(CCACHE) $(TARGET_CC) +TARGET_CXX := $(CCACHE) $(TARGET_CXX) +endif + ifeq ($(BR2_STRIP_strip),y) STRIP_DISCARD_ALL:=--discard-all STRIP_STRIP_UNNEEDED:=--strip-unneeded @@ -175,7 +183,7 @@ HOST_LDFLAGS += -L$(HOST_DIR)/lib -L$(HOST_DIR)/usr/lib -Wl,-rpath,$(HOST_DIR)/ HOST_PATH=$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(PATH) # hostcc version as an integer - E.G. 4.3.2 => 432 -HOSTCC_VERSION:=$(shell $(HOSTCC) --version | \ +HOSTCC_VERSION:=$(shell $(HOSTCC_NOCCACHE) --version | \ sed -n 's/^.* \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)[ ]*.*$$/\1\2\3/p') TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \ diff --git a/package/ccache/Config.in b/package/ccache/Config.in new file mode 100644 index 0000000..f4f7f8f --- /dev/null +++ b/package/ccache/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_CCACHE + bool "ccache" + help + ccache is a compiler cache. It speeds up recompilation by + caching previous compilations and detecting when the same + compilation is being done again + + http://samba.ccache.org + diff --git a/package/ccache/ccache.mk b/package/ccache/ccache.mk new file mode 100644 index 0000000..1d0a560 --- /dev/null +++ b/package/ccache/ccache.mk @@ -0,0 +1,33 @@ +############################################################# +# +# ccache +# +############################################################# + +CCACHE_VERSION = 3.1.3 +CCACHE_SITE = http://samba.org/ftp/ccache +CCACHE_SOURCE = ccache-$(CCACHE_VERSION).tar.bz2 + +# When ccache is being built for the host, ccache is not yet +# available, so we have to use the special C compiler without the +# cache. +HOST_CCACHE_CONF_ENV = \ + CC="$(HOSTCC_NOCCACHE)" + +# We directly hardcode the cache location into the binary, as it is +# much easier to handle than passing an environment variable. +define HOST_CCACHE_FIX_CCACHE_DIR + sed -i 's,getenv("CCACHE_DIR"),"$(CCACHE_CACHE_DIR)",' $(@D)/ccache.c +endef + +HOST_CCACHE_POST_CONFIGURE_HOOKS += \ + HOST_CCACHE_FIX_CCACHE_DIR + +$(eval $(call AUTOTARGETS,package,ccache)) +$(eval $(call AUTOTARGETS,package,ccache,host)) + +ifeq ($(BR2_CCACHE),y) +ccache-stats: host-ccache + $(Q)$(CCACHE) -s +endif + diff --git a/toolchain/ccache/Config.in b/toolchain/ccache/Config.in deleted file mode 100644 index 6f36650..0000000 --- a/toolchain/ccache/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -# - -comment "Ccache Options" - -config BR2_CCACHE - bool "Enable ccache support?" - help - Enable ccache support? - -config BR2_CCACHE_DIR - string "ccache dir location?" - depends on BR2_CCACHE - default "$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache" - help - Where ccache should store cached files. - diff --git a/toolchain/ccache/Config.in.2 b/toolchain/ccache/Config.in.2 deleted file mode 100644 index 6a6c789..0000000 --- a/toolchain/ccache/Config.in.2 +++ /dev/null @@ -1,13 +0,0 @@ -# - -config BR2_PACKAGE_CCACHE_TARGET - bool "ccache" - depends on BR2_PACKAGE_GCC_TARGET - help - ccache is a compiler cache. It speeds up recompilation of - C/C++ code by caching previous compiles and detecting when - the same compile is being done again. - - http://ccache.samba.org - - diff --git a/toolchain/ccache/ccache.mk b/toolchain/ccache/ccache.mk deleted file mode 100644 index 8e414b2..0000000 --- a/toolchain/ccache/ccache.mk +++ /dev/null @@ -1,196 +0,0 @@ -############################################################# -# -# build ccache to make recompiles faster on the build system -# -############################################################# -CCACHE_VER:=2.4 -CCACHE_SITE:=http://samba.org/ftp/ccache -CCACHE_SOURCE:=ccache-$(CCACHE_VER).tar.gz -CCACHE_DIR1:=$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER) -CCACHE_DIR2:=$(BUILD_DIR)/ccache-$(CCACHE_VER) -CCACHE_CAT:=$(ZCAT) -CCACHE_BINARY:=ccache -CCACHE_TARGET_BINARY:=usr/bin/ccache - -$(DL_DIR)/$(CCACHE_SOURCE): - $(call DOWNLOAD,$(CCACHE_SITE),$(CCACHE_SOURCE)) - -$(CCACHE_DIR1)/.unpacked: $(DL_DIR)/$(CCACHE_SOURCE) - $(CCACHE_CAT) $(DL_DIR)/$(CCACHE_SOURCE) | tar -C $(TOOLCHAIN_DIR) $(TAR_OPTIONS) - - touch $@ - -$(CCACHE_DIR1)/.patched: $(CCACHE_DIR1)/.unpacked - # WARNING - this will break if the toolchain is moved. - # Should probably patch things to use a relative path. - $(SED) "s,getenv(\"CCACHE_PATH\"),\"$(STAGING_DIR)/usr/bin-ccache\",g" \ - $(CCACHE_DIR1)/execute.c - # WARNING - this will break if the toolchain build dir is deleted - # when using the default cache dir location. - $(SED) "s,getenv(\"CCACHE_DIR\"),\"$(BR2_CCACHE_DIR)\",g" \ - $(CCACHE_DIR1)/ccache.c - mkdir -p $(CCACHE_DIR1)/cache - $(CONFIG_UPDATE) $(@D) - touch $@ - -$(CCACHE_DIR1)/.configured: $(CCACHE_DIR1)/.patched - mkdir -p $(CCACHE_DIR1) - (cd $(CCACHE_DIR1); rm -rf config.cache; \ - CC="$(HOSTCC)" \ - $(CCACHE_DIR1)/configure $(QUIET) \ - --target=$(GNU_HOST_NAME) \ - --host=$(GNU_HOST_NAME) \ - --build=$(GNU_HOST_NAME) \ - --prefix=/usr \ - $(QUIET) \ - ) - touch $@ - -$(CCACHE_DIR1)/$(CCACHE_BINARY): $(CCACHE_DIR1)/.configured - $(MAKE) CC="$(HOSTCC)" -C $(CCACHE_DIR1) - -$(STAGING_DIR)/$(CCACHE_TARGET_BINARY): $(CCACHE_DIR1)/$(CCACHE_BINARY) - mkdir -p $(STAGING_DIR)/usr/bin - cp $(CCACHE_DIR1)/ccache $(STAGING_DIR)/usr/bin - # Keep the actual toolchain binaries in a directory at the same level. - # Otherwise, relative paths for include dirs break. - mkdir -p $(STAGING_DIR)/usr/bin-ccache - (cd $(STAGING_DIR)/usr/bin-ccache; \ - ln -fs $(REAL_GNU_TARGET_NAME)-gcc $(GNU_TARGET_NAME)-gcc; \ - ln -fs $(REAL_GNU_TARGET_NAME)-gcc $(GNU_TARGET_NAME)-cc; \ - ln -fs $(REAL_GNU_TARGET_NAME)-gcc $(REAL_GNU_TARGET_NAME)-cc; \ - ) - [ -f $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc ] && \ - mv $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc \ - $(STAGING_DIR)/usr/bin-ccache/ - (cd $(STAGING_DIR)/usr/bin; \ - ln -fs ccache $(GNU_TARGET_NAME)-cc; \ - ln -fs ccache $(GNU_TARGET_NAME)-gcc; \ - ln -fs ccache $(REAL_GNU_TARGET_NAME)-cc; \ - ln -fs ccache $(REAL_GNU_TARGET_NAME)-gcc; \ - ) -ifeq ($(BR2_INSTALL_LIBSTDCPP),y) - [ -f $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-c++ ] && \ - mv $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-c++ \ - $(STAGING_DIR)/usr/bin-ccache/ - [ -f $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-g++ ] && \ - mv $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-g++ \ - $(STAGING_DIR)/usr/bin-ccache/ - (cd $(STAGING_DIR)/usr/bin; \ - ln -fs ccache $(GNU_TARGET_NAME)-c++; \ - ln -fs ccache $(GNU_TARGET_NAME)-g++;\ - ln -fs ccache $(REAL_GNU_TARGET_NAME)-c++; \ - ln -fs ccache $(REAL_GNU_TARGET_NAME)-g++; \ - ) - (cd $(STAGING_DIR)/usr/bin-ccache; \ - ln -fs $(REAL_GNU_TARGET_NAME)-c++ $(GNU_TARGET_NAME)-c++; \ - ln -fs $(REAL_GNU_TARGET_NAME)-g++ $(GNU_TARGET_NAME)-g++; \ - ) -endif - -ccache: gcc $(STAGING_DIR)/$(CCACHE_TARGET_BINARY) - -ccache-clean: - rm -rf $(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-cc - rm -rf $(STAGING_DIR)/usr/bin/$(GNU_TARGET_NAME)-gcc - rm -rf $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-cc - rm -rf $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc - if [ -f $(STAGING_DIR)/usr/bin-ccache/$(REAL_GNU_TARGET_NAME)-gcc ]; then \ - mv $(STAGING_DIR)/usr/bin-ccache/$(REAL_GNU_TARGET_NAME)-gcc \ - $(STAGING_DIR)/usr/bin/; \ - (cd $(STAGING_DIR)/usr/bin; \ - ln -fs $(REAL_GNU_TARGET_NAME)-gcc \ - $(REAL_GNU_TARGET_NAME)-cc; \ - ln -fs $(REAL_GNU_TARGET_NAME)-gcc \ - $(GNU_TARGET_NAME)-cc; \ - ln -fs $(REAL_GNU_TARGET_NAME)-gcc \ - $(GNU_TARGET_NAME)-gcc; \ - ); \ - fi - if [ -f $(STAGING_DIR)/usr/bin-ccache/$(REAL_GNU_TARGET_NAME)-c++ ]; then \ - rm -f $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-c++; \ - mv $(STAGING_DIR)/usr/bin-ccache/$(REAL_GNU_TARGET_NAME)-c++ \ - $(STAGING_DIR)/usr/bin/; \ - fi - if [ -f $(STAGING_DIR)/usr/bin-ccache/$(REAL_GNU_TARGET_NAME)-g++ ]; then \ - rm -f $(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-g++; \ - mv $(STAGING_DIR)/usr/bin-ccache/$(REAL_GNU_TARGET_NAME)-g++ \ - $(STAGING_DIR)/usr/bin/; \ - fi - rm -rf $(STAGING_DIR)/usr/bin-ccache/* - (cd $(STAGING_DIR)/usr/bin; \ - ln -fs $(REAL_GNU_TARGET_NAME)-g++ $(GNU_TARGET_NAME)-c++; \ - ln -fs $(REAL_GNU_TARGET_NAME)-g++ $(GNU_TARGET_NAME)-g++; \ - ln -fs $(REAL_GNU_TARGET_NAME)-g++ $(REAL_GNU_TARGET_NAME)-c++; \ - ) - -$(MAKE) -C $(CCACHE_DIR1) clean - -ccache-dirclean: - rm -rf $(CCACHE_DIR1) - - - - -############################################################# -# -# build ccache for use on the target system -# -############################################################# - -$(CCACHE_DIR2)/.unpacked: $(DL_DIR)/$(CCACHE_SOURCE) - $(CCACHE_CAT) $(DL_DIR)/$(CCACHE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - - touch $@ - -$(CCACHE_DIR2)/.patched: $(CCACHE_DIR2)/.unpacked - touch $@ - -$(CCACHE_DIR2)/.configured: $(CCACHE_DIR2)/.patched - mkdir -p $(CCACHE_DIR2) - (cd $(CCACHE_DIR2); rm -rf config.cache; \ - $(TARGET_CONFIGURE_OPTS) \ - $(CCACHE_DIR2)/configure $(QUIET) \ - --target=$(GNU_TARGET_NAME) \ - --host=$(GNU_TARGET_NAME) \ - --build=$(GNU_HOST_NAME) \ - --prefix=/usr \ - --sysconfdir=/etc \ - $(DISABLE_NLS) \ - $(QUIET) \ - ) - touch $@ - -$(CCACHE_DIR2)/$(CCACHE_BINARY): $(CCACHE_DIR2)/.configured - $(MAKE) -C $(CCACHE_DIR2) CFLAGS="$(TARGET_CFLAGS)" - -$(TARGET_DIR)/$(CCACHE_TARGET_BINARY): $(CCACHE_DIR2)/$(CCACHE_BINARY) - $(MAKE) DESTDIR=$(TARGET_DIR) -C $(CCACHE_DIR2) install - # put a bunch of symlinks into /bin, since that is earlier - # in the default PATH than /usr/bin where gcc lives - (cd $(TARGET_DIR)/bin; \ - ln -fs /usr/bin/ccache cc; \ - ln -fs /usr/bin/ccache gcc; \ - ln -fs /usr/bin/ccache c++; \ - ln -fs /usr/bin/ccache g++; \ - ) - -ccache_target: uclibc $(TARGET_DIR)/$(CCACHE_TARGET_BINARY) - -ccache_target-sources: $(DL_DIR)/$(CCACHE_SOURCE) - -ccache_target-clean: - rm -f $(TARGET_DIR)/$(CCACHE_TARGET_BINARY) \ - $(addprefix $(TARGET_DIR)/bin/,cc gcc c++ g++) - -$(MAKE) -C $(CCACHE_DIR2) clean - -ccache_target-dirclean: - rm -rf $(CCACHE_DIR2) -############################################################# -# -# Toplevel Makefile options -# -############################################################# -ifeq ($(BR2_CCACHE),y) -TARGETS+=ccache -endif -ifeq ($(BR2_PACKAGE_CCACHE_TARGET),y) -TARGETS+=ccache_target -endif diff --git a/toolchain/dependencies/dependencies.sh b/toolchain/dependencies/dependencies.sh index ee21b37..1aa013f 100755 --- a/toolchain/dependencies/dependencies.sh +++ b/toolchain/dependencies/dependencies.sh @@ -79,7 +79,7 @@ if [ $MAKE_MAJOR -lt 3 ] || [ $MAKE_MAJOR -eq 3 -a $MAKE_MINOR -lt 81 ] ; then fi; # Check host gcc -COMPILER=$(which $HOSTCC 2> /dev/null) +COMPILER=$(which $HOSTCC_NOCCACHE 2> /dev/null) if [ -z "$COMPILER" ] ; then COMPILER=$(which cc 2> /dev/null) fi; diff --git a/toolchain/toolchain-buildroot.mk b/toolchain/toolchain-buildroot.mk index d879697..44044d7 100644 --- a/toolchain/toolchain-buildroot.mk +++ b/toolchain/toolchain-buildroot.mk @@ -2,7 +2,6 @@ include toolchain/dependencies/dependencies.mk include toolchain/binutils/binutils.mk -include toolchain/ccache/ccache.mk include toolchain/elf2flt/elf2flt.mk include toolchain/gcc/gcc-uclibc-4.x.mk include toolchain/gdb/gdb.mk diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in index a9dd192..c458251 100644 --- a/toolchain/toolchain-buildroot/Config.in +++ b/toolchain/toolchain-buildroot/Config.in @@ -5,5 +5,4 @@ source "toolchain/kernel-headers/Config.in" source "toolchain/uClibc/Config.in" source "toolchain/binutils/Config.in" source "toolchain/gcc/Config.in" -source "toolchain/ccache/Config.in" endif diff --git a/toolchain/toolchain-crosstool-ng.mk b/toolchain/toolchain-crosstool-ng.mk index 81fce18..1c80300 100644 --- a/toolchain/toolchain-crosstool-ng.mk +++ b/toolchain/toolchain-crosstool-ng.mk @@ -3,7 +3,6 @@ # Explicit ordering: include toolchain/helpers.mk include toolchain/binutils/binutils.mk -include toolchain/ccache/ccache.mk include toolchain/dependencies/dependencies.mk include toolchain/elf2flt/elf2flt.mk include toolchain/gcc/gcc-uclibc-4.x.mk diff --git a/toolchain/toolchain-external.mk b/toolchain/toolchain-external.mk index 6f1f641..f90b6f1 100644 --- a/toolchain/toolchain-external.mk +++ b/toolchain/toolchain-external.mk @@ -2,7 +2,6 @@ include toolchain/helpers.mk include toolchain/binutils/binutils.mk -include toolchain/ccache/ccache.mk include toolchain/dependencies/dependencies.mk include toolchain/elf2flt/elf2flt.mk include toolchain/gcc/gcc-uclibc-4.x.mk diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk index 7e4645d..53ad636 100644 --- a/toolchain/toolchain-external/ext-tool.mk +++ b/toolchain/toolchain-external/ext-tool.mk @@ -62,7 +62,7 @@ endif # ! no threads # could select a multilib variant as we want the "main" sysroot, which # contains all variants of the C library in the case of multilib # toolchains. -TARGET_CC_NO_SYSROOT=$(filter-out --sysroot=%,$(TARGET_CC)) +TARGET_CC_NO_SYSROOT=$(filter-out --sysroot=%,$(TARGET_CC_NOCCACHE)) SYSROOT_DIR=$(shell $(TARGET_CC_NO_SYSROOT) -print-sysroot 2>/dev/null) ifeq ($(SYSROOT_DIR),) SYSROOT_DIR=$(shell readlink -f $$(LANG=C $(TARGET_CC_NO_SYSROOT) -print-file-name=libc.a) |sed -r -e 's:usr/lib/libc\.a::;') commit 3bbf1c2ea6140d8b288b0af5b1a9c3a1aa92edad Author: Mike Frysinger <va...@ge...> Date: Wed Nov 17 04:11:18 2010 -0500 linux: drop LDFLAGS override The current linux code overrides LDFLAGS that the kernel itself might be setting up. Looking at the history, there doesn't seem to be any reason for this override. It was added in ea8b1fa6a60705 without any logic. Signed-off-by: Mike Frysinger <va...@ge...> Acked-by: Thomas Petazzoni <tho...@fr...> Signed-off-by: Peter Korsgaard <ja...@su...> diff --git a/linux/linux.mk b/linux/linux.mk index 8dc7dd0..feda418 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -24,7 +24,6 @@ LINUX26_MAKE_FLAGS = \ ARCH=$(KERNEL_ARCH) \ INSTALL_MOD_PATH=$(TARGET_DIR) \ CROSS_COMPILE=$(TARGET_CROSS) \ - LDFLAGS="$(TARGET_LDFLAGS)" \ LZMA="$(LZMA)" # Get the real Linux version, which tells us where kernel modules are commit 95f17bf78f94a69858ebe9a7a64a5b9cce76eedb Author: Mike Frysinger <va...@ge...> Date: Sat Nov 20 01:52:43 2010 -0500 lsuio: new UIO helper package Signed-off-by: Mike Frysinger <va...@ge...> Acked-by: Thomas Petazzoni <tho...@fr...> Signed-off-by: Peter Korsgaard <ja...@su...> diff --git a/CHANGES b/CHANGES index b3cf6ae..9333e3f 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,8 @@ Updated/fixed packages: cloop, m4, openssh, xz + New packages: lsuio + 2010.11, Released November 30th, 2010: Fixes all over the tree. diff --git a/package/Config.in b/package/Config.in index 03e580a..08ffda6 100644 --- a/package/Config.in +++ b/package/Config.in @@ -175,6 +175,7 @@ source "package/input-tools/Config.in" source "package/iostat/Config.in" source "package/kbd/Config.in" source "package/lm-sensors/Config.in" +source "package/lsuio/Config.in" source "package/lvm2/Config.in" source "package/makedevs/Config.in" source "package/mdadm/Config.in" diff --git a/package/lsuio/Config.in b/package/lsuio/Config.in new file mode 100644 index 0000000..675a318 --- /dev/null +++ b/package/lsuio/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_LSUIO + bool "lsuio" + help + list available userspace I/O (UIO) devices + + http://www.osadl.org/UIO.uio.0.html diff --git a/package/lsuio/lsuio.mk b/package/lsuio/lsuio.mk new file mode 100644 index 0000000..2a867b7 --- /dev/null +++ b/package/lsuio/lsuio.mk @@ -0,0 +1,11 @@ +############################################################# +# +# lsuio +# +############################################################# + +LSUIO_VERSION = 0.2.0 +LSUIO_SOURCE = lsuio-$(LSUIO_VERSION).tar.gz +LSUIO_SITE = http://www.osadl.org/projects/downloads/UIO/user + +$(eval $(call AUTOTARGETS,package,lsuio)) ----------------------------------------------------------------------- Summary of changes: CHANGES | 11 +- Config.in | 8 + Makefile | 26 ++- docs/buildroot.html | 31 +++- linux/linux.mk | 1 - package/Config.in | 6 +- package/Makefile.in | 10 +- package/ccache/Config.in | 9 + package/ccache/ccache.mk | 33 ++++ package/dhrystone/Config.in | 6 + package/dhrystone/Makefile | 12 ++ package/dhrystone/dhrystone-2-HZ.patch | 17 ++ package/dhrystone/dhrystone-2-cmdline-nruns.patch | 53 ++++++ package/dhrystone/dhrystone-2-exit.patch | 14 ++ package/dhrystone/dhrystone-2-headers.patch | 15 ++ package/dhrystone/dhrystone-2-prototypes.patch | 35 ++++ package/dhrystone/dhrystone.mk | 34 ++++ package/lsuio/Config.in | 6 + package/lsuio/lsuio.mk | 11 ++ package/qt/qt.mk | 4 + package/rsh-redone/Config.in | 31 ++++ package/rsh-redone/rsh-redone.mk | 36 ++++ package/whetstone/Config.in | 6 + package/whetstone/whetstone.mk | 33 ++++ toolchain/ccache/Config.in | 16 -- toolchain/ccache/Config.in.2 | 13 -- toolchain/ccache/ccache.mk | 196 --------------------- toolchain/dependencies/dependencies.sh | 2 +- toolchain/toolchain-buildroot.mk | 1 - toolchain/toolchain-buildroot/Config.in | 1 - toolchain/toolchain-crosstool-ng.mk | 1 - toolchain/toolchain-external.mk | 1 - toolchain/toolchain-external/ext-tool.mk | 2 +- 33 files changed, 437 insertions(+), 244 deletions(-) create mode 100644 package/ccache/Config.in create mode 100644 package/ccache/ccache.mk create mode 100644 package/dhrystone/Config.in create mode 100644 package/dhrystone/Makefile create mode 100644 package/dhrystone/dhrystone-2-HZ.patch create mode 100644 package/dhrystone/dhrystone-2-cmdline-nruns.patch create mode 100644 package/dhrystone/dhrystone-2-exit.patch create mode 100644 package/dhrystone/dhrystone-2-headers.patch create mode 100644 package/dhrystone/dhrystone-2-prototypes.patch create mode 100644 package/dhrystone/dhrystone.mk create mode 100644 package/lsuio/Config.in create mode 100644 package/lsuio/lsuio.mk create mode 100644 package/rsh-redone/Config.in create mode 100644 package/rsh-redone/rsh-redone.mk create mode 100644 package/whetstone/Config.in create mode 100644 package/whetstone/whetstone.mk delete mode 100644 toolchain/ccache/Config.in delete mode 100644 toolchain/ccache/Config.in.2 delete mode 100644 toolchain/ccache/ccache.mk hooks/post-receive -- Devil-Linux |