Commit Graph

57 Commits

Author SHA1 Message Date
Peter Korsgaard
f55d8dff35 docs: remove outdated files
Misleading/outdated docs is worse than no documentation.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-15 13:17:22 +01:00
Peter Korsgaard
d6e59652a5 scripts: get rid of outdated buildall script
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-04 11:44:08 +02:00
Yann E. MORIN
855fdcaed1 scripts: fix for POSIX compliance
Using two '=' for string comparison is a bashism.
Revert to using one, as stated in POSIX 1003.1-2008.

Of the three affected scripts, two are explicitly called vi #!/bin/bash.
Those two do not _need_ the fix, but gets it nonetheless, in case we
later switch to a POSIX-compliant shell for those scripts.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-30 22:08:58 +02:00
Yann E. MORIN
aefad5317f Makefile: generate a Makefile wrapper in $(O)
If building out-of-tree, add a Makefile wrapper that calls-out to the real
Makefile with proper args.

Avoids having to pass -C and O= every time we call make.

This is highly inspired from how the Linux kernel does it, and portions of
it have been used. We can't use exactly the same implementation as the
kernel does, because:

 - the script writing the wrapper has been expunged of the few lines
   that were too kernel-related: in buildroot we do not need the version
   string in the wrapper, and we do not have a patchlevel version;

 - "in-tree build" does not have the same meaning for the kernel and for
   buildroot: for the kernel, $(O) point to the $(TOPDIR), while for
   buildroot $(O) points to $(TOPDIR)/output.

For more complete explanations, see:
  http://lists.busybox.net/pipermail/buildroot/2010-September/037815.html

[Peter: minor tweaks]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 23:47:07 +02:00
Thomas Petazzoni
f978f2249d Improvements to the package conversion status script
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-26 22:48:41 +02:00
Peter Korsgaard
978a88c415 Merge branch 'pkg-stats-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-05-27 14:11:53 +02:00
Thomas Petazzoni
beafd20730 pkg-stats: better heuristics
Slightly improve the package type detection heuristic, and fix a small
bug about package/multimedia/multimedia.mk exclusion.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-21 15:22:41 +02:00
Thomas Petazzoni
0e12aa3e0f New graph-depends script
Add a Python script that draws dependency graphs, either for the full
set of selected packages, or for a particular given package. Of
course, it is limited to packages that use either the generic or
autotools infrastructures. The script generates a file that Graphviz
can parse and generate a PDF (or other formats) from it.

Full dependency graph of all selected packages :

 ./scripts/graph-depends > test.dot
 dot -Tpdf test.dot -o test.pdf

Dependency graph of libgtk2 :

 ./scripts/graph-depends libgtk2 > test.dot
 dot -Tpdf test.dot -o test.pdf

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-21 15:16:48 +02:00
Lionel Landwerlin
6660b7dc3f scripts: force copy of files to erase already present and readonly files
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 09:33:25 +02:00
Thomas Petazzoni
77ab544308 fakeroot: remove all references to BR2_HOST_FAKEROOT
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:33 +02:00
Julien Boibessot
fb1c82ad88 get_linux_config.sh: sets THIS_MINOR to 0 if not valid.
Sets THIS_MINOR to 0 if not valid, ie when processing a Linux config file
which does not have a minor number extension;
ex: "<name>-linux-2.6.<major>.config"
Otherwise bash is raising an error/exception (line 59) and script can not
complete.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-17 11:18:17 +01:00
Thomas Petazzoni
35e635b7dd Add package statistics script
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:32 +01:00
Thomas Petazzoni
a2fd975115 remove BR2_KERNEL_HURD from defconfig files
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:46:00 +01:00
Peter Korsgaard
89dadc81ec lzma: remove 'target' from lzma package name
We normally don't do this, and it makes using Makefile.autotools.in harder.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-26 21:38:49 +01:00
Peter Korsgaard
b2dcab30ce lzma: host targets should not be user selectable
Instead they should get automatically built if needed.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-26 16:51:06 +01:00
Thomas Petazzoni
4a37bf3b9e script: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 15:13:16 +02:00
Peter Korsgaard
8ed829a179 buildroot: fix remaining references to SDL_net instead of sdl_net
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-29 17:21:52 +02:00
Peter Korsgaard
5b72dda69f buildroot: fix fallout after qtopia4 -> qt rename
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-03 11:43:07 +02:00
Markus Heidelberg
7d369f837f scripts/package wizard: clarify the steps after the wizard
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-03 22:24:36 +02:00
Markus Heidelberg
4a29b22438 scripts/package wizard: add support for subdirs
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-03 22:24:36 +02:00
Markus Heidelberg
83674f229a scripts/package wizard: delete trailing whitespace and empty lines
In this script and in the .mk output. Let's avoid unnecessary whitespace
issues in new packages created with this wizard.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-03 22:24:36 +02:00
Markus Heidelberg
5a3642b43a scripts/package wizard: make workable from TOPDIR
Before you to had to be in a subdirectory, for example package/
Now you can call it from anywhere.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-03 22:24:36 +02:00
Peter Korsgaard
bec705479e scripts/setlocalversion: Renamed 'git-svn' to 'git svn'
Git 1.6.x+ got rid of git-<subcommand> in the normal path.

Signed-off-by: Michael Roth <mroth@nessie.de>
2009-03-26 20:47:38 +00:00
Peter Korsgaard
77754571b2 pkgconfig: add pkgconfig package for target
The host versions shouldn't be visible in Kconfig, so remove the
reference to BR2_PACKAGE_PKGCONFIG everywhere and prefix the host targets
with host-.

At the same time add pkgconfig for the target (E.G. for development) and
let BR2_PACKAGE_PKGCONFIG control that package.

Notice: all defconfigs in the tree have been updated, but make sure to
disable the pkgconfig package (unless you want it) if you use an external
config, otherwise you'll end up with pkgconfig and glib2 in the target.
2009-03-18 19:19:10 +00:00
Peter Korsgaard
8bc48ee108 setlocalversion: sync with HEAD of kernel git
Outputs correct svn revision (latest change, not repo version).
2009-02-03 16:24:13 +00:00
Ulf Samuelsson
5d77f80ea0 Update buildall.sh with result of latest ARM tests + whitespace cleanups 2009-02-02 07:19:31 +00:00
Ulf Samuelsson
23b692f139 Create a log file as well as stdout during test 2009-02-02 07:18:19 +00:00
Ulf Samuelsson
209f231168 Do not build target compiler during test 2009-02-02 07:17:23 +00:00
Peter Korsgaard
a72794391a readline: s/BR2_READLINE/BR2_PACKAGE_READLINE/
Package configs should start with BR2_PACKAGE_.
2009-01-30 09:54:59 +00:00
Ulf Samuelsson
142f88f746 run test with some knowledge of ARCH 2009-01-29 09:36:35 +00:00
Ulf Samuelsson
070de4f146 Update verification scripts and status for ARM build 2009-01-25 23:09:12 +00:00
Ulf Samuelsson
67d74d8a7a Fix buildall script to use testbed in scripts/test 2009-01-24 13:34:21 +00:00
Ulf Samuelsson
1162372c9a Add test configuration but do not include it by default 2009-01-24 11:29:10 +00:00
Peter Korsgaard
e7eda55f00 package/: remove deprecated and broken raidtool2 package 2009-01-23 20:38:05 +00:00
Ulf Samuelsson
44cb792353 Update tester script 2009-01-22 23:10:12 +00:00
Ulf Samuelsson
06b99ea303 Add help script for testing 2009-01-22 23:05:49 +00:00
Ulf Samuelsson
3eecdf6166 Update buildall.sh script 2009-01-16 22:45:31 +00:00
Ulf Samuelsson
20fed85399 Update package buildscript 2009-01-15 23:17:38 +00:00
Ulf Samuelsson
bbcd069271 Update buildall.sh script 2009-01-13 18:43:46 +00:00
Ulf Samuelsson
2dcd4dedc7 Remove conditional clause which disables building some packages 2009-01-12 07:45:02 +00:00
Ulf Samuelsson
1811acae86 Add some whitespace to output, aligning comments, when added 2009-01-12 07:43:23 +00:00
Ulf Samuelsson
062da366e0 Add buildall script for testing many/most packages separately with build logs and documentation for this and mkpkg 2009-01-11 21:13:02 +00:00
Ulf Samuelsson
6b054c3b90 Bug fix for mkpkg script 2009-01-11 20:37:04 +00:00
Ulf Samuelsson
a3afd2ce59 Add script allowing better overview of build status of single packages 2009-01-10 00:26:30 +00:00
Ulf Samuelsson
3b60cec51b Do not copy linux config with higher minor version than current kernel 2009-01-03 16:59:04 +00:00
Ulf Samuelsson
4705b4c21a Apply some care, when copying the linux configuration file 2009-01-02 15:44:18 +00:00
Wade Berrier
1d6fd2d387 scripts/setlocalversion: update deprecated git-<command> usage
Git is moving away from the git-<command> to git <command>

git-svn -> git svn
2008-12-23 17:51:37 +00:00
Peter Korsgaard
6fd903a4de new package wizard: change bash-specific construct
Patch by Markus Heidelberg.

${VAR//-/_} which replaces - with _ aborts with "syntax error" on a
system where /bin/sh points to dash. Use tr therefor as already done in
the line above rather than changing the shebang to bash.
2008-10-22 05:19:04 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
John Voltz
7c98bd397e some enhancements to the build-ext3-img script 2008-05-01 15:21:47 +00:00