* [Buildroot] [PATCH 01/10] manual: add section about storing the configuration.
From: Arnout Vandecappelle @ 2012-10-20 23:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Reuse part of board-support.txt, and remove that one because it
was unused.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
docs/manual/adding-packages-directory.txt | 1 +
docs/manual/board-support.txt | 35 -----
docs/manual/customize-store.txt | 241 +++++++++++++++++++++++++++++
docs/manual/customize.txt | 2 +
4 files changed, 244 insertions(+), 35 deletions(-)
delete mode 100644 docs/manual/board-support.txt
create mode 100644 docs/manual/customize-store.txt
diff --git a/docs/manual/adding-packages-directory.txt b/docs/manual/adding-packages-directory.txt
index 4a96415..ce9c5ce 100644
--- a/docs/manual/adding-packages-directory.txt
+++ b/docs/manual/adding-packages-directory.txt
@@ -147,6 +147,7 @@ package.
The +.mk+ file
~~~~~~~~~~~~~~
+[[adding-packages-mk]]
Finally, here's the hardest part. Create a file named +libfoo.mk+. It
describes how the package should be downloaded, configured, built,
diff --git a/docs/manual/board-support.txt b/docs/manual/board-support.txt
deleted file mode 100644
index d1d9d63..0000000
--- a/docs/manual/board-support.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-Creating your own board support
-===============================
-
-Creating your own board support in Buildroot allows users of a
-particular hardware platform to easily build a system that is known to
-work.
-
-To do so, you need to create a normal Buildroot configuration that
-builds a basic system for the hardware: toolchain, kernel, bootloader,
-filesystem and a simple Busybox-only userspace. No specific package
-should be selected: the configuration should be as minimal as
-possible, and should only build a working basic Busybox system for the
-target platform. You can of course use more complicated configurations
-for your internal projects, but the Buildroot project will only
-integrate basic board configurations. This is because package
-selections are highly application-specific.
-
-Once you have a known working configuration, run +make
-savedefconfig+. This will generate a minimal +defconfig+ file at the
-root of the Buildroot source tree. Move this file into the +configs/+
-directory, and rename it +MYBOARD_defconfig+.
-
-It is recommended to use as much as possible upstream versions of the
-Linux kernel and bootloaders, and to use as much as possible default
-kernel and bootloader configurations. If they are incorrect for your
-platform, we encourage you to send fixes to the corresponding upstream
-projects.
-
-However, in the mean time, you may want to store kernel or bootloader
-configuration or patches specific to your target platform. To do so,
-create a directory +board/MANUFACTURER+ and a subdirectory
-+board/MANUFACTURER/BOARDNAME+ (after replacing, of course,
-MANUFACTURER and BOARDNAME with the appropriate values, in lower case
-letters). You can then store your patches and configurations in these
-directories, and reference them from the main Buildroot configuration.
diff --git a/docs/manual/customize-store.txt b/docs/manual/customize-store.txt
new file mode 100644
index 0000000..cad1700
--- /dev/null
+++ b/docs/manual/customize-store.txt
@@ -0,0 +1,241 @@
+Storing the configuration
+-------------------------
+[[customize-store]]
+
+When you have a buildroot configuration that you are satisfied with
+and you want to move to share it with others, put it under revision
+control or move on to a different buildroot project, you need to store
+the configuration so it can be rebuilt later. The configuration that
+needs to be stored consists of the buildroot configuration, the
+configuration files for packages that you use (kernel, busybox,
+uClibc, ...), and your rootfs modifications.
+
+Basics for storing the configuration
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+[[customize-store-basics]]
+
+Buildroot configuration
+^^^^^^^^^^^^^^^^^^^^^^^
+
+For storing the buildroot configuration itself, buildroot offers the
+following command: +make savedefconfig+
+
+This strips the buildroot configuration down by removing configuration
+options that are at their default value. The result is stored in a file
+called +defconfig+. Copy this file to +foo_defconfig+ in the +configs+
+directory. The configuration can then be rebuilt by running
++make foo_defconfig+
+
+Alternatively, you can copy the file to any other place and rebuild with
++make BR2_DEFCONFIG=<path-to-defconfig> defconfig+
+
+
+Other package configuration
+^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+The configuration files for busybox, the linux kernel, uClibc and
+crosstool-NG should be stored as well. For each of these, a
+buildroot configuration option exists to point to an input configuration
+file, e.g. +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE+. To save their
+configuration, set those configuration options to a path outside
+your output directory. Then, copy the configuration files
+to that path.
+
+Make sure that you create a configuration file 'before' changing
+the +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE+ etc. options. Otherwise,
+buildroot will try to access this config file, which doesn't exist
+yet, and will fail.
+
+Buildroot provides a few helper targets to make the saving of
+configuration files easier.
+
+* +make linux-update-defconfig+ saves the linux configuration to the
+ path specified by +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE+. It
+ simplifies the config file by removing default values. However,
+ this only works with kernels starting from 2.6.33. For earlier
+ kernels, use +make linux-update-config+.
+* +make busybox-update-config+ saves the busybox configuration to the
+ path specified by +BR2_PACKAGE_BUSYBOX_CONFIG+.
+* +make uclibc-update-config+ saves the uClibc configuration to the
+ path specified by +BR2_UCLIBC_CONFIG+.
+* For crosstool-NG, no helper exists so you have to copy the config
+ file manually to +BR2_TOOLCHAIN_CTNG_CONFIG+.
+
+
+Creating your own board support
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Creating your own board support in Buildroot allows users of a
+particular hardware platform to easily build a system that is known to
+work.
+
+To do so, you need to create a normal Buildroot configuration that
+builds a basic system for the hardware: toolchain, kernel, bootloader,
+filesystem and a simple Busybox-only userspace. No specific package
+should be selected: the configuration should be as minimal as
+possible, and should only build a working basic Busybox system for the
+target platform. You can of course use more complicated configurations
+for your internal projects, but the Buildroot project will only
+integrate basic board configurations. This is because package
+selections are highly application-specific.
+
+Once you have a known working configuration, run +make
+savedefconfig+. This will generate a minimal +defconfig+ file at the
+root of the Buildroot source tree. Move this file into the +configs/+
+directory, and rename it +<boardname>_defconfig+.
+
+It is recommended to use as much as possible upstream versions of the
+Linux kernel and bootloaders, and to use as much as possible default
+kernel and bootloader configurations. If they are incorrect for your
+platform, we encourage you to send fixes to the corresponding upstream
+projects.
+
+However, in the mean time, you may want to store kernel or bootloader
+configuration or patches specific to your target platform. To do so,
+create a directory +board/<manufacturer>+ and a subdirectory
++board/<manufacturer>/<boardname>+. You can then store your patches
+and configurations in these directories, and reference them from the main
+Buildroot configuration.
+
+
+Step-by-step instructions for storing configuration inside the buildroot tree
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+To store the configuration for a specific product, device or
+application, it is advisable to use the same conventions as for the
+board support: put the buildroot defconfig in the +configs+ directory,
+and any other files in a subdirectory of the +boards+ directory. This
+section gives step-by-step instructions about how to do that. Of course,
+you can skip the steps that are not relevant for your use case.
+
+1. +make menuconfig+ to configure toolchain, packages and kernel.
+1. +make linux-menuconfig+ to update the kernel config, similar for
+ other configuration.
+1. +mkdir -p board/<manufacturer>/<boardname>+
+1. Set the following options to +board/<manufacturer>/<boardname>/<package>.config+
+ (as far as they are relevant):
+ * +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE+
+ * +BR2_PACKAGE_BUSYBOX_CONFIG+
+ * +BR2_TOOLCHAIN_CTNG_CONFIG+
+ * +BR2_UCLIBC_CONFIG+
+ * +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE+
+1. Write the configuration files:
+ * +make linux-update-defconfig+
+ * +make busybox-update-config+
+ * +cp <output>/build/build-toolchain/.config board/<manufacturer>/<boardname>/ctng.config+
+ * +make uclibc-update-config+
+ * +cp <output>/build/at91bootstrap3-*/.config board/<manufacturer>/<boardname>/at91bootstrap3.config+
+1. Create +board/<manufacturer>/<boardname>/fs-overlay+ and fill it
+ with additional files you need on your rootfs, e.g.
+ +board/<manufacturer>/<boardname>/etc/inittab+.
+1. Create a post-build script
+ +board/<manufacturer>/<boardname>/post-build.sh+. It should contain
+ the following command:
++
+------------
+rsync -a --exclude .empty --exclude '*~' ${0%/*}/fs-overlay $1
+------------
++
+1. Set +BR2_ROOTFS_POST_BUILD_SCRIPT+ to +board/<manufacturer>/<boardname>/post-build.sh+
+1. If additional setuid permissions have to be set or device nodes have
+ to be created, create +board/<manufacturer>/<boardname>/device_table.txt+
+ and add that path to +BR2_ROOTFS_DEVICE_TABLE+.
+1. +make savedefconfig+ to save the buildroot configuration.
+1. +cp defconfig configs/<boardname>_defconfig+
+
+
+Step-by-step instructions for storing configuration outside the buildroot tree
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+When you use buildroot in different projects, you may want to keep
+each project separate from buildroot itself. This requires an extra
+script or Makefile, but is otherwise easy to do with buildroot.
+Take the following steps (very similar to storing configuration inside
+the buildroot tree).
+
+1. +make menuconfig+ to configure toolchain, packages and kernel.
+1. +make linux-menuconfig+ to update the kernel config, similar for
+ other configuration.
+1. +mkdir -p <path-to-board-directory>+
+1. Set the following options to +$(BOARDDIR)/<package>.config+
+ (as far as they are relevant):
+ * +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE+
+ * +BR2_PACKAGE_BUSYBOX_CONFIG+
+ * +BR2_TOOLCHAIN_CTNG_CONFIG+
+ * +BR2_UCLIBC_CONFIG+
+ * +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE+
+1. Write the configuration files:
+ * +make linux-update-defconfig+
+ * +make busybox-update-config+
+ * +cp <output>/build/build-toolchain/.config <path-to-board-directory>/ctng.config+
+ * +make uclibc-update-config+
+ * +cp <output>/build/at91bootstrap3-*/.config <path-to-board-directory>/at91bootstrap3.config+
+1. Create +<path-to-board-directory>/fs-overlay+ and fill it
+ with additional files you need on your rootfs, e.g.
+ +<path-to-board-directory>/etc/inittab+.
+1. Create a post-build script
+ +<path-to-board-directory>/post-build.sh+. It should contain
+ the following command:
++
+------------
+rsync -a --exclude .empty --exclude '*~' ${0%/*}/fs-overlay $1
+------------
++
+1. Set +BR2_ROOTFS_POST_BUILD_SCRIPT+ to +$(BOARDDIR)/post-build.sh+
+1. If additional setuid permissions have to be set or device nodes have
+ to be created, create +<path-to-board-directory>/device_table.txt+
+ and add that path to +BR2_ROOTFS_DEVICE_TABLE+.
+1. +make savedefconfig+ to save the buildroot configuration.
+1. +cp defconfig <path-to-board-directory>/buildroot.config+
+1. Create a script or Makefile in the board directory that calls
+ buildroot:
++
+------------
+make -C <path-to-buildroot> O=<path-to-board-directory>/output BR2_DEFCONFIG=<path-to-board-directory>/buildroot.config defconfig
+make -C <path-to-buildroot> O=<path-to-board-directory>/output BOARDDIR=<path-to-board-directory>
+------------
++
+1. If you have additional proprietary binaries that are compiled
+ outside of buildroot, you can copy them into the rootfs as
+ part of +post-build.sh+
+1. If you need additional packages that are not available in buildroot
+ and that you don't want to make available (e.g. proprietary
+ applications), set +BR2_PACKAGE_OVERRIDE_FILE+ to
+ +$(BOARDDIR)/local.mk+. Add the following to +local.mk+ to
+ add package 'foo': +include foo/foo.mk+. Add the following in
+ +foo.mk+ (see xref:adding-packages-mk[Adding packages to buildroot]):
++
+------------
+BR2_PACKAGE_FOO = y
+FOO_OVERRIDE_SRCDIR = $(BOARDDIR)/foo
+
+define FOO_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
+endef
+
+define FOO_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/foo $(TARGET_DIR)/usr/bin/foo
+endef
+
+$(eval $(generic-package))
+------------
++
+The +BR2_PACKAGE_FOO=y+ makes sure the package is always selected,
+so there is no need for a +Config.in+ file. The +FOO_OVERRIDE_SRCDIR+
+tells buildroot to fetch the sources from the +foo+ directory, and
+also makes sure that they are re-synchronized when you call +make
+foo-rebuild+
++
+1. To add patches to the linux build, set +BR2_LINUX_KERNEL_PATCH+ to
+ +$(BOARDDIR)/patches/linux+ and add your patches in that directory.
+ Similar for U-Boot, barebox, at91bootstrap and at91bootstrap3.
+1. To add patches for some other package 'foo', put them in the
+ +patches/foo+ directory and add the following to +local.mk+:
++
+------------
+define FOO_LOCAL_PATCHES
+support/scripts/apply-patches.sh $(@D) $(BOARDDIR)/patches/foo foo-\*.patch
+endef
+
+FOO_POST_PATCH_HOOKS += FOO_LOCAL_PATCHES
+------------
diff --git a/docs/manual/customize.txt b/docs/manual/customize.txt
index e8235de..6bd5811 100644
--- a/docs/manual/customize.txt
+++ b/docs/manual/customize.txt
@@ -10,3 +10,5 @@ include::customize-uclibc-config.txt[]
include::customize-kernel-config.txt[]
include::customize-toolchain.txt[]
+
+include::customize-store.txt[]
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 02/10] target/generic: add filesystem overlay option
From: Arnout Vandecappelle @ 2012-10-20 23:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
The filesystem overlay is a tree that is copied over the target fs
after building everything - which is currently usually done in the
post-build script.
Also replace the documentation for a custom skeleton with the
filesystem overlay and deprecate the custom skeleton.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
Makefile | 9 +++++++++
docs/manual/customize-rootfs.txt | 21 +++++++++------------
docs/manual/customize-store.txt | 27 +++++++++------------------
target/generic/Config.in | 11 +++++++++++
4 files changed, 38 insertions(+), 30 deletions(-)
diff --git a/Makefile b/Makefile
index 0128839..2122d45 100644
--- a/Makefile
+++ b/Makefile
@@ -463,6 +463,15 @@ endif
echo "PRETTY_NAME=\"Buildroot $(BR2_VERSION)\"" \
) > $(TARGET_DIR)/etc/os-release
+ @for dir in $(call qstrip,$(BR2_ROOTFS_OVERLAY)); do \
+ if [ -d $${dir} ]; then \
+ $(call MESSAGE,"Copying overlay $${dir}"); \
+ rsync -a \
+ --exclude .svn --exclude .git --exclude .hg --exclude '*~' \
+ $${dir}/ $(TARGET_DIR); \
+ fi \
+ done
+
ifneq ($(BR2_ROOTFS_POST_BUILD_SCRIPT),"")
@$(call MESSAGE,"Executing post-build script")
$(BR2_ROOTFS_POST_BUILD_SCRIPT) $(TARGET_DIR)
diff --git a/docs/manual/customize-rootfs.txt b/docs/manual/customize-rootfs.txt
index 8c3ea82..b3c160b 100644
--- a/docs/manual/customize-rootfs.txt
+++ b/docs/manual/customize-rootfs.txt
@@ -1,5 +1,6 @@
Customizing the generated target filesystem
-------------------------------------------
+[customize-rootfs]
There are a few ways to customize the resulting target filesystem:
@@ -10,24 +11,20 @@ There are a few ways to customize the resulting target filesystem:
anything to the target filesystem, but if you decide to completely
rebuild your toolchain and tools, these changes will be lost.
-* Create your own 'target skeleton'. You can start with the default
- skeleton available under +fs/skeleton+ and then customize it to suit
- your needs. The +BR2_ROOTFS_SKELETON_CUSTOM+ and
- +BR2_ROOTFS_SKELETON_CUSTOM_PATH+ will allow you to specify the
- location of your custom skeleton. At build time, the contents of the
- skeleton are copied to output/target before any package
- installation.
+* Create a filesystem overlay: a tree of files that are copied directly
+ over the target filesystem after it has been built. Set
+ +BR2_ROOTFS_OVERLAY+ to the top of the tree. +.git+, +.svn+,
+ +.hg+ directories and files ending with +~+ are excluded.
* In the Buildroot configuration, you can specify the path to a
post-build script, that gets called 'after' Buildroot builds all the
selected software, but 'before' the rootfs packages are
assembled. The destination root filesystem folder is given as the
first argument to this script, and this script can then be used to
- copy programs, static data or any other needed file to your target
- filesystem. You should, however, use this feature with care.
- Whenever you find that a certain package generates wrong or unneeded
- files, you should fix that package rather than work around it with a
- post-build cleanup script.
+ remove or modify any file in your target filesystem. You should,
+ however, use this feature with care. Whenever you find that a certain
+ package generates wrong or unneeded files, you should fix that
+ package rather than work around it with a post-build cleanup script.
* A special package, 'customize', stored in +package/customize+ can be
used. You can put all the files that you want to see in the final
diff --git a/docs/manual/customize-store.txt b/docs/manual/customize-store.txt
index cad1700..bc1751e 100644
--- a/docs/manual/customize-store.txt
+++ b/docs/manual/customize-store.txt
@@ -127,16 +127,12 @@ you can skip the steps that are not relevant for your use case.
* +cp <output>/build/at91bootstrap3-*/.config board/<manufacturer>/<boardname>/at91bootstrap3.config+
1. Create +board/<manufacturer>/<boardname>/fs-overlay+ and fill it
with additional files you need on your rootfs, e.g.
- +board/<manufacturer>/<boardname>/etc/inittab+.
+ +board/<manufacturer>/<boardname>/etc/inittab+. Set +BR2_ROOTFS_OVERLAY+
+ to +board/<manufacturer>/<boardname>/fs-overlay+.
1. Create a post-build script
- +board/<manufacturer>/<boardname>/post-build.sh+. It should contain
- the following command:
-+
-------------
-rsync -a --exclude .empty --exclude '*~' ${0%/*}/fs-overlay $1
-------------
-+
-1. Set +BR2_ROOTFS_POST_BUILD_SCRIPT+ to +board/<manufacturer>/<boardname>/post-build.sh+
+ +board/<manufacturer>/<boardname>/post-build.sh+. Set
+ +BR2_ROOTFS_POST_BUILD_SCRIPT+ to
+ +board/<manufacturer>/<boardname>/post-build.sh+
1. If additional setuid permissions have to be set or device nodes have
to be created, create +board/<manufacturer>/<boardname>/device_table.txt+
and add that path to +BR2_ROOTFS_DEVICE_TABLE+.
@@ -172,16 +168,11 @@ the buildroot tree).
* +cp <output>/build/at91bootstrap3-*/.config <path-to-board-directory>/at91bootstrap3.config+
1. Create +<path-to-board-directory>/fs-overlay+ and fill it
with additional files you need on your rootfs, e.g.
- +<path-to-board-directory>/etc/inittab+.
+ +<path-to-board-directory>/etc/inittab+. Set +BR2_ROOTFS_OVERLAY+
+ to +<path-to-board-directory>/fs-overlay+.
1. Create a post-build script
- +<path-to-board-directory>/post-build.sh+. It should contain
- the following command:
-+
-------------
-rsync -a --exclude .empty --exclude '*~' ${0%/*}/fs-overlay $1
-------------
-+
-1. Set +BR2_ROOTFS_POST_BUILD_SCRIPT+ to +$(BOARDDIR)/post-build.sh+
+ +<path-to-board-directory>/post-build.sh+. Set
+ +BR2_ROOTFS_POST_BUILD_SCRIPT+ to +$(BOARDDIR)/post-build.sh+
1. If additional setuid permissions have to be set or device nodes have
to be created, create +<path-to-board-directory>/device_table.txt+
and add that path to +BR2_ROOTFS_DEVICE_TABLE+.
diff --git a/target/generic/Config.in b/target/generic/Config.in
index b8472f4..7f53a7c 100644
--- a/target/generic/Config.in
+++ b/target/generic/Config.in
@@ -166,6 +166,17 @@ config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
endif # BR2_ROOTFS_SKELETON_DEFAULT
+config BR2_ROOTFS_OVERLAY
+ string "Root filesystem overlay"
+ default ""
+ help
+ Specify a list of directories that are copied over the target
+ root filesystem after the build has finished and before it is
+ packed into the selected filesystem images.
+
+ It is copied as-is into the rootfs, excluding files ending with
+ ~ and .git, .svn and .hg directories.
+
config BR2_ROOTFS_POST_BUILD_SCRIPT
string "Custom script to run before creating filesystem images"
default ""
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 03/10] ctng: add ctng-update-config target
From: Arnout Vandecappelle @ 2012-10-20 23:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Analogous to linux-update-config and friends.
Also update documentation.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
docs/manual/customize-store.txt | 8 ++++----
toolchain/toolchain-crosstool-ng/crosstool-ng.mk | 3 +++
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/docs/manual/customize-store.txt b/docs/manual/customize-store.txt
index bc1751e..c7ef00c 100644
--- a/docs/manual/customize-store.txt
+++ b/docs/manual/customize-store.txt
@@ -58,8 +58,8 @@ configuration files easier.
path specified by +BR2_PACKAGE_BUSYBOX_CONFIG+.
* +make uclibc-update-config+ saves the uClibc configuration to the
path specified by +BR2_UCLIBC_CONFIG+.
-* For crosstool-NG, no helper exists so you have to copy the config
- file manually to +BR2_TOOLCHAIN_CTNG_CONFIG+.
+* +make ctng-update-config+ saves the crosstool-NG configuration to the
+ patch specified by +BR2_TOOLCHAIN_CTNG_CONFIG+.
Creating your own board support
@@ -122,7 +122,7 @@ you can skip the steps that are not relevant for your use case.
1. Write the configuration files:
* +make linux-update-defconfig+
* +make busybox-update-config+
- * +cp <output>/build/build-toolchain/.config board/<manufacturer>/<boardname>/ctng.config+
+ * +make ctng-update-config+
* +make uclibc-update-config+
* +cp <output>/build/at91bootstrap3-*/.config board/<manufacturer>/<boardname>/at91bootstrap3.config+
1. Create +board/<manufacturer>/<boardname>/fs-overlay+ and fill it
@@ -163,7 +163,7 @@ the buildroot tree).
1. Write the configuration files:
* +make linux-update-defconfig+
* +make busybox-update-config+
- * +cp <output>/build/build-toolchain/.config <path-to-board-directory>/ctng.config+
+ * +make ctng-update-config+
* +make uclibc-update-config+
* +cp <output>/build/at91bootstrap3-*/.config <path-to-board-directory>/at91bootstrap3.config+
1. Create +<path-to-board-directory>/fs-overlay+ and fill it
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
index e46bb20..fb6da0f 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
@@ -397,3 +397,6 @@ ctng-menuconfig: $(CTNG_DIR)/.config
$(call ctng-oldconfig,$<)
$(call ctng-check-config-changed,$<,$<.timestamp)
$(Q)rm -f $<.timestamp
+
+ctng-update-config: $(CTNG_DIR)/.config
+ cp -f $< $(CTNG_CONFIG_FILE)
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 04/10] busybox: busybox-update-config should depend on busybox-configure
From: Arnout Vandecappelle @ 2012-10-20 23:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Before the config file can be copied, it has to exist. The
other xxx-update-config targets to this as well.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
package/busybox/busybox.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index 33f8633..e95364c 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -215,5 +215,5 @@ busybox-menuconfig busybox-xconfig busybox-gconfig: busybox-patch
rm -f $(BUSYBOX_DIR)/.stamp_built
rm -f $(BUSYBOX_DIR)/.stamp_target_installed
-busybox-update-config:
+busybox-update-config: busybox-configure
cp -f $(BUSYBOX_BUILD_CONFIG) $(BUSYBOX_CONFIG_FILE)
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 05/10] at91bootstrap3: add -update-config target
From: Arnout Vandecappelle @ 2012-10-20 23:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
boot/at91bootstrap3/at91bootstrap3.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
index 74f08e8..bb6ef09 100644
--- a/boot/at91bootstrap3/at91bootstrap3.mk
+++ b/boot/at91bootstrap3/at91bootstrap3.mk
@@ -65,3 +65,10 @@ $(error No at91bootstrap3 configuration file specified, check your BR2_TARGET_AT
endif
endif
endif
+
+ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG),y)
+at91bootstrap3-update-config: at91bootstrap3-configure
+ cp -f $(AT91BOOTSTRAP3_DIR)/.config $(AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE)
+else
+at91bootstrap3-update-config: ;
+endif
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 06/10] Add update-all-config target
From: Arnout Vandecappelle @ 2012-10-20 23:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
The update-all-config target updates all the external configuration
file with their current values. This includes:
- buildroot
- busybox
- linux
- crosstool-ng
- uClibc
- at91bootstrap3
Linux and buildroot are saved as defconfigs. For Linux, this means
that it will fail on kernels before 2.6.33 (when the savedefconfig
was added to Linux Kconfig).
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
Barebox is missing because there is no BR2_TARGET_BAREBOX_CONFIG option.
Can be added once Maxime's patch has been accepted.
---
Makefile | 6 ++++++
boot/at91bootstrap3/at91bootstrap3.mk | 1 +
docs/manual/customize-store.txt | 18 ++++--------------
linux/linux.mk | 2 ++
package/busybox/busybox.mk | 4 ++++
toolchain/toolchain-crosstool-ng/crosstool-ng.mk | 4 ++++
toolchain/uClibc/uclibc.mk | 4 ++++
7 files changed, 25 insertions(+), 14 deletions(-)
diff --git a/Makefile b/Makefile
index 2122d45..e257c61 100644
--- a/Makefile
+++ b/Makefile
@@ -548,6 +548,10 @@ legal-info: dirs legal-info-clean legal-info-prepare $(REDIST_SOURCES_DIR) \
show-targets:
@echo $(TARGETS)
+# UPDATE_ALL_CONFIG_TARGETS is set by the individual packages that have a
+# save*config target.
+update-all-config: savedefconfig $(UPDATE_ALL_CONFIG_TARGETS)
+
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
all: menuconfig
@@ -700,6 +704,8 @@ help:
@echo ' defconfig - New config with default answer to all options'
@echo ' BR2_DEFCONFIG, if set, is used as input'
@echo ' savedefconfig - Save current config as ./defconfig (minimal config)'
+ @echo ' update-all-config - Update all configuration targets that have an input:'
+ @echo ' buildroot, busybox, linux, crosstool-ng, uClibc'
@echo ' allyesconfig - New config where all options are accepted with yes'
@echo ' allnoconfig - New config where all options are answered with no'
@echo ' randpackageconfig - New config with random answer to package options'
diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
index bb6ef09..1451ad8 100644
--- a/boot/at91bootstrap3/at91bootstrap3.mk
+++ b/boot/at91bootstrap3/at91bootstrap3.mk
@@ -69,6 +69,7 @@ endif
ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG),y)
at91bootstrap3-update-config: at91bootstrap3-configure
cp -f $(AT91BOOTSTRAP3_DIR)/.config $(AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE)
+UPDATE_ALL_CONFIG_TARGETS += at91bootstrap3-update-defconfig
else
at91bootstrap3-update-config: ;
endif
diff --git a/docs/manual/customize-store.txt b/docs/manual/customize-store.txt
index c7ef00c..6deed49 100644
--- a/docs/manual/customize-store.txt
+++ b/docs/manual/customize-store.txt
@@ -60,6 +60,8 @@ configuration files easier.
path specified by +BR2_UCLIBC_CONFIG+.
* +make ctng-update-config+ saves the crosstool-NG configuration to the
patch specified by +BR2_TOOLCHAIN_CTNG_CONFIG+.
+* +make update-all-config+ updates all of the above configuration files
+ for which you have defined the corresponding +_CONFIG+ option.
Creating your own board support
@@ -119,12 +121,6 @@ you can skip the steps that are not relevant for your use case.
* +BR2_TOOLCHAIN_CTNG_CONFIG+
* +BR2_UCLIBC_CONFIG+
* +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE+
-1. Write the configuration files:
- * +make linux-update-defconfig+
- * +make busybox-update-config+
- * +make ctng-update-config+
- * +make uclibc-update-config+
- * +cp <output>/build/at91bootstrap3-*/.config board/<manufacturer>/<boardname>/at91bootstrap3.config+
1. Create +board/<manufacturer>/<boardname>/fs-overlay+ and fill it
with additional files you need on your rootfs, e.g.
+board/<manufacturer>/<boardname>/etc/inittab+. Set +BR2_ROOTFS_OVERLAY+
@@ -136,7 +132,7 @@ you can skip the steps that are not relevant for your use case.
1. If additional setuid permissions have to be set or device nodes have
to be created, create +board/<manufacturer>/<boardname>/device_table.txt+
and add that path to +BR2_ROOTFS_DEVICE_TABLE+.
-1. +make savedefconfig+ to save the buildroot configuration.
+1. Write the configuration files: +make update-all-config+
1. +cp defconfig configs/<boardname>_defconfig+
@@ -160,12 +156,6 @@ the buildroot tree).
* +BR2_TOOLCHAIN_CTNG_CONFIG+
* +BR2_UCLIBC_CONFIG+
* +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE+
-1. Write the configuration files:
- * +make linux-update-defconfig+
- * +make busybox-update-config+
- * +make ctng-update-config+
- * +make uclibc-update-config+
- * +cp <output>/build/at91bootstrap3-*/.config <path-to-board-directory>/at91bootstrap3.config+
1. Create +<path-to-board-directory>/fs-overlay+ and fill it
with additional files you need on your rootfs, e.g.
+<path-to-board-directory>/etc/inittab+. Set +BR2_ROOTFS_OVERLAY+
@@ -176,7 +166,7 @@ the buildroot tree).
1. If additional setuid permissions have to be set or device nodes have
to be created, create +<path-to-board-directory>/device_table.txt+
and add that path to +BR2_ROOTFS_DEVICE_TABLE+.
-1. +make savedefconfig+ to save the buildroot configuration.
+1. Write the configuration files: +make update-all-config+
1. +cp defconfig <path-to-board-directory>/buildroot.config+
1. Create a script or Makefile in the board directory that calls
buildroot:
diff --git a/linux/linux.mk b/linux/linux.mk
index c4bdf90..98ffe44 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -151,6 +151,8 @@ ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y)
KERNEL_SOURCE_CONFIG = $(KERNEL_ARCH_PATH)/configs/$(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG))_defconfig
else ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y)
KERNEL_SOURCE_CONFIG = $(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE)
+# savedefconfig requires a kernel >= 2.6.33
+UPDATE_ALL_CONFIG_TARGETS += linux-update-defconfig
endif
define LINUX_CONFIGURE_CMDS
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index e95364c..c73d0d0 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -217,3 +217,7 @@ busybox-menuconfig busybox-xconfig busybox-gconfig: busybox-patch
busybox-update-config: busybox-configure
cp -f $(BUSYBOX_BUILD_CONFIG) $(BUSYBOX_CONFIG_FILE)
+
+ifneq ($(BUSYBOX_CONFIG_FILE),)
+UPDATE_ALL_CONFIG_TARGETS += busybox-update-config
+endif
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
index fb6da0f..37398bd 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
@@ -400,3 +400,7 @@ ctng-menuconfig: $(CTNG_DIR)/.config
ctng-update-config: $(CTNG_DIR)/.config
cp -f $< $(CTNG_CONFIG_FILE)
+
+ifneq ($(CTNG_CONFIG_FILE),)
+UPDATE_ALL_CONFIG_TARGETS += ctng-update-config
+endif
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index d1cd718..0faaf18 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -508,6 +508,10 @@ uclibc-oldconfig: $(UCLIBC_DIR)/.oldconfig
uclibc-update-config: uclibc-config
cp -f $(UCLIBC_DIR)/.config $(UCLIBC_CONFIG_FILE)
+ifneq ($(UCLIBC_CONFIG_FILE),)
+UPDATE_ALL_CONFIG_TARGETS += uclibc-update-config
+endif
+
uclibc-configured: gcc_initial kernel-headers $(UCLIBC_DIR)/.configured
uclibc-configured-source: uclibc-source
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 07/10] busybox: update-all-config shouldn't update default busybox config
From: Arnout Vandecappelle @ 2012-10-20 23:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
The new update-all-config target will update the busybox config file
if BR2_PACKAGE_BUSYBOX_CONFIG is set, even if it is set to the
default value in package/busybox/busybox-xxx.config.
To avoid this, set the default BR2_PACKAGE_BUSYBOX_CONFIG to empty,
and select a default to use in the .mk file.
Note that busybox-update-config will still overwrite the default
file in package/busybox/busybox-xxx.config - presumably it's
intentional.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
package/busybox/Config.in | 7 ++-----
package/busybox/busybox.mk | 9 +++++----
2 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/package/busybox/Config.in b/package/busybox/Config.in
index dedcf18..0b77872 100644
--- a/package/busybox/Config.in
+++ b/package/busybox/Config.in
@@ -40,15 +40,12 @@ config BR2_BUSYBOX_VERSION
config BR2_PACKAGE_BUSYBOX_CONFIG
string "BusyBox configuration file to use?"
- default "package/busybox/busybox-1.20.x.config" if BR2_PACKAGE_BUSYBOX_SNAPSHOT
- default "package/busybox/busybox-1.18.x.config" if BR2_BUSYBOX_VERSION_1_18_X
- default "package/busybox/busybox-1.19.x.config" if BR2_BUSYBOX_VERSION_1_19_X
- default "package/busybox/busybox-1.20.x.config" if BR2_BUSYBOX_VERSION_1_20_X
+ default ""
help
Some people may wish to use their own modified BusyBox configuration
file, and will specify their config file location with this option.
- Most people will just use the default BusyBox configuration file.
+ If left empty, a default configuration file is used.
config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
bool "Show packages that are also provided by busybox"
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index c73d0d0..5c54319 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -6,9 +6,11 @@
ifeq ($(BR2_PACKAGE_BUSYBOX_SNAPSHOT),y)
BUSYBOX_VERSION = snapshot
+BUSYBOX_CONFIG_VERSION = 1.20
BUSYBOX_SITE = http://www.busybox.net/downloads/snapshots
else
BUSYBOX_VERSION = $(call qstrip,$(BR2_BUSYBOX_VERSION))
+BUSYBOX_CONFIG_VERSION = $(subst $(space),.,$(wordlist 1,2,$(subst .,$(space),$(BUSYBOX_VERSION))))
BUSYBOX_SITE = http://www.busybox.net/downloads
endif
BUSYBOX_SOURCE = busybox-$(BUSYBOX_VERSION).tar.bz2
@@ -27,9 +29,8 @@ BUSYBOX_MAKE_OPTS = \
CONFIG_PREFIX="$(TARGET_DIR)" \
SKIP_STRIP=y
-ifndef BUSYBOX_CONFIG_FILE
- BUSYBOX_CONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_BUSYBOX_CONFIG))
-endif
+BUSYBOX_CONFIG = $(call qstrip,$(BR2_PACKAGE_BUSYBOX_CONFIG))
+BUSYBOX_CONFIG_FILE = $(or $(wildcard $(BUSYBOX_CONFIG)),package/busybox/busybox-$(BUSYBOX_CONFIG_VERSION).x.config)
define BUSYBOX_PERMISSIONS
/bin/busybox f 4755 0 0 - - - - -
@@ -218,6 +219,6 @@ busybox-menuconfig busybox-xconfig busybox-gconfig: busybox-patch
busybox-update-config: busybox-configure
cp -f $(BUSYBOX_BUILD_CONFIG) $(BUSYBOX_CONFIG_FILE)
-ifneq ($(BUSYBOX_CONFIG_FILE),)
+ifneq ($(BUSYBOX_CONFIG),)
UPDATE_ALL_CONFIG_TARGETS += busybox-update-config
endif
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 08/10] crosstool-ng: update-all-config shouldn't update default busybox config
From: Arnout Vandecappelle @ 2012-10-20 23:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
The new update-all-config target will update the ctng config file
if BR2_TOOLCHAIN_CTNG_CONFIG is set, even if it is set to the
default value in toolchain/toolchain-crosstool-ng/crosstool-ng.config-xxx
To avoid this, set the default BR2_TOOLCHAIN_CTNG_CONFIG to empty,
and select a default to use in the .mk file.
Note that ctng-update-config will still overwrite the default
file in toolchain/toolchain-crosstool-ng/crosstool-ng.config-xxx -
presumably it's intentional.
Also factored out the often-qstripped BR2_TOOLCHAIN_CTNG_LIBC (thereby
adding a few missing qstrips).
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
toolchain/toolchain-crosstool-ng/Config.in | 6 ++----
toolchain/toolchain-crosstool-ng/crosstool-ng.mk | 16 +++++++++-------
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/toolchain/toolchain-crosstool-ng/Config.in b/toolchain/toolchain-crosstool-ng/Config.in
index 35ea2b1..e5d373e 100644
--- a/toolchain/toolchain-crosstool-ng/Config.in
+++ b/toolchain/toolchain-crosstool-ng/Config.in
@@ -36,15 +36,13 @@ config BR2_TOOLCHAIN_CTNG_LIBC
config BR2_TOOLCHAIN_CTNG_CONFIG
string "crosstool-NG configuration file to use"
- default "toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc" if BR2_TOOLCHAIN_CTNG_uClibc
- default "toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc" if BR2_TOOLCHAIN_CTNG_eglibc
- default "toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc" if BR2_TOOLCHAIN_CTNG_glibc
+ default ""
help
Enter here the crosstool-NG's .config file to use.
To fine-tune your toolchain, you can also call:
make ctng-menuconfig
- If unsure, keep the default value.
+ If left empty, a default configuration file is used.
if BR2_TOOLCHAIN_CTNG_uClibc
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
index 37398bd..c99c8d8 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
@@ -9,9 +9,11 @@
# Internal variables
CTNG_DIR := $(BUILD_DIR)/build-toolchain
+CTNG_LIBC = $(call qstrip,$(BR2_TOOLCHAIN_CTNG_LIBC))
CTNG_UCLIBC_CONFIG_FILE := $(TOPDIR)/toolchain/uClibc/uClibc-0.9.33.config
-CTNG_CONFIG_FILE:=$(call qstrip,$(BR2_TOOLCHAIN_CTNG_CONFIG))
+CTNG_CONFIG = $(call qstrip,$(BR2_TOOLCHAIN_CTNG_CONFIG))
+CTNG_CONFIG_FILE = $(or $(wildcard $(CTNG_CONFIG)),toolchain/toolchain-crosstool-ng/crosstool-ng.config-$(CTNG_LIBC))
# Hack! ct-ng is in fact a Makefile script. As such, it accepts all
# make options, such as -C, which makes it uneeded to chdir prior
@@ -50,7 +52,7 @@ CTNG_LIBS_eglibc := $(CTNG_LIBS_glibc)
#--------------
# All that we need in /lib
-CTNG_LIBS_LIB += $(CTNG_LIBS_$(call qstrip,$(BR2_TOOLCHAIN_CTNG_LIBC)))
+CTNG_LIBS_LIB += $(CTNG_LIBS_$(CTNG_LIBC))
#--------------
# All that we need in /usr/lib
@@ -348,7 +350,7 @@ define ctng-oldconfig
$(call ctng,CT_IS_A_BACKEND=y \
CT_BACKEND_ARCH=$(CTNG_ARCH) \
CT_BACKEND_KERNEL=linux \
- CT_BACKEND_LIBC=$(BR2_TOOLCHAIN_CTNG_LIBC) \
+ CT_BACKEND_LIBC=$(CTNG_LIBC) \
oldconfig )
$(call ctng-fix-dot-config,$(1),$(CTNG_FIX_DOT_CONFIG_PATHS_SED))
endef
@@ -372,9 +374,9 @@ $(CTNG_DIR)/.config: $(CTNG_CONFIG_FILE) $(CONFIG_DIR)/.config
$(Q)if [ ! -f $@ ]; then \
mkdir -p "$(CTNG_DIR)"; \
libc="$$(awk -F '"' '$$1=="CT_LIBC=" { print $$2; }' "$<")"; \
- if [ "$${libc}" != "$(BR2_TOOLCHAIN_CTNG_LIBC)" ]; then \
+ if [ "$${libc}" != "$(CTNG_LIBC)" ]; then \
echo "* Inconsistency in crosstool-NG config file '$<'"; \
- echo "* - buildroot configured for '$(BR2_TOOLCHAIN_CTNG_LIBC)'"; \
+ echo "* - buildroot configured for '$(CTNG_LIBC)'"; \
echo "* - given config file for '$${libc}'"; \
exit 1; \
fi; \
@@ -392,7 +394,7 @@ ctng-menuconfig: $(CTNG_DIR)/.config
$(Q)$(call ctng,CT_IS_A_BACKEND=y \
CT_BACKEND_ARCH=$(CTNG_ARCH) \
CT_BACKEND_KERNEL=linux \
- CT_BACKEND_LIBC=$(BR2_TOOLCHAIN_CTNG_LIBC) \
+ CT_BACKEND_LIBC=$(CTNG_LIBC) \
menuconfig )
$(call ctng-oldconfig,$<)
$(call ctng-check-config-changed,$<,$<.timestamp)
@@ -401,6 +403,6 @@ ctng-menuconfig: $(CTNG_DIR)/.config
ctng-update-config: $(CTNG_DIR)/.config
cp -f $< $(CTNG_CONFIG_FILE)
-ifneq ($(CTNG_CONFIG_FILE),)
+ifneq ($(CTNG_CONFIG),)
UPDATE_ALL_CONFIG_TARGETS += ctng-update-config
endif
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 09/10] uClibc: update-all-config shouldn't update default uClibc config
From: Arnout Vandecappelle @ 2012-10-20 23:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
The new update-all-config target will update the uClibc config file
if BR2_UCLIBC_CONFIG is set, even if it is set to the default value
in toolchain/uClibc/uClibc-xxx.config.
To avoid this, set the default BR2_UCLIBC_CONFIG to empty, and select
a default to use in the .mk file.
Note that uclibc-update-config will still overwrite the default file
in toolchain/uClibc/uClibc-xxx.config - presumably it's intentional.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
toolchain/uClibc/Config.in | 7 ++-----
toolchain/uClibc/uclibc.mk | 23 +++++++++++------------
2 files changed, 13 insertions(+), 17 deletions(-)
diff --git a/toolchain/uClibc/Config.in b/toolchain/uClibc/Config.in
index f46a415..9cce05d 100644
--- a/toolchain/uClibc/Config.in
+++ b/toolchain/uClibc/Config.in
@@ -42,15 +42,12 @@ config BR2_UCLIBC_VERSION_STRING
config BR2_UCLIBC_CONFIG
string "uClibc configuration file to use?"
- default "toolchain/uClibc/uClibc-0.9.31.config" if BR2_UCLIBC_VERSION_0_9_31
- default "toolchain/uClibc/uClibc-0.9.32.config" if BR2_UCLIBC_VERSION_0_9_32
- default "toolchain/uClibc/uClibc-0.9.33.config" if BR2_UCLIBC_VERSION_0_9_33
- default "toolchain/uClibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_SNAPSHOT
+ default ""
help
Some people may wish to use their own modified uClibc configuration
file and will specify their config file location with this option.
See also docs/README in this package.
- If unsure, use the default.
+ If left empty, a default configuration will be used.
config BR2_PTHREAD_DEBUG
bool "Thread library debugging"
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 0faaf18..d032684 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -6,22 +6,21 @@
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
-# specifying UCLIBC_CONFIG_FILE on the command-line overrides the .config
-# setting.
-ifndef UCLIBC_CONFIG_FILE
-UCLIBC_CONFIG_FILE=$(call qstrip,$(BR2_UCLIBC_CONFIG))
-endif
-
-UCLIBC_VERSION:=$(call qstrip,$(BR2_UCLIBC_VERSION_STRING))
+UCLIBC_VERSION = $(call qstrip,$(BR2_UCLIBC_VERSION_STRING))
ifeq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
-UCLIBC_SITE:=http://www.uclibc.org/downloads/snapshots
-UCLIBC_DIR:=$(TOOLCHAIN_DIR)/uClibc
+UCLIBC_SITE = http://www.uclibc.org/downloads/snapshots
+UCLIBC_DIR = $(TOOLCHAIN_DIR)/uClibc
+UCLIBC_CONFIG_VERSION = snapshot
else
-UCLIBC_SITE:=http://www.uclibc.org/downloads
-UCLIBC_DIR:=$(TOOLCHAIN_DIR)/uClibc-$(UCLIBC_VERSION)
+UCLIBC_SITE = http://www.uclibc.org/downloads
+UCLIBC_DIR = $(TOOLCHAIN_DIR)/uClibc-$(UCLIBC_VERSION)
+UCLIBC_CONFIG_VERSION = $(subst $(space),.,$(wordlist 1,3,$(subst .,$(space),$(UCLIBC_VERSION))))
endif
+UCLIBC_CONFIG = $(call qstrip,$(BR2_UCLIBC_CONFIG))
+UCLIBC_CONFIG_FILE = $(or $(wildcard $(UCLIBC_CONFIG)),toolchain/uClibc/uClibc-$(UCLIBC_CONFIG_VERSION).config)
+
UCLIBC_PATCH_DIR:=toolchain/uClibc/
UCLIBC_SOURCE:=uClibc-$(UCLIBC_VERSION).tar.bz2
@@ -508,7 +507,7 @@ uclibc-oldconfig: $(UCLIBC_DIR)/.oldconfig
uclibc-update-config: uclibc-config
cp -f $(UCLIBC_DIR)/.config $(UCLIBC_CONFIG_FILE)
-ifneq ($(UCLIBC_CONFIG_FILE),)
+ifneq ($(UCLIBC_CONFIG),)
UPDATE_ALL_CONFIG_TARGETS += uclibc-update-config
endif
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [PATCH 10/10] Make savedefconfig save to a configured file.
From: Arnout Vandecappelle @ 2012-10-20 23:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-1-git-send-email-arnout@mind.be>
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Store BR2_DEFCONFIG in .config, and use it to update the original input
defconfig file after updating the configuration. When a config is
created by using the BR2_DEFCONFIG=... option, this is saved in the
.config file; later runs of savedefconfig will update that same location.
It is also possible to configure this place in the interactive
configuration.
The BR2_DEFCONFIG value itself is not saved into the generated
defconfig, since Kconfig considers it at its default. This is
intentional, to avoid hard-coding an absolute path in the defconfig.
It will anyway be set again when the defconfig is used with the
'make BR2_DEFCONFIG=... defconfig' command.
As a side-effect of this change, the *config options have been moved out
of the BR2_HAVE_DOT_CONFIG condition. This doesn't make any functional
difference, because the .config is still not read for the *config targets.
However, the defconfig and savedefconfig targets do need to include
.config now, which makes them slightly slower.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
Config.in | 12 ++++++++++++
Makefile | 17 +++++++++++++----
docs/manual/customize-store.txt | 1 +
3 files changed, 26 insertions(+), 4 deletions(-)
diff --git a/Config.in b/Config.in
index dab7787..670ce84 100644
--- a/Config.in
+++ b/Config.in
@@ -16,6 +16,18 @@ config BR2_HOSTARCH
source "target/Config.in.arch"
+config BR2_DEFCONFIG_FROM_ENV
+ string
+ option env="BR2_DEFCONFIG"
+
+config BR2_DEFCONFIG
+ string "Location to save buildroot config"
+ default BR2_DEFCONFIG_FROM_ENV if BR2_DEFCONFIG_FROM_ENV != ""
+ default "$(CONFIG_DIR)/defconfig"
+ help
+ When running 'make savedefconfig', the defconfig file will be saved
+ in this location.
+
menu "Build options"
menu "Commands"
diff --git a/Makefile b/Makefile
index e257c61..f6b8ef8 100644
--- a/Makefile
+++ b/Makefile
@@ -56,7 +56,7 @@ DATE:=$(shell date +%Y%m%d)
export BR2_VERSION_FULL:=$(BR2_VERSION)$(shell $(TOPDIR)/support/scripts/setlocalversion)
noconfig_targets:=menuconfig nconfig gconfig xconfig config oldconfig randconfig \
- defconfig %_defconfig savedefconfig allyesconfig allnoconfig silentoldconfig release \
+ %_defconfig allyesconfig allnoconfig silentoldconfig release \
randpackageconfig allyespackageconfig allnopackageconfig \
source-check print-version
@@ -556,6 +556,8 @@ else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
all: menuconfig
+endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
+
# configuration
# ---------------------------------------------------------------------------
@@ -566,7 +568,12 @@ $(BUILD_DIR)/buildroot-config/%onf:
mkdir -p $(@D)/lxdialog
$(MAKE) CC="$(HOSTCC_NOCCACHE)" HOSTCC="$(HOSTCC_NOCCACHE)" obj=$(@D) -C $(CONFIG) -f Makefile.br $(@F)
+DEFCONFIG = $(call qstrip,$(BR2_DEFCONFIG))
+
+# We don't want to fully expand BR2_DEFCONFIG here, so Kconfig will
+# recognize that if it's still at its default $(CONFIG_DIR)/defconfig
COMMON_CONFIG_ENV = \
+ BR2_DEFCONFIG='$(call qstrip,$(value BR2_DEFCONFIG))' \
KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
KCONFIG_TRISTATE=$(BUILD_DIR)/buildroot-config/tristate.config \
@@ -638,7 +645,7 @@ silentoldconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
defconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
@mkdir -p $(BUILD_DIR)/buildroot-config
- @$(COMMON_CONFIG_ENV) $< --defconfig$(if $(BR2_DEFCONFIG),=$(BR2_DEFCONFIG)) $(CONFIG_CONFIG_IN)
+ @$(COMMON_CONFIG_ENV) $< --defconfig$(if $(DEFCONFIG),=$(DEFCONFIG)) $(CONFIG_CONFIG_IN)
%_defconfig: $(BUILD_DIR)/buildroot-config/conf $(TOPDIR)/configs/%_defconfig outputmakefile
@mkdir -p $(BUILD_DIR)/buildroot-config
@@ -646,13 +653,15 @@ defconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
savedefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile
@mkdir -p $(BUILD_DIR)/buildroot-config
- @$(COMMON_CONFIG_ENV) $< --savedefconfig=$(CONFIG_DIR)/defconfig $(CONFIG_CONFIG_IN)
+ @$(COMMON_CONFIG_ENV) $< \
+ --savedefconfig=$(if $(DEFCONFIG),$(DEFCONFIG),$(CONFIG_DIR)/defconfig) \
+ $(CONFIG_CONFIG_IN)
# check if download URLs are outdated
source-check:
$(MAKE) DL_MODE=SOURCE_CHECK $(EXTRAMAKEARGS) source
-endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
+.PHONY: defconfig savedefconfig
#############################################################
#
diff --git a/docs/manual/customize-store.txt b/docs/manual/customize-store.txt
index 6deed49..92d5378 100644
--- a/docs/manual/customize-store.txt
+++ b/docs/manual/customize-store.txt
@@ -156,6 +156,7 @@ the buildroot tree).
* +BR2_TOOLCHAIN_CTNG_CONFIG+
* +BR2_UCLIBC_CONFIG+
* +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE+
+1. Set +BR2_DEFCONFIG+ to +<path-to-board-directory>/buildroot.config+
1. Create +<path-to-board-directory>/fs-overlay+ and fill it
with additional files you need on your rootfs, e.g.
+<path-to-board-directory>/etc/inittab+. Set +BR2_ROOTFS_OVERLAY+
--
1.7.10.4
^ permalink raw reply related
* [Buildroot] [autobuild.buildroot.net] Build results for 2012-10-20
From: Thomas Petazzoni @ 2012-10-21 6:33 UTC (permalink / raw)
To: buildroot
Hello,
On 2012-10-20, 94 random build tests have been done and
submitted on autobuild.buildroot.net.
52 builds have been successful
42 builds have failed
Below the results of the failed builds. Successful builds are omitted.
Build c12587d2bac0722096b74e31a8aa8f9dafc24ee3
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 00:37:03
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/c12587d2bac0722096b74e31a8aa8f9dafc24ee3/build-end.log
Complete log : http://autobuild.buildroot.net/results/c12587d2bac0722096b74e31a8aa8f9dafc24ee3/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/c12587d2bac0722096b74e31a8aa8f9dafc24ee3/config
Defconfig : http://autobuild.buildroot.net/results/c12587d2bac0722096b74e31a8aa8f9dafc24ee3/defconfig
Build 84d948e494e5d31b44bfe40d1d6eacd2f77e54fa
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 01:28:00
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/84d948e494e5d31b44bfe40d1d6eacd2f77e54fa/build-end.log
Complete log : http://autobuild.buildroot.net/results/84d948e494e5d31b44bfe40d1d6eacd2f77e54fa/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/84d948e494e5d31b44bfe40d1d6eacd2f77e54fa/config
Defconfig : http://autobuild.buildroot.net/results/84d948e494e5d31b44bfe40d1d6eacd2f77e54fa/defconfig
Build 99c8772288c20cb185637c74ceba9d0ed33e25a6
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-20 01:34:27
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/99c8772288c20cb185637c74ceba9d0ed33e25a6/build-end.log
Complete log : http://autobuild.buildroot.net/results/99c8772288c20cb185637c74ceba9d0ed33e25a6/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/99c8772288c20cb185637c74ceba9d0ed33e25a6/config
Defconfig : http://autobuild.buildroot.net/results/99c8772288c20cb185637c74ceba9d0ed33e25a6/defconfig
Build df3b1e8bc6d327790d421ded993556ed2a83225f
==============================================
Status : NOK
Failure reason : bluez_utils-4.101
Architecture : avr32
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 02:22:03
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/df3b1e8bc6d327790d421ded993556ed2a83225f/build-end.log
Complete log : http://autobuild.buildroot.net/results/df3b1e8bc6d327790d421ded993556ed2a83225f/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/df3b1e8bc6d327790d421ded993556ed2a83225f/config
Defconfig : http://autobuild.buildroot.net/results/df3b1e8bc6d327790d421ded993556ed2a83225f/defconfig
Build 4b14d7150a19b35f361471b343eeb76b01de0ef4
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : arm
Submitted by : Peter Korsgaard (gcc10)
Submitted at : 2012-10-20 02:46:41
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/4b14d7150a19b35f361471b343eeb76b01de0ef4/build-end.log
Complete log : http://autobuild.buildroot.net/results/4b14d7150a19b35f361471b343eeb76b01de0ef4/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/4b14d7150a19b35f361471b343eeb76b01de0ef4/config
Defconfig : http://autobuild.buildroot.net/results/4b14d7150a19b35f361471b343eeb76b01de0ef4/defconfig
Build f1ca5438f0d03f32586f6e84b1c0ac7379cfd19a
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-20 02:56:38
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/f1ca5438f0d03f32586f6e84b1c0ac7379cfd19a/build-end.log
Complete log : http://autobuild.buildroot.net/results/f1ca5438f0d03f32586f6e84b1c0ac7379cfd19a/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/f1ca5438f0d03f32586f6e84b1c0ac7379cfd19a/config
Defconfig : http://autobuild.buildroot.net/results/f1ca5438f0d03f32586f6e84b1c0ac7379cfd19a/defconfig
Build 36dc9f0b478324fab6e6467bcc6fd6aea3043099
==============================================
Status : NOK
Failure reason : iproute2-3.6.0
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 04:47:33
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/36dc9f0b478324fab6e6467bcc6fd6aea3043099/build-end.log
Complete log : http://autobuild.buildroot.net/results/36dc9f0b478324fab6e6467bcc6fd6aea3043099/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/36dc9f0b478324fab6e6467bcc6fd6aea3043099/config
Defconfig : http://autobuild.buildroot.net/results/36dc9f0b478324fab6e6467bcc6fd6aea3043099/defconfig
Build ebad7888429cb917fec4e63f4853d33293691aeb
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-20 05:27:28
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/ebad7888429cb917fec4e63f4853d33293691aeb/build-end.log
Complete log : http://autobuild.buildroot.net/results/ebad7888429cb917fec4e63f4853d33293691aeb/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/ebad7888429cb917fec4e63f4853d33293691aeb/config
Defconfig : http://autobuild.buildroot.net/results/ebad7888429cb917fec4e63f4853d33293691aeb/defconfig
Build 4f7de1cb695b7837be104288da2cdd519fb97ba2
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-20 06:34:12
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/4f7de1cb695b7837be104288da2cdd519fb97ba2/build-end.log
Complete log : http://autobuild.buildroot.net/results/4f7de1cb695b7837be104288da2cdd519fb97ba2/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/4f7de1cb695b7837be104288da2cdd519fb97ba2/config
Defconfig : http://autobuild.buildroot.net/results/4f7de1cb695b7837be104288da2cdd519fb97ba2/defconfig
Build a646df0b9dea248684b7a2e6d031ee29ab6eadf9
==============================================
Status : NOK
Failure reason : make: *** [/home/test/dl/gdb-.tar.bz2] Error 1
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 06:47:24
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/a646df0b9dea248684b7a2e6d031ee29ab6eadf9/build-end.log
Complete log : http://autobuild.buildroot.net/results/a646df0b9dea248684b7a2e6d031ee29ab6eadf9/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/a646df0b9dea248684b7a2e6d031ee29ab6eadf9/config
Defconfig : http://autobuild.buildroot.net/results/a646df0b9dea248684b7a2e6d031ee29ab6eadf9/defconfig
Build b46ffde131aa553fc315a5b9345f95556518a832
==============================================
Status : NOK
Failure reason : gadgetfs-test-undefined
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 06:47:44
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/b46ffde131aa553fc315a5b9345f95556518a832/build-end.log
Complete log : http://autobuild.buildroot.net/results/b46ffde131aa553fc315a5b9345f95556518a832/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/b46ffde131aa553fc315a5b9345f95556518a832/config
Defconfig : http://autobuild.buildroot.net/results/b46ffde131aa553fc315a5b9345f95556518a832/defconfig
Build c674966699825311a8dbab2599f4b640414c24f0
==============================================
Status : NOK
Failure reason : sconeserver-178
Architecture : arm
Submitted by : Peter Korsgaard (gcc10)
Submitted at : 2012-10-20 07:19:35
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/c674966699825311a8dbab2599f4b640414c24f0/build-end.log
Complete log : http://autobuild.buildroot.net/results/c674966699825311a8dbab2599f4b640414c24f0/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/c674966699825311a8dbab2599f4b640414c24f0/config
Defconfig : http://autobuild.buildroot.net/results/c674966699825311a8dbab2599f4b640414c24f0/defconfig
Build 33562c5d9a878473ff0e03f076ee23fa0009cdbe
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-20 07:32:58
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/33562c5d9a878473ff0e03f076ee23fa0009cdbe/build-end.log
Complete log : http://autobuild.buildroot.net/results/33562c5d9a878473ff0e03f076ee23fa0009cdbe/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/33562c5d9a878473ff0e03f076ee23fa0009cdbe/config
Defconfig : http://autobuild.buildroot.net/results/33562c5d9a878473ff0e03f076ee23fa0009cdbe/defconfig
Build 77d5467b49d258f08b35aa2f6b2617d7d061281b
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-20 08:37:17
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/77d5467b49d258f08b35aa2f6b2617d7d061281b/build-end.log
Complete log : http://autobuild.buildroot.net/results/77d5467b49d258f08b35aa2f6b2617d7d061281b/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/77d5467b49d258f08b35aa2f6b2617d7d061281b/config
Defconfig : http://autobuild.buildroot.net/results/77d5467b49d258f08b35aa2f6b2617d7d061281b/defconfig
Build a3c621abc6f1a3ab12f9c1482ea393b666507f06
==============================================
Status : NOK
Failure reason : iproute2-3.6.0
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 08:40:58
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/a3c621abc6f1a3ab12f9c1482ea393b666507f06/build-end.log
Complete log : http://autobuild.buildroot.net/results/a3c621abc6f1a3ab12f9c1482ea393b666507f06/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/a3c621abc6f1a3ab12f9c1482ea393b666507f06/config
Defconfig : http://autobuild.buildroot.net/results/a3c621abc6f1a3ab12f9c1482ea393b666507f06/defconfig
Build 97606d10fdd2be3024e6612b5d3150b297a2ac41
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-20 09:29:08
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/97606d10fdd2be3024e6612b5d3150b297a2ac41/build-end.log
Complete log : http://autobuild.buildroot.net/results/97606d10fdd2be3024e6612b5d3150b297a2ac41/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/97606d10fdd2be3024e6612b5d3150b297a2ac41/config
Defconfig : http://autobuild.buildroot.net/results/97606d10fdd2be3024e6612b5d3150b297a2ac41/defconfig
Build b96dce1e13693b5a1855b5229f7060c8545f73dc
==============================================
Status : NOK
Failure reason : sconeserver-178
Architecture : arm
Submitted by : Peter Korsgaard (gcc10)
Submitted at : 2012-10-20 09:45:55
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/b96dce1e13693b5a1855b5229f7060c8545f73dc/build-end.log
Complete log : http://autobuild.buildroot.net/results/b96dce1e13693b5a1855b5229f7060c8545f73dc/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/b96dce1e13693b5a1855b5229f7060c8545f73dc/config
Defconfig : http://autobuild.buildroot.net/results/b96dce1e13693b5a1855b5229f7060c8545f73dc/defconfig
Build 154354a0065f4603d80b13e5e7aa0db0f8adac3f
==============================================
Status : NOK
Failure reason : ffmpeg-0.8.12
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 11:27:12
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/154354a0065f4603d80b13e5e7aa0db0f8adac3f/build-end.log
Complete log : http://autobuild.buildroot.net/results/154354a0065f4603d80b13e5e7aa0db0f8adac3f/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/154354a0065f4603d80b13e5e7aa0db0f8adac3f/config
Defconfig : http://autobuild.buildroot.net/results/154354a0065f4603d80b13e5e7aa0db0f8adac3f/defconfig
Build 4e790d10ae10e456c7bacccde195a64e122e7061
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : sh4
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 12:32:11
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/4e790d10ae10e456c7bacccde195a64e122e7061/build-end.log
Complete log : http://autobuild.buildroot.net/results/4e790d10ae10e456c7bacccde195a64e122e7061/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/4e790d10ae10e456c7bacccde195a64e122e7061/config
Defconfig : http://autobuild.buildroot.net/results/4e790d10ae10e456c7bacccde195a64e122e7061/defconfig
Build 4b680d90710f5bdb426f378895cac33060ca5270
==============================================
Status : NOK
Failure reason : libev-4.11
Architecture : avr32
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 12:40:36
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/4b680d90710f5bdb426f378895cac33060ca5270/build-end.log
Complete log : http://autobuild.buildroot.net/results/4b680d90710f5bdb426f378895cac33060ca5270/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/4b680d90710f5bdb426f378895cac33060ca5270/config
Defconfig : http://autobuild.buildroot.net/results/4b680d90710f5bdb426f378895cac33060ca5270/defconfig
Build c599d4d8845b2ff4af91f2dc3d7cc70f26f87c49
==============================================
Status : NOK
Failure reason : gnutls-2.12.20
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 13:00:28
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/c599d4d8845b2ff4af91f2dc3d7cc70f26f87c49/build-end.log
Complete log : http://autobuild.buildroot.net/results/c599d4d8845b2ff4af91f2dc3d7cc70f26f87c49/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/c599d4d8845b2ff4af91f2dc3d7cc70f26f87c49/config
Defconfig : http://autobuild.buildroot.net/results/c599d4d8845b2ff4af91f2dc3d7cc70f26f87c49/defconfig
Build 75ee1affafb22c0255995a0594894030f62bf06b
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : x86_64
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 13:59:09
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/75ee1affafb22c0255995a0594894030f62bf06b/build-end.log
Complete log : http://autobuild.buildroot.net/results/75ee1affafb22c0255995a0594894030f62bf06b/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/75ee1affafb22c0255995a0594894030f62bf06b/config
Defconfig : http://autobuild.buildroot.net/results/75ee1affafb22c0255995a0594894030f62bf06b/defconfig
Build 4246742ba742f2034f13b4205ccf1da8fdc942bb
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-20 15:45:23
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/4246742ba742f2034f13b4205ccf1da8fdc942bb/build-end.log
Complete log : http://autobuild.buildroot.net/results/4246742ba742f2034f13b4205ccf1da8fdc942bb/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/4246742ba742f2034f13b4205ccf1da8fdc942bb/config
Defconfig : http://autobuild.buildroot.net/results/4246742ba742f2034f13b4205ccf1da8fdc942bb/defconfig
Build 5219fcaaf1f68f2443683bdce93ae4642ba3c6b3
==============================================
Status : NOK
Failure reason : mplayer-1.1
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 16:29:24
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/5219fcaaf1f68f2443683bdce93ae4642ba3c6b3/build-end.log
Complete log : http://autobuild.buildroot.net/results/5219fcaaf1f68f2443683bdce93ae4642ba3c6b3/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/5219fcaaf1f68f2443683bdce93ae4642ba3c6b3/config
Defconfig : http://autobuild.buildroot.net/results/5219fcaaf1f68f2443683bdce93ae4642ba3c6b3/defconfig
Build 26bede1c7fbc8a93378df5ae2629801e636a9ccc
==============================================
Status : NOK
Failure reason : libffi-3.0.11
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 16:31:47
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/26bede1c7fbc8a93378df5ae2629801e636a9ccc/build-end.log
Complete log : http://autobuild.buildroot.net/results/26bede1c7fbc8a93378df5ae2629801e636a9ccc/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/26bede1c7fbc8a93378df5ae2629801e636a9ccc/config
Defconfig : http://autobuild.buildroot.net/results/26bede1c7fbc8a93378df5ae2629801e636a9ccc/defconfig
Build 8fa901128896ac55e64a59c61e5dc564f30a7d5e
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 17:20:21
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/8fa901128896ac55e64a59c61e5dc564f30a7d5e/build-end.log
Complete log : http://autobuild.buildroot.net/results/8fa901128896ac55e64a59c61e5dc564f30a7d5e/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/8fa901128896ac55e64a59c61e5dc564f30a7d5e/config
Defconfig : http://autobuild.buildroot.net/results/8fa901128896ac55e64a59c61e5dc564f30a7d5e/defconfig
Build bbb3e6ccb0d10e68cd32b17c9325c8cbad5cbbfa
==============================================
Status : NOK
Failure reason : libffi-3.0.11
Architecture : sh2a
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 18:01:24
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/bbb3e6ccb0d10e68cd32b17c9325c8cbad5cbbfa/build-end.log
Complete log : http://autobuild.buildroot.net/results/bbb3e6ccb0d10e68cd32b17c9325c8cbad5cbbfa/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/bbb3e6ccb0d10e68cd32b17c9325c8cbad5cbbfa/config
Defconfig : http://autobuild.buildroot.net/results/bbb3e6ccb0d10e68cd32b17c9325c8cbad5cbbfa/defconfig
Build e8f551974aeaf7687b536b4ad23ce93978883ebd
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-20 18:01:45
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/e8f551974aeaf7687b536b4ad23ce93978883ebd/build-end.log
Complete log : http://autobuild.buildroot.net/results/e8f551974aeaf7687b536b4ad23ce93978883ebd/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/e8f551974aeaf7687b536b4ad23ce93978883ebd/config
Defconfig : http://autobuild.buildroot.net/results/e8f551974aeaf7687b536b4ad23ce93978883ebd/defconfig
Build 0bf862442534c51ef8371cdf2a8c32d6695c35d0
==============================================
Status : NOK
Failure reason : gpsd-3.7
Architecture : x86_64
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 18:12:38
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/0bf862442534c51ef8371cdf2a8c32d6695c35d0/build-end.log
Complete log : http://autobuild.buildroot.net/results/0bf862442534c51ef8371cdf2a8c32d6695c35d0/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/0bf862442534c51ef8371cdf2a8c32d6695c35d0/config
Defconfig : http://autobuild.buildroot.net/results/0bf862442534c51ef8371cdf2a8c32d6695c35d0/defconfig
Build 8406cef99e2183476ab36109b88ad684e3b790c1
==============================================
Status : NOK
Failure reason : cairo-1.10.2
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 18:25:21
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/8406cef99e2183476ab36109b88ad684e3b790c1/build-end.log
Complete log : http://autobuild.buildroot.net/results/8406cef99e2183476ab36109b88ad684e3b790c1/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/8406cef99e2183476ab36109b88ad684e3b790c1/config
Defconfig : http://autobuild.buildroot.net/results/8406cef99e2183476ab36109b88ad684e3b790c1/defconfig
Build 0756dc478099d0e288cbbd160c6ad863ab3e9900
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-20 18:50:35
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/0756dc478099d0e288cbbd160c6ad863ab3e9900/build-end.log
Complete log : http://autobuild.buildroot.net/results/0756dc478099d0e288cbbd160c6ad863ab3e9900/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/0756dc478099d0e288cbbd160c6ad863ab3e9900/config
Defconfig : http://autobuild.buildroot.net/results/0756dc478099d0e288cbbd160c6ad863ab3e9900/defconfig
Build 42bc444752daae888cbf914e69675c45860d54c7
==============================================
Status : NOK
Failure reason : pptp-linux-1.7.2
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-20 19:41:09
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/42bc444752daae888cbf914e69675c45860d54c7/build-end.log
Complete log : http://autobuild.buildroot.net/results/42bc444752daae888cbf914e69675c45860d54c7/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/42bc444752daae888cbf914e69675c45860d54c7/config
Defconfig : http://autobuild.buildroot.net/results/42bc444752daae888cbf914e69675c45860d54c7/defconfig
Build a7d639373df421c60ed0c16f94010fc40742dc52
==============================================
Status : NOK
Failure reason : make: *** [/home/test/dl/gdb-.tar.bz2] Error 1
Architecture : i686
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 20:32:26
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/a7d639373df421c60ed0c16f94010fc40742dc52/build-end.log
Complete log : http://autobuild.buildroot.net/results/a7d639373df421c60ed0c16f94010fc40742dc52/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/a7d639373df421c60ed0c16f94010fc40742dc52/config
Defconfig : http://autobuild.buildroot.net/results/a7d639373df421c60ed0c16f94010fc40742dc52/defconfig
Build f22edf8ff83f64d432cd0fca10ed78091e8ba42d
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-20 20:35:13
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/f22edf8ff83f64d432cd0fca10ed78091e8ba42d/build-end.log
Complete log : http://autobuild.buildroot.net/results/f22edf8ff83f64d432cd0fca10ed78091e8ba42d/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/f22edf8ff83f64d432cd0fca10ed78091e8ba42d/config
Defconfig : http://autobuild.buildroot.net/results/f22edf8ff83f64d432cd0fca10ed78091e8ba42d/defconfig
Build c0b277f9eabce8cd9b76361f78bbd0907cdaff16
==============================================
Status : NOK
Failure reason : sconeserver-178
Architecture : arm
Submitted by : Peter Korsgaard (gcc10)
Submitted at : 2012-10-20 20:45:05
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/c0b277f9eabce8cd9b76361f78bbd0907cdaff16/build-end.log
Complete log : http://autobuild.buildroot.net/results/c0b277f9eabce8cd9b76361f78bbd0907cdaff16/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/c0b277f9eabce8cd9b76361f78bbd0907cdaff16/config
Defconfig : http://autobuild.buildroot.net/results/c0b277f9eabce8cd9b76361f78bbd0907cdaff16/defconfig
Build 5066eebb2fee6947e1e5fdc80f14248bb607d2c9
==============================================
Status : NOK
Failure reason : ltp-testsuite-20101031
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 21:15:06
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/5066eebb2fee6947e1e5fdc80f14248bb607d2c9/build-end.log
Complete log : http://autobuild.buildroot.net/results/5066eebb2fee6947e1e5fdc80f14248bb607d2c9/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/5066eebb2fee6947e1e5fdc80f14248bb607d2c9/config
Defconfig : http://autobuild.buildroot.net/results/5066eebb2fee6947e1e5fdc80f14248bb607d2c9/defconfig
Build cb2797d7b04379c9f5809685b89ea841cdee92b0
==============================================
Status : NOK
Failure reason : attr-2.4.46
Architecture : bfin
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 21:15:29
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=3d48c41284d0daee0b70312022c7c6d31f730eb7
End of log : http://autobuild.buildroot.net/results/cb2797d7b04379c9f5809685b89ea841cdee92b0/build-end.log
Complete log : http://autobuild.buildroot.net/results/cb2797d7b04379c9f5809685b89ea841cdee92b0/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/cb2797d7b04379c9f5809685b89ea841cdee92b0/config
Defconfig : http://autobuild.buildroot.net/results/cb2797d7b04379c9f5809685b89ea841cdee92b0/defconfig
Build b3f0eb248893e344beada1a3e030b9364bc6f66e
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-20 21:37:08
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/b3f0eb248893e344beada1a3e030b9364bc6f66e/build-end.log
Complete log : http://autobuild.buildroot.net/results/b3f0eb248893e344beada1a3e030b9364bc6f66e/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/b3f0eb248893e344beada1a3e030b9364bc6f66e/config
Defconfig : http://autobuild.buildroot.net/results/b3f0eb248893e344beada1a3e030b9364bc6f66e/defconfig
Build 06d0ef38165769df38047c1f64d4cfae835e9e54
==============================================
Status : NOK
Failure reason : xapp_listres-1.0.1
Architecture : arm
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 22:23:29
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=3d48c41284d0daee0b70312022c7c6d31f730eb7
End of log : http://autobuild.buildroot.net/results/06d0ef38165769df38047c1f64d4cfae835e9e54/build-end.log
Complete log : http://autobuild.buildroot.net/results/06d0ef38165769df38047c1f64d4cfae835e9e54/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/06d0ef38165769df38047c1f64d4cfae835e9e54/config
Defconfig : http://autobuild.buildroot.net/results/06d0ef38165769df38047c1f64d4cfae835e9e54/defconfig
Build 9a6f457b5dde51d141b0b094ad9eba263d9b288d
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : powerpc
Submitted by : Peter Korsgaard (gcc14)
Submitted at : 2012-10-20 22:43:53
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=3d48c41284d0daee0b70312022c7c6d31f730eb7
End of log : http://autobuild.buildroot.net/results/9a6f457b5dde51d141b0b094ad9eba263d9b288d/build-end.log
Complete log : http://autobuild.buildroot.net/results/9a6f457b5dde51d141b0b094ad9eba263d9b288d/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/9a6f457b5dde51d141b0b094ad9eba263d9b288d/config
Defconfig : http://autobuild.buildroot.net/results/9a6f457b5dde51d141b0b094ad9eba263d9b288d/defconfig
Build 4e7fd9028748cefa962cfb088425e4256c31c8f4
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : arm
Submitted by : Peter Korsgaard (gcc10)
Submitted at : 2012-10-20 23:39:03
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=1741ce4eb4c99ff737ae4d2d1704e8626db3805a
End of log : http://autobuild.buildroot.net/results/4e7fd9028748cefa962cfb088425e4256c31c8f4/build-end.log
Complete log : http://autobuild.buildroot.net/results/4e7fd9028748cefa962cfb088425e4256c31c8f4/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/4e7fd9028748cefa962cfb088425e4256c31c8f4/config
Defconfig : http://autobuild.buildroot.net/results/4e7fd9028748cefa962cfb088425e4256c31c8f4/defconfig
Build 3c00c2d99338e4f1060d5d54e40b195e03c2ece2
==============================================
Status : NOK
Failure reason : strace-4.7
Architecture : mips64el
Submitted by : Thomas Petazzoni (Free Electrons build server)
Submitted at : 2012-10-20 23:56:55
Git commit ID : http://git.buildroot.net/buildroot/commit/?id=3d48c41284d0daee0b70312022c7c6d31f730eb7
End of log : http://autobuild.buildroot.net/results/3c00c2d99338e4f1060d5d54e40b195e03c2ece2/build-end.log
Complete log : http://autobuild.buildroot.net/results/3c00c2d99338e4f1060d5d54e40b195e03c2ece2/build.log.bz2
Configuration : http://autobuild.buildroot.net/results/3c00c2d99338e4f1060d5d54e40b195e03c2ece2/config
Defconfig : http://autobuild.buildroot.net/results/3c00c2d99338e4f1060d5d54e40b195e03c2ece2/defconfig
--
http://autobuild.buildroot.net
^ permalink raw reply
* [Buildroot] findutils version update 4.5.10
From: Peter Korsgaard @ 2012-10-21 9:20 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1349964060.28555.6.camel@localhost>
>>>>> "Alexander" == Alexander Khryukin <alexander@mezon.ru> writes:
Alexander> Signed-off-by: Alexander Khryukin <alexander@mezon.ru>
Alexander> ---
Alexander> Date: Thu, 11 Oct 2012 14:03:06 +0000
Alexander> Subject: [PATCH] findutils version update 4.5.10
Alexander> ---
Alexander> package/findutils/findutils.mk | 4 ++--
Alexander> 1 file changed, 2 insertions(+), 2 deletions(-)
Alexander> diff --git a/package/findutils/findutils.mk
Alexander> b/package/findutils/findutils.mk
Alexander> index 43aef75..ffc7327 100644
Alexander> --- a/package/findutils/findutils.mk
Alexander> +++ b/package/findutils/findutils.mk
Alexander> @@ -4,8 +4,8 @@
Alexander> #
Alexander> #############################################################
Alexander> -FINDUTILS_VERSION = 4.4.2
Alexander> -FINDUTILS_SITE = $(BR2_GNU_MIRROR)/findutils
Alexander> +FINDUTILS_VERSION = 4.5.10
Alexander> +FINDUTILS_SITE = http://alpha.gnu.org/gnu/findutils
Is that a stable release? Is there any specific reason to use an alpha
version?
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] vala version update 0.18.0
From: Peter Korsgaard @ 2012-10-21 9:21 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=7063985d6fa10ddf04c810b830b9dd9c4b7e6b34
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Alexander Khryukin <alexander@mezon.ru>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/vala/vala.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/vala/vala.mk b/package/vala/vala.mk
index e4b8b54..5c333c5 100644
--- a/package/vala/vala.mk
+++ b/package/vala/vala.mk
@@ -4,8 +4,8 @@
#
#############################################################
-VALA_VERSION_MAJOR = 0.17
-VALA_VERSION_MINOR = 7
+VALA_VERSION_MAJOR = 0.18
+VALA_VERSION_MINOR = 0
VALA_VERSION = $(VALA_VERSION_MAJOR).$(VALA_VERSION_MINOR)
VALA_SITE = http://download.gnome.org/sources/vala/$(VALA_VERSION_MAJOR)
VALA_SOURCE = vala-$(VALA_VERSION).tar.xz
^ permalink raw reply related
* [Buildroot] vala version update 0.18.0
From: Peter Korsgaard @ 2012-10-21 9:21 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CABtOAfwa+P3Nu9Ph2LOkuNJ-KmbQiAhiVFS5oAFqkMQyQORU6w@mail.gmail.com>
>>>>> "Alexander" == Alexander Khryukin <alexander@mezon.ru> writes:
Alexander> Signed-off-by: Alexander Khryukin <alexander@mezon.ru>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] external toolchains and sysroot
From: Thomas Petazzoni @ 2012-10-21 9:41 UTC (permalink / raw)
To: buildroot
In-Reply-To: <50813429.3010107@6wind.com>
On Fri, 19 Oct 2012 13:06:17 +0200, Jean-Mickael Guerin wrote:
> Not exactly: let the toolchain use its own sysroot, and use -I /-L to
> look up in the staging directory. Original sysroot is read-only &
> shared, staging belongs to your build directory.
>
> In another words my point is that the copy of sysroot is useless,
> using --sysroot=<my copy of built-in sysroot path, computed from the
> toolchain's compiler> cannot be safer than let it use the built-in
> syroot. Removing this copy will save time, space, and compatible
> whatever the directory layout of the toolchain.
I am the one who wrote the external toolchain support as it is now.
Initially, things were working as you suggested, i.e keep the sysroot
in its original place, and use -I/-L to point to the headers and
libraries that Buildroot adds. It /mostly/ works, but causes for some
packages horrible problems with libtool.
I don't have the time right now to dig into the archives, but this is a
problem we worked on around December 2008, and it has allowed the
external toolchain support to work nicely and properly since then.
If you have problems with external toolchain support, don't hesitate to
point me to the toolchain you're using, and how to reproduce your
problem. I am fairly sure it is not related to the fact that we're
copying the sysroot.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH 9/9] firefox: GNU gnash flash, an open source Adobe Flash player & plugin
From: Stefan Fröberg @ 2012-10-21 12:10 UTC (permalink / raw)
To: buildroot
In-Reply-To: <5082C97A.4090207@mind.be>
20.10.2012 18:55, Arnout Vandecappelle kirjoitti:
> On 05/09/12 16:29, Stefan Fr?berg wrote:
>>
>> Signed-off-by: Stefan Fr?berg<stefan.froberg@petroprogram.com>
>
> Finally got 'round to reviewing this patch. Review only, no testing.
>
>> ---
>> package/gnash/Config.in | 20 +++
>> package/gnash/gnash-0.8.10-amf-include.patch | 45 +++++
>> package/gnash/gnash-0.8.10-cve-2012-1175.patch | 63 +++++++
>> package/gnash/gnash-0.8.10-external-dejagnu.patch | 24 +++
>> package/gnash/gnash-0.8.10-gettext-macro.patch | 170
>> ++++++++++++++++++++
>> package/gnash/gnash-0.8.10-jemalloc-aslr-fix.patch | 52 ++++++
>> package/gnash/gnash-0.8.10-kde4-libdir.patch | 12 ++
>> package/gnash/gnash-0.8.10-klash.patch | 12 ++
>> package/gnash/gnash-0.8.10-npapi-sdk.patch | 29 ++++
>> package/gnash/gnash.mk | 45 +++++
>> 10 files changed, 472 insertions(+), 0 deletions(-)
>> create mode 100644 package/gnash/Config.in
>> create mode 100644 package/gnash/gnash-0.8.10-amf-include.patch
>> create mode 100644 package/gnash/gnash-0.8.10-cve-2012-1175.patch
>> create mode 100644 package/gnash/gnash-0.8.10-external-dejagnu.patch
>> create mode 100644 package/gnash/gnash-0.8.10-gettext-macro.patch
>> create mode 100644 package/gnash/gnash-0.8.10-jemalloc-aslr-fix.patch
>> create mode 100644 package/gnash/gnash-0.8.10-kde4-libdir.patch
>> create mode 100644 package/gnash/gnash-0.8.10-klash.patch
>> create mode 100644 package/gnash/gnash-0.8.10-npapi-sdk.patch
>> create mode 100644 package/gnash/gnash.mk
>>
>> diff --git a/package/gnash/Config.in b/package/gnash/Config.in
>> new file mode 100644
>> index 0000000..437b8d8
>> --- /dev/null
>> +++ b/package/gnash/Config.in
>> @@ -0,0 +1,20 @@
>> +config BR2_PACKAGE_GNASH
>> + bool "Enable Adobe Flash support with GNU gnash"
>> + select BR2_PACKAGE_AGG
>> + select BR2_PACKAGE_BOOST
>> + select BR2_PACKAGE_GST_FFMPEG
>> + select BR2_PACKAGE_GCONF
>> + select BR2_PACKAGE_GIFLIB
>> + select BR2_PACKAGE_OPENSSL
>> + depends on BR2_PACKAGE_FIREFOX
>
> Gnash is a stand-alone executable, no? It can also run without
> firefox, right?
>
Hmmm...
Yes, but I haven't much bothered of using or testing playing
flash-files outside of Firefox
>> diff --git a/package/gnash/gnash-0.8.10-kde4-libdir.patch
>> b/package/gnash/gnash-0.8.10-kde4-libdir.patch
>> new file mode 100644
>> index 0000000..b327944
>> --- /dev/null
>> +++ b/package/gnash/gnash-0.8.10-kde4-libdir.patch
>> @@ -0,0 +1,12 @@
>
> Missing explanation + SOB.
>
> Is this patch relevant? We don't have KDE in buildroot, so why would
> we want patches for it?
>
Sorry, my bad.
I "borrowed" almost all those gnash patches from my Gentoo Linux
installation and that's why it got
accidentally included.
>> +diff -ur a/macros/kde4.m4 b/macros/kde4.m4
>> +--- a/macros/kde4.m4 2011-02-26 19:11:08.000000000 +0100
>> ++++ b/macros/kde4.m4 2011-11-25 18:09:25.000000000 +0100
>> +@@ -198,7 +198,7 @@
>> + if test -d ${KDE4_PREFIX}/lib64 -a -f /etc/redhat-release; then
>> + KDE4_PLUGINDIR="${KDE4_PREFIX}/lib64/kde4"
>> + else
>> +- KDE4_PLUGINDIR="${KDE4_PREFIX}/lib/kde4"
>> ++ KDE4_PLUGINDIR="${KDE4_PREFIX}/${acl_libdirstem}/kde4"
>> + fi
>> + fi
>> + if test x"${with_kde4_servicesdir}" != x ; then
>> diff --git a/package/gnash/gnash-0.8.10-klash.patch
>> b/package/gnash/gnash-0.8.10-klash.patch
>> new file mode 100644
>> index 0000000..e6afec0
>> --- /dev/null
>> +++ b/package/gnash/gnash-0.8.10-klash.patch
>> @@ -0,0 +1,12 @@
>> +diff -ur a/macros/kde4.m4 b/macros/kde4.m4
>> +--- a/macros/kde4.m4 2011-02-26 19:11:08.000000000 +0100
>> ++++ b/macros/kde4.m4 2011-03-21 00:04:38.845997945 +0100
>> +@@ -210,7 +210,7 @@
>> + KDE4_CONFIGDIR="${KDE4_PREFIX}/share/kde4/config"
>> + fi
>> + if test x"${KDE4_APPSDATADIR}" = x ; then
>> +- KDE4_APPSDATADIR="${KDE4_PREFIX}/share/kde4/apps/klash"
>> ++ KDE4_APPSDATADIR="${KDE4_PREFIX}/share/apps/klash"
>> + fi
>> +
>> + if test x"${ac_cv_path_kde4_incl}" != x ; then
>> diff --git a/package/gnash/gnash-0.8.10-npapi-sdk.patch
>> b/package/gnash/gnash-0.8.10-npapi-sdk.patch
>> new file mode 100644
>> index 0000000..eb54295
>> --- /dev/null
>> +++ b/package/gnash/gnash-0.8.10-npapi-sdk.patch
>> @@ -0,0 +1,29 @@
>> +From 983a675c94ecec54ae14593744aa9a2198466499 Mon Sep 17 00:00:00 2001
>> +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?=<mgorny@gentoo.org>
>> +Date: Thu, 15 Sep 2011 12:59:55 +0200
>> +Subject: [PATCH] Support building against NPAPI-SDK as well.
>
> Add your SOB.
>
>> +
>> +---
>> + macros/npapi.m4 | 6 +++++-
>> + 1 files changed, 5 insertions(+), 1 deletions(-)
>> +
>> +diff --git a/macros/npapi.m4 b/macros/npapi.m4
>> +index e3bde2f..522bbb1 100644
>> +--- a/macros/npapi.m4
>> ++++ b/macros/npapi.m4
>> +@@ -34,7 +34,11 @@ AC_DEFUN([GNASH_PATH_NPAPI],
>> +
>> + if test x$cross_compiling = xno; then
>> + if test x"$PKG_CONFIG" != x -a x"${ac_cv_path_npapi_incl}" = x;
>> then
>> +- $PKG_CONFIG --exists mozilla-plugin&&
>> NPAPI_CFLAGS="`$PKG_CONFIG --cflags mozilla-plugin`"
>> ++ if $PKG_CONFIG --exists npapi-sdk; then
>> ++ NPAPI_CFLAGS="`$PKG_CONFIG --cflags npapi-sdk`"
>> ++ elif $PKG_CONFIG --exists mozilla-plugin; then
>> ++ NPAPI_CFLAGS="`$PKG_CONFIG --cflags mozilla-plugin`"
>> ++ fi
>> + fi
>> + fi
>> +
>> +--
>> +1.7.3.4
>> +
>> diff --git a/package/gnash/gnash.mk b/package/gnash/gnash.mk
>> new file mode 100644
>> index 0000000..7a2dd8e
>> --- /dev/null
>> +++ b/package/gnash/gnash.mk
>> @@ -0,0 +1,45 @@
>> +#############################################################
>> +#
>> +# gnash
>> +#
>> +#############################################################
>> +
>> +GNASH_VERSION = 0.8.10
>> +GNASH_SOURCE = gnash-$(GNASH_VERSION).tar.gz
>> +
>> +# GNU tarball from:
>> +# http://ftp.gnu.org/pub/gnu/gnash/$(GNASH_VERSION)/
>> +# is broken. It is missing GnashVaapiTexture.h so you
>> +# can't even try to build VA API Hardware Accelerated Flash player.
>> +# (note that it is not working ... yet)
>> +#
>> +# http://savannah.gnu.org/bugs/?35612
>> +#
>> +# That's why we use gentoo one from one of the mirrors.
>> +GNASH_SITE = http://ftp.uni-erlangen.de/pub/mirrors/gentoo/distfiles/
>> +GNASH_DEPENDENCIES = agg boost gst-ffmpeg firefox gconf giflib openssl
>> +GNASH_AUTORECONF = YES
>> +
>> +GNASH_CONF_ENV = PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
>> + PKG_CONFIG_DIR= \
>> +
>> PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig"
>> \
>> + PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
>> + PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
>
> All this shouldn't be necessary.
>
>> + CPPFLAGS="`$(PKG_CONFIG_HOST_BINARY) --cflags
>> gdk-pixbuf-2.0`" \
>> + LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs gdk-pixbuf-2.0`
>> `$(PKG_CONFIG_HOST_BINARY) --libs libva-x11`"
>
> Better define GNASH_CPPFLAGS and GNASH_LIBS separately and use
> those variables here.
>
>> +
>> +GNASH_CONF_OPT += --enable-gui=gtk --enable-media=ffmpeg
>> --with-sysroot=$(STAGING_DIR)/usr \
>> + --with-npapi-incl=$(STAGING_DIR)/usr/include/npapi \
>> +
>> --with-npapi-plugindir=$(TARGET_DIR)/usr/lib/mozilla/plugins \
>> + --enable-renderer=agg,cairo --enable-doublebuf
>> --enable-visibility --enable-offscreen --enable-ssl
>
> Shouldn't cairo be a dependency as well?
>
My mistake, it's optional. Or actually it's only one of the supported
renderers.
I intended to later make subconfig option where user could select what
renderer to use (agg, cairo,opengl or all).
If I understanded correctly from the Gnash website, the agg renderer is
the fastest and preferred way and only
after that comes the rest.
> Can ssl be made optional with
> ifeq ($(BR2_PACKAGE_OPENSSL),y)
> GNASH_CONF_OPT += --enable-ssl
> GNASH_CONF_DEPENDENCES += openssl
> else
> GNASH_CONF_OPT += --disable-ssl
> endif
>
> ?
>
Yes it can. I will add it
>> +
>> +define GNASH_INSTALL_TARGET_CMDS
>> + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
>> + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install-plugin
>
> I would add the install-plugin only if firefox is selected.
>
>> +endef
>> +
>> +$(eval $(autotools-package))
>> +
>> +
>> +
>> +
>
> Redundant empty lines.
>
> Regards,
> Arnout
Thank you. To tell the truth I was in a little hurry to kick this patch
out before my vacation and didn't give it as much tought as
I did for Firefox itself and it's dependencies.
I was just happy to get it to play YouTube videos :)
Anyway, I have now finally managed to build basic ARM-image (for
versatile board) that boot's under qemu and can now continue building
xorg and the rest of the stuff.
And then Im going to fetch that arm-patch for Firefox you mentioned in
your previous posting.
Tell me Arnout, is the ARM-world really this ... complicated ?
I mean, there at least two dozens of defconfig files for various arm
vendor boards under linux source tree arch/arm/config.
And those config-files are just for boards right ??
Am I correct to presume that there are at least almost hundred of
different vendor board + arm cpu compinations that
are more or less incompatible with each other ?
And in addition to that, I must take into account if the arm-cpu Im
cross-compiling stuff for has softfp or hardfp and the type of fp (vpf,
neon etc....) ?
Regards
Stefan
^ permalink raw reply
* [Buildroot] [PATCH 01/10] manual: add section about storing the configuration.
From: Samuel Martin @ 2012-10-21 15:05 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-2-git-send-email-arnout@mind.be>
Arnout, all,
2012/10/21 Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>:
> From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
>
> Reuse part of board-support.txt, and remove that one because it
> was unused.
>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
> docs/manual/adding-packages-directory.txt | 1 +
> docs/manual/board-support.txt | 35 -----
> docs/manual/customize-store.txt | 241 +++++++++++++++++++++++++++++
> docs/manual/customize.txt | 2 +
> 4 files changed, 244 insertions(+), 35 deletions(-)
> delete mode 100644 docs/manual/board-support.txt
> create mode 100644 docs/manual/customize-store.txt
>
[...]
> +Step-by-step instructions for storing configuration inside the buildroot tree
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> +
> +To store the configuration for a specific product, device or
> +application, it is advisable to use the same conventions as for the
> +board support: put the buildroot defconfig in the +configs+ directory,
> +and any other files in a subdirectory of the +boards+ directory. This
> +section gives step-by-step instructions about how to do that. Of course,
> +you can skip the steps that are not relevant for your use case.
> +
> +1. +make menuconfig+ to configure toolchain, packages and kernel.
I think you don't need to use explicit numbering here and everywhere
below, which should force to "1. ..." each item.
Note that I haven't try to build the doc with this patch, I'm just referring to:
http://www.methods.co.nz/asciidoc/userguide.html#_numbered_lists
> +1. +make linux-menuconfig+ to update the kernel config, similar for
> + other configuration.
> +1. +mkdir -p board/<manufacturer>/<boardname>+
> +1. Set the following options to +board/<manufacturer>/<boardname>/<package>.config+
> + (as far as they are relevant):
> + * +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE+
> + * +BR2_PACKAGE_BUSYBOX_CONFIG+
> + * +BR2_TOOLCHAIN_CTNG_CONFIG+
> + * +BR2_UCLIBC_CONFIG+
> + * +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE+
I think that we could/should/have to add such option for barebox too.
I've cooked a patch for that and I'll post it shortly.
> +1. Write the configuration files:
> + * +make linux-update-defconfig+
> + * +make busybox-update-config+
> + * +cp <output>/build/build-toolchain/.config board/<manufacturer>/<boardname>/ctng.config+
> + * +make uclibc-update-config+
> + * +cp <output>/build/at91bootstrap3-*/.config board/<manufacturer>/<boardname>/at91bootstrap3.config+
humm... I may be a bit nit, but I would prefer fill the
board/<manufacturer>/<boardname> directory with all these config.
files _before_ setting the corresponding options, so I would swap this
step with the previous one.
> +1. Create +board/<manufacturer>/<boardname>/fs-overlay+ and fill it
> + with additional files you need on your rootfs, e.g.
> + +board/<manufacturer>/<boardname>/etc/inittab+.
> +1. Create a post-build script
> + +board/<manufacturer>/<boardname>/post-build.sh+. It should contain
> + the following command:
> ++
> +------------
> +rsync -a --exclude .empty --exclude '*~' ${0%/*}/fs-overlay $1
> +------------
> ++
> +1. Set +BR2_ROOTFS_POST_BUILD_SCRIPT+ to +board/<manufacturer>/<boardname>/post-build.sh+
> +1. If additional setuid permissions have to be set or device nodes have
> + to be created, create +board/<manufacturer>/<boardname>/device_table.txt+
> + and add that path to +BR2_ROOTFS_DEVICE_TABLE+.
> +1. +make savedefconfig+ to save the buildroot configuration.
> +1. +cp defconfig configs/<boardname>_defconfig+
> +
> +
In the following, I won't repeat all the previous points I've already mentioned.
> +Step-by-step instructions for storing configuration outside the buildroot tree
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> +
> +When you use buildroot in different projects, you may want to keep
> +each project separate from buildroot itself. This requires an extra
> +script or Makefile, but is otherwise easy to do with buildroot.
> +Take the following steps (very similar to storing configuration inside
> +the buildroot tree).
> +
> +1. +make menuconfig+ to configure toolchain, packages and kernel.
> +1. +make linux-menuconfig+ to update the kernel config, similar for
> + other configuration.
> +1. +mkdir -p <path-to-board-directory>+
> +1. Set the following options to +$(BOARDDIR)/<package>.config+
> + (as far as they are relevant):
> + * +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE+
> + * +BR2_PACKAGE_BUSYBOX_CONFIG+
> + * +BR2_TOOLCHAIN_CTNG_CONFIG+
> + * +BR2_UCLIBC_CONFIG+
> + * +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE+
> +1. Write the configuration files:
> + * +make linux-update-defconfig+
> + * +make busybox-update-config+
> + * +cp <output>/build/build-toolchain/.config <path-to-board-directory>/ctng.config+
> + * +make uclibc-update-config+
> + * +cp <output>/build/at91bootstrap3-*/.config <path-to-board-directory>/at91bootstrap3.config+
> +1. Create +<path-to-board-directory>/fs-overlay+ and fill it
> + with additional files you need on your rootfs, e.g.
> + +<path-to-board-directory>/etc/inittab+.
> +1. Create a post-build script
> + +<path-to-board-directory>/post-build.sh+. It should contain
> + the following command:
> ++
> +------------
> +rsync -a --exclude .empty --exclude '*~' ${0%/*}/fs-overlay $1
> +------------
> ++
> +1. Set +BR2_ROOTFS_POST_BUILD_SCRIPT+ to +$(BOARDDIR)/post-build.sh+
> +1. If additional setuid permissions have to be set or device nodes have
> + to be created, create +<path-to-board-directory>/device_table.txt+
> + and add that path to +BR2_ROOTFS_DEVICE_TABLE+.
> +1. +make savedefconfig+ to save the buildroot configuration.
> +1. +cp defconfig <path-to-board-directory>/buildroot.config+
> +1. Create a script or Makefile in the board directory that calls
> + buildroot:
> ++
> +------------
> +make -C <path-to-buildroot> O=<path-to-board-directory>/output BR2_DEFCONFIG=<path-to-board-directory>/buildroot.config defconfig
> +make -C <path-to-buildroot> O=<path-to-board-directory>/output BOARDDIR=<path-to-board-directory>
> +------------
Rather a (rhetoric) question or a feature request ;-) than a comment:
since this script/makefile is located at the root of the board
directory, how about automatically resolve the
<path-to-board-directory>?
> ++
> +1. If you have additional proprietary binaries that are compiled
> + outside of buildroot, you can copy them into the rootfs as
> + part of +post-build.sh+
> +1. If you need additional packages that are not available in buildroot
> + and that you don't want to make available (e.g. proprietary
> + applications), set +BR2_PACKAGE_OVERRIDE_FILE+ to
> + +$(BOARDDIR)/local.mk+. Add the following to +local.mk+ to
> + add package 'foo': +include foo/foo.mk+. Add the following in
> + +foo.mk+ (see xref:adding-packages-mk[Adding packages to buildroot]):
> ++
> +------------
> +BR2_PACKAGE_FOO = y
> +FOO_OVERRIDE_SRCDIR = $(BOARDDIR)/foo
> +
> +define FOO_BUILD_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
> +endef
> +
> +define FOO_INSTALL_TARGET_CMDS
> + $(INSTALL) -D -m 0755 $(@D)/foo $(TARGET_DIR)/usr/bin/foo
> +endef
> +
> +$(eval $(generic-package))
> +------------
> ++
> +The +BR2_PACKAGE_FOO=y+ makes sure the package is always selected,
> +so there is no need for a +Config.in+ file. The +FOO_OVERRIDE_SRCDIR+
> +tells buildroot to fetch the sources from the +foo+ directory, and
> +also makes sure that they are re-synchronized when you call +make
> +foo-rebuild+
> ++
> +1. To add patches to the linux build, set +BR2_LINUX_KERNEL_PATCH+ to
> + +$(BOARDDIR)/patches/linux+ and add your patches in that directory.
> + Similar for U-Boot, barebox, at91bootstrap and at91bootstrap3.
This point is also true for board supported in BR, except that all
patches belong to the board/<manufacturer>/<boardname> directory.
So, either move this point up in the "Creating your own board support"
section and/or add the corresponding point to the "Step-by-step
instructions for storing configuration inside the buildroot tree"
section.
> +1. To add patches for some other package 'foo', put them in the
> + +patches/foo+ directory and add the following to +local.mk+:
> ++
> +------------
> +define FOO_LOCAL_PATCHES
> +support/scripts/apply-patches.sh $(@D) $(BOARDDIR)/patches/foo foo-\*.patch
> +endef
> +
> +FOO_POST_PATCH_HOOKS += FOO_LOCAL_PATCHES
> +------------
> diff --git a/docs/manual/customize.txt b/docs/manual/customize.txt
> index e8235de..6bd5811 100644
> --- a/docs/manual/customize.txt
> +++ b/docs/manual/customize.txt
> @@ -10,3 +10,5 @@ include::customize-uclibc-config.txt[]
> include::customize-kernel-config.txt[]
>
> include::customize-toolchain.txt[]
> +
> +include::customize-store.txt[]
> --
> 1.7.10.4
Regards,
--
Sam
^ permalink raw reply
* [Buildroot] [PATCH 03/10] ctng: add ctng-update-config target
From: Samuel Martin @ 2012-10-21 15:06 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-4-git-send-email-arnout@mind.be>
Arnout, all,
2012/10/21 Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>:
> From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
>
> Analogous to linux-update-config and friends.
>
> Also update documentation.
>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
> docs/manual/customize-store.txt | 8 ++++----
> toolchain/toolchain-crosstool-ng/crosstool-ng.mk | 3 +++
> 2 files changed, 7 insertions(+), 4 deletions(-)
>
> diff --git a/docs/manual/customize-store.txt b/docs/manual/customize-store.txt
> index bc1751e..c7ef00c 100644
> --- a/docs/manual/customize-store.txt
> +++ b/docs/manual/customize-store.txt
> @@ -58,8 +58,8 @@ configuration files easier.
> path specified by +BR2_PACKAGE_BUSYBOX_CONFIG+.
> * +make uclibc-update-config+ saves the uClibc configuration to the
> path specified by +BR2_UCLIBC_CONFIG+.
> -* For crosstool-NG, no helper exists so you have to copy the config
> - file manually to +BR2_TOOLCHAIN_CTNG_CONFIG+.
> +* +make ctng-update-config+ saves the crosstool-NG configuration to the
> + patch specified by +BR2_TOOLCHAIN_CTNG_CONFIG+.
>
>
> Creating your own board support
> @@ -122,7 +122,7 @@ you can skip the steps that are not relevant for your use case.
> 1. Write the configuration files:
> * +make linux-update-defconfig+
> * +make busybox-update-config+
> - * +cp <output>/build/build-toolchain/.config board/<manufacturer>/<boardname>/ctng.config+
> + * +make ctng-update-config+
> * +make uclibc-update-config+
> * +cp <output>/build/at91bootstrap3-*/.config board/<manufacturer>/<boardname>/at91bootstrap3.config+
> 1. Create +board/<manufacturer>/<boardname>/fs-overlay+ and fill it
> @@ -163,7 +163,7 @@ the buildroot tree).
> 1. Write the configuration files:
> * +make linux-update-defconfig+
> * +make busybox-update-config+
> - * +cp <output>/build/build-toolchain/.config <path-to-board-directory>/ctng.config+
> + * +make ctng-update-config+
> * +make uclibc-update-config+
> * +cp <output>/build/at91bootstrap3-*/.config <path-to-board-directory>/at91bootstrap3.config+
> 1. Create +<path-to-board-directory>/fs-overlay+ and fill it
> diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
> index e46bb20..fb6da0f 100644
> --- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
> +++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
> @@ -397,3 +397,6 @@ ctng-menuconfig: $(CTNG_DIR)/.config
> $(call ctng-oldconfig,$<)
> $(call ctng-check-config-changed,$<,$<.timestamp)
> $(Q)rm -f $<.timestamp
> +
> +ctng-update-config: $(CTNG_DIR)/.config
> + cp -f $< $(CTNG_CONFIG_FILE)
IIRC, crosstool-NG (recently) learns how to save defconfig, so how
about saving the ct-ng defconfig instead?
Regards,
--
Sam
^ permalink raw reply
* [Buildroot] [PATCH 04/10] busybox: busybox-update-config should depend on busybox-configure
From: Samuel Martin @ 2012-10-21 15:07 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-5-git-send-email-arnout@mind.be>
Arnout, all,
2012/10/21 Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>:
> From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
>
> Before the config file can be copied, it has to exist. The
> other xxx-update-config targets to this as well.
>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
> package/busybox/busybox.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
> index 33f8633..e95364c 100644
> --- a/package/busybox/busybox.mk
> +++ b/package/busybox/busybox.mk
> @@ -215,5 +215,5 @@ busybox-menuconfig busybox-xconfig busybox-gconfig: busybox-patch
> rm -f $(BUSYBOX_DIR)/.stamp_built
> rm -f $(BUSYBOX_DIR)/.stamp_target_installed
>
> -busybox-update-config:
> +busybox-update-config: busybox-configure
> cp -f $(BUSYBOX_BUILD_CONFIG) $(BUSYBOX_CONFIG_FILE)
How about saving the busybox-defconfig instead?
Regards,
--
Sam
^ permalink raw reply
* [Buildroot] [PATCH 08/10] crosstool-ng: update-all-config shouldn't update default busybox config
From: Samuel Martin @ 2012-10-21 15:07 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-9-git-send-email-arnout@mind.be>
Arnout, all
Nitpicking: take care of the commit message. ;-)
In the subject: s/busybox/crosstool-ng/
Regards,
--
Sam
^ permalink raw reply
* [Buildroot] [PATCH 01/10] manual: add section about storing the configuration.
From: Stephan Hoffmann @ 2012-10-21 17:34 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350776731-8467-2-git-send-email-arnout@mind.be>
Am 21.10.2012 01:45, schrieb Arnout Vandecappelle (Essensium/Mind):
> +Once you have a known working configuration, run +make
> +savedefconfig+. This will generate a minimal +defconfig+ file at the
> +root of the Buildroot source tree. Move this file into the +configs/+
> +directory, and rename it +<boardname>_defconfig+.
Hello all,
so we will end with a nice tree of hopefully many
board/<manufacturer>/<boardname> folders containig special settings for
each board, most likely at least a kernel config file. I don't expect
that too many boards will do without other settings but those in
buildroot's defconfig. And we will have many <boardname>_defconfig files
in the configs folder.
Wouldn't it make more sense to move buildroot's <boardname>_defconfig
files to the respective board folder, so that everything would be
together in one place?
Just my 2 cents
Stephan
--
reLinux - Stephan Hoffmann
Am Schmidtgrund 124 50765 K?ln
Tel. +49.221.95595-19 Fax: -64
www.reLinux.de sho at reLinux.de
^ permalink raw reply
* [Buildroot] [PATCH 01/10] manual: add section about storing the configuration.
From: Thomas Petazzoni @ 2012-10-21 18:20 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAHXCMM+qPKy0qUefqnr3V5jiy7ffR1AO_aNnKiW7LBT_YfV01Q@mail.gmail.com>
On Sun, 21 Oct 2012 17:05:40 +0200, Samuel Martin wrote:
> > + (as far as they are relevant):
> > + * +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE+
> > + * +BR2_PACKAGE_BUSYBOX_CONFIG+
> > + * +BR2_TOOLCHAIN_CTNG_CONFIG+
> > + * +BR2_UCLIBC_CONFIG+
> > + * +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE+
> I think that we could/should/have to add such option for barebox too.
> I've cooked a patch for that and I'll post it shortly.
My colleague Maxime has already posted such a patch a few days ago:
http://lists.busybox.net/pipermail/buildroot/2012-October/060102.html
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] About remote debugging and library stripping
From: Thomas Petazzoni @ 2012-10-21 18:27 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121019091857.GA24434@mail.sceen.net>
Richard,
Thanks a lot for this status.
On Fri, 19 Oct 2012 11:18:57 +0200, Richard Braun wrote:
> There seems to be some confusion about what has to be done to get
> remote debugging actually working with stripped libraries. It seems
> buildroot avoids stripping libthread_db entirely, which was
> introduced by Mike Frysinger (hello Mike) with
> c98bc88e3296222a20e59cfb7b9f3ec5aee3be1c. If you're absolutely
> certain of this change, then please explain it. In my experience (and
> some in-depth search in the sources), libthread_db and libpthread can
> both be stripped.
>
> To understand why this is possible, the big picture must get clearer.
> First, for those who aren't aware of its existence, libthread_db is
> part of the C library. Its purpose is to hide the implementation
> details of the threading implementation through a well defined
> interface that GDB and gdbserver can use. When gdbserver loads this
> library, it doesn't need the debugging or local symbols. The
> libthread_db library can be stripped as much as any other library.
>
> This isn't the case for libpthread. As stated in the GDB FAQ [1],
> libthread_db actually needs a few local symbols to work with its
> libpthread counterpart. The libpthread library should only be stripped
> from its debugging symbols (--strip-debug), not its local ones.
>
> To make things even more complicated, gdbserver (and apparently only
> gdbserver) has support for Linux threads since before 2008 [2], but
> it's limited (you may get weird SIGTRAPs without understanding why).
> This is important because currently, libthread_db isn't installed when
> using the crosstool-ng backend.
Can you conclude with what you think are the steps needed to get these
things right?
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] macchanger: new package
From: Peter Korsgaard @ 2012-10-21 18:41 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=464e88c8bd90e52fa128dae2ce20a0edd9a9f0e9
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(build-test with a WCHAR-only internal powerpc toolchain)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/Config.in | 1 +
package/macchanger/Config.in | 7 +++++++
package/macchanger/macchanger.mk | 11 +++++++++++
3 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/package/Config.in b/package/Config.in
index dd4c97e..b78d980 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -573,6 +573,7 @@ endif
source "package/links/Config.in"
source "package/linphone/Config.in"
source "package/lrzsz/Config.in"
+source "package/macchanger/Config.in"
source "package/mii-diag/Config.in"
source "package/mrouted/Config.in"
source "package/msmtp/Config.in"
diff --git a/package/macchanger/Config.in b/package/macchanger/Config.in
new file mode 100644
index 0000000..e26faa7
--- /dev/null
+++ b/package/macchanger/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_MACCHANGER
+ bool "macchanger"
+ help
+ A GNU/Linux utility for viewing/manipulating the MAC address of
+ network interfaces
+
+ http://www.alobbs.com/macchanger
diff --git a/package/macchanger/macchanger.mk b/package/macchanger/macchanger.mk
new file mode 100644
index 0000000..66ebb80
--- /dev/null
+++ b/package/macchanger/macchanger.mk
@@ -0,0 +1,11 @@
+#############################################################
+#
+# macchanger
+#
+#############################################################
+MACCHANGER_VERSION = 1.5.0
+MACCHANGER_SITE = $(BR2_GNU_MIRROR)/macchanger
+MACCHANGER_LICENSE = GPLv2
+MACCHANGER_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))
^ permalink raw reply related
* [Buildroot] [PATCH v2] macchanger: new package
From: Peter Korsgaard @ 2012-10-21 18:42 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1350415814-18453-1-git-send-email-spdawson@gmail.com>
>>>>> "spdawson" == spdawson <spdawson@gmail.com> writes:
spdawson> From: Simon Dawson <spdawson@gmail.com>
spdawson> Signed-off-by: Simon Dawson <spdawson@gmail.com>
spdawson> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
spdawson> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
spdawson> (build-test with a WCHAR-only internal powerpc toolchain)
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox