Commit graph

453 commits

Author SHA1 Message Date
Felix Fietkau
5c2991d8bc add improved autotools fixups
SVN-Revision: 9942
2007-12-27 02:11:07 +00:00
Felix Fietkau
28922775b6 add $(STAGING_DIR)/host, which contains target specific, but host executable files
SVN-Revision: 9939
2007-12-27 02:10:54 +00:00
Felix Fietkau
713087f64c add a configurable prefix for ./configure
SVN-Revision: 9938
2007-12-27 02:10:50 +00:00
Andy Boyett
d9ec7366c7 Disabling use of libintl in kconfig.
SVN-Revision: 9934
2007-12-26 22:21:56 +00:00
Andy Boyett
ec849ba7c8 use printf instead of echo
SVN-Revision: 9932
2007-12-26 20:54:39 +00:00
Felix Fietkau
3de5e1d29a clean up after staging packages
SVN-Revision: 9909
2007-12-25 02:19:48 +00:00
Felix Fietkau
957103c337 add automatic file tracking and uninstallation for files installed in $(STAGING_DIR) and $(STAGING_DIR_HOST)
SVN-Revision: 9905
2007-12-25 01:39:15 +00:00
Felix Fietkau
3c228ee88f add a second parameter to InstallDev/UninstallDev for specifying the path to STAGING_DIR_HOST
SVN-Revision: 9853
2007-12-23 00:41:40 +00:00
Felix Fietkau
f0b363667b add STAGING_DIR_HOST to PKG_CONFIG_PATH
SVN-Revision: 9850
2007-12-23 00:41:01 +00:00
John Crispin
ff74bb872b added packkage-version overriding, Signed-off-by: ralph <ralph.hempel@infineon.com>
SVN-Revision: 9813
2007-12-20 22:20:32 +00:00
Gabor Juhos
ff0eceb98f add md5 sum of the 2.6.23.11 tarball
SVN-Revision: 9799
2007-12-18 18:43:13 +00:00
John Crispin
a49f06f5e7 fixed copy paste error
SVN-Revision: 9792
2007-12-17 22:24:40 +00:00
Felix Fietkau
2da3f6a256 fix the sdk
SVN-Revision: 9747
2007-12-14 00:33:25 +00:00
Felix Fietkau
51996a78f1 clean up openwrt version handling, use a separate script that is executed at the beginning of the build process, fix revision checking with git
SVN-Revision: 9723
2007-12-13 06:25:54 +00:00
Felix Fietkau
5de58125bd add prereq check for gnu find
SVN-Revision: 9710
2007-12-11 22:28:10 +00:00
Felix Fietkau
40ab15892d Abstracted find to $(FIND) to allow use of gfind on non-GNU systems.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>

SVN-Revision: 9659
2007-12-05 18:45:20 +00:00
Felix Fietkau
edc74f8cc3 fix make clean for unconfigured build trees
SVN-Revision: 9655
2007-12-04 03:04:37 +00:00
Felix Fietkau
b217ebd0e6 enforce gnu make >= 3.81 now. it has become too annoying to work around bugs in 3.80
SVN-Revision: 9654
2007-12-04 03:00:29 +00:00
Felix Fietkau
40840d495f add shell compatibility patch from #2659
SVN-Revision: 9643
2007-11-30 21:58:18 +00:00
Felix Fietkau
5526395594 fix kernel config related build error
SVN-Revision: 9640
2007-11-30 17:22:44 +00:00
Felix Fietkau
d1b4f5b54f include the kernel config for kernel related packages (should fix some b43 compile issues)
SVN-Revision: 9635
2007-11-30 09:43:08 +00:00
Gabor Juhos
bb44c9a6de switch to 2.6.23.9
SVN-Revision: 9629
2007-11-29 08:51:59 +00:00
Felix Fietkau
407b75436d fix build issues that happen when the staging dir is cleared and the build directories stay
SVN-Revision: 9588
2007-11-20 22:43:38 +00:00
Eugene Konev
4735a0f5fe add external kernel tree support
SVN-Revision: 9584
2007-11-20 13:21:01 +00:00
Felix Fietkau
5a9cdef549 prefer http downloads over svn/git checkouts, remove git dependency
SVN-Revision: 9567
2007-11-16 04:10:01 +00:00
Felix Fietkau
87d0b29540 better scope handling for the configured stamp
SVN-Revision: 9566
2007-11-16 03:48:43 +00:00
Felix Fietkau
224760dee7 add git checkout support
SVN-Revision: 9553
2007-11-16 03:10:40 +00:00
Felix Fietkau
4a87a0464b fix copy&paste mistake
SVN-Revision: 9551
2007-11-15 12:35:51 +00:00
Felix Fietkau
dfa7618bd6 fix the image builder
SVN-Revision: 9549
2007-11-14 23:11:07 +00:00
Felix Fietkau
2cb6cbf061 fix quilt apply for packages that change STAMP_*
SVN-Revision: 9531
2007-11-10 22:51:02 +00:00
Felix Fietkau
db87e1f8c1 fix parallel build issues
SVN-Revision: 9495
2007-11-04 11:42:47 +00:00
Felix Fietkau
5d901efb9e increase scan depth to 5 for package/ (x.org is nested deeper than the rest of the packages)
SVN-Revision: 9487
2007-11-03 12:13:23 +00:00
Felix Fietkau
e66a211078 fix default downloads from svn
SVN-Revision: 9471
2007-10-31 22:37:56 +00:00
Felix Fietkau
41815ee5c8 add feature flag for display support. will be used as dependency for x.org
SVN-Revision: 9448
2007-10-25 21:08:46 +00:00
Florian Fainelli
486492b407 We are now at .23.1
SVN-Revision: 9415
2007-10-23 08:13:12 +00:00
Felix Fietkau
881bac2db2 Allow targets to specify extra initramfs source files
The CONFIG_INITRAMFS_SOURCE Kconfig variable can be a space-separated
list of source files (or directories). This allows a platform to
add extra components to the initramfs image, by defining the
INITRAMFS_EXTRA_FILES make var.

By default, we add a simple initramfs extra file for the generic-2.6
platform, which specifies a few device nodes.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 9410
2007-10-23 06:23:29 +00:00
Felix Fietkau
4a142953ea Use current UID for initramfs root user:group
Set the CONFIG_INITRAMFS_ROOT_{U,G}ID kernel variables to the current
user, so that all files end up being owned by root in the final
initramfs image.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 9409
2007-10-23 06:23:26 +00:00
Felix Fietkau
4bb2c88f4e don't specify "CC=<nothing>" on kernel build command line
If KERNEL_CC isn't set, we end up with a "CC=" on the kernel build
command-line. We don't always need CC, as the CROSS_COMPILE flag does
the job instead. In fact, specifying CC messes up the build when we're
using a biarch compiler.

This change doesn't specify CC= if the KERNEL_CC variable is empty.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 9408
2007-10-23 06:23:23 +00:00
Felix Fietkau
d8e032edef don't replace powerpc arch with ppc
'powerpc' is a valid arch for the LINUX_KARCH variable, but the build
system unconditionally replaces LIUNUX_KARCH=powerpc with
LINUX_KARCH=ppc.

This change only does the replacement if LINUX_KARCH isn't set. This
allows us to use the powerpc architecture.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 9405
2007-10-23 06:23:12 +00:00
Felix Fietkau
ac40a80f35 make aliases for package targets if the package directories are in further subdirectories example: if there is a package/libs/foo/compile, then package/foo/compile will be an alias for it
SVN-Revision: 9384
2007-10-21 07:18:10 +00:00
John Crispin
9f73ab51f3 refreshed madwifi patches
SVN-Revision: 9380
2007-10-20 19:13:53 +00:00
Felix Fietkau
86a906bed2 reorganize subtargets, sort subtargets below top level targets
SVN-Revision: 9378
2007-10-20 19:10:06 +00:00
Felix Fietkau
99aed44487 fix quilt update breakage for kernel related packages
SVN-Revision: 9368
2007-10-20 15:30:18 +00:00
John Crispin
9b467b5b28 remove whitespaces
SVN-Revision: 9354
2007-10-18 20:30:18 +00:00
John Crispin
7558f0281f DESCRIPTION:= is obselete, so complain if it is used and use TITLE if no description is set
SVN-Revision: 9307
2007-10-14 04:49:05 +00:00
Felix Fietkau
af03fdb6c5 add autorebuild check for menuconfig
SVN-Revision: 9301
2007-10-14 02:28:34 +00:00
John Crispin
1a3c4d1090 add possibility to set default .config values
SVN-Revision: 9300
2007-10-14 02:15:37 +00:00
Gabor Juhos
4e05416c39 netfilter/ipset cleanups * rename patches to follow our naming conventions * update ipset patches with revision 7096 of [https://svn.netfilter.org/netfilter/trunk/patch-o-matic-ng pom] * add CONFIG_IP_NF_SET_IPTREEMAP to default kernel configs * add ip_set_iptreemap to include/netfilter.mk * update kmod-ipt-ipset module description
SVN-Revision: 9269
2007-10-12 14:58:35 +00:00
Eugene Konev
72f5fa6b92 sync for 2.6.23-final
SVN-Revision: 9234
2007-10-10 06:20:25 +00:00
Felix Fietkau
1120a73f43 remove feeds dir on distclean
SVN-Revision: 9215
2007-10-09 04:13:19 +00:00
Felix Fietkau
c3a2acf7db only run svn info if .svn exists
SVN-Revision: 9213
2007-10-09 03:37:31 +00:00
John Crispin
5a4b6b5f4e changed pkg_install_files so one can specify the folder to install from
SVN-Revision: 9192
2007-10-08 19:49:11 +00:00
John Crispin
215fa7eb8b added generation of x86 livecds, from #2391
SVN-Revision: 9191
2007-10-08 18:53:19 +00:00
Gabor Juhos
8309e3dff2 add TARPIT support to netfilter/iptables * netfilter: add the xt_TARPIT target module required by xt_CHAOS * include/netfilter.mk: reorder, xt_CHAOS depends on xt_TARPIT and xt_DELUDE * iptables: add libipt_TARPIT to the kmod-ipt-extra package, bump release number * original patchset can be found [http://tinyurl.com/2mjk2kx here]
SVN-Revision: 9178
2007-10-07 17:17:04 +00:00
John Crispin
33ecac1f24 added a function, that packages can call to make installing files/folders much cleaner and easier
SVN-Revision: 9171
2007-10-07 01:55:03 +00:00
Felix Fietkau
4af66e8866 fix accidental double slash in prefixed quilt patchsets
SVN-Revision: 9166
2007-10-07 00:16:50 +00:00
Felix Fietkau
e2e8d55dcc allow targets to select/deselect config symbols
SVN-Revision: 9150
2007-10-05 21:44:43 +00:00
Felix Fietkau
5f87e72dae fix quilt patch check
SVN-Revision: 9121
2007-10-04 17:58:12 +00:00
Felix Fietkau
7d179076ca separate series file fixup from quilt check to avoid series file breakages after fixing a broken patch stack with quilt
SVN-Revision: 9120
2007-10-04 15:32:55 +00:00
Gabor Juhos
e12359aa29 fix target profiles, (closes: 2440)
SVN-Revision: 9113
2007-10-03 19:22:51 +00:00
Tim Yardley
458ce0cb5c fix quilt integration
SVN-Revision: 9100
2007-10-02 21:54:22 +00:00
Felix Fietkau
85f3be6310 fix target profiles
SVN-Revision: 9099
2007-10-02 17:43:57 +00:00
Felix Fietkau
e2f7a60283 fixes for refresh/update handling
SVN-Revision: 9063
2007-09-29 04:29:11 +00:00
Felix Fietkau
d1933f9761 move a stampfile to make it easier to override the patch template
SVN-Revision: 9062
2007-09-29 03:39:57 +00:00
Felix Fietkau
5f1d42ea7c refactor quilt patching code
SVN-Revision: 9061
2007-09-29 03:28:03 +00:00
Felix Fietkau
97b6135462 add a packaging method that installs files into a subdirectory of bin/ instead of an ipkg
SVN-Revision: 9060
2007-09-29 01:21:56 +00:00
Felix Fietkau
03543ec4a4 proper series file support for regular packages
SVN-Revision: 9059
2007-09-29 00:25:38 +00:00
Felix Fietkau
894bd2f7dc use $(TAR) instead of tar
SVN-Revision: 9058
2007-09-29 00:16:33 +00:00
Felix Fietkau
dbeb0fad24 Refactor downloading code into download.mk Support multiple file downloads Support svn downloads
SVN-Revision: 9057
2007-09-29 00:05:48 +00:00
Felix Fietkau
969ac7459e add $(STAGING_DIR) as argument to the InstallDev template and update packages accordingly - this way we can reuse InstallDev to automatically generate UninstallDev or create -dev packages
SVN-Revision: 9052
2007-09-28 01:45:11 +00:00
Felix Fietkau
800ef0f56c some minor fixes, cleanups, package build abstraction
SVN-Revision: 9051
2007-09-28 01:23:56 +00:00
Nicolas Thill
0bf90f2a0d add ipv6 conntrack support (closes: #2192)
SVN-Revision: 8984
2007-09-23 17:22:17 +00:00
Felix Fietkau
f8dfc57573 add initial version of a package feeds management script
SVN-Revision: 8973
2007-09-23 02:39:01 +00:00
Nicolas Thill
fec4d9ee3c add missing 2.6 conntrack/nat helpers, add 2.6 conntrack/nat helper for RTSP (closes: #2297, thanks to aorlinsk), sync 2.4 / 2.6 kconfigs.
SVN-Revision: 8955
2007-09-22 18:37:24 +00:00
Nicolas Thill
7d50df6224 add 'Provides:' line in ipkg control files
SVN-Revision: 8906
2007-09-21 10:05:00 +00:00
Felix Fietkau
e554dafa93 fix spontaneous rebuilds caused by make package/<name>/update with quilt
SVN-Revision: 8879
2007-09-20 16:17:50 +00:00
Nicolas Thill
f5f47e1fbd cosmetic cleanup before more deep changes
SVN-Revision: 8870
2007-09-20 10:48:54 +00:00
Nicolas Thill
f6197eabda fix typo again (do i need some sleep?)
SVN-Revision: 8822
2007-09-17 01:51:57 +00:00
Nicolas Thill
dcf795770c oops, fix typo
SVN-Revision: 8816
2007-09-16 22:41:24 +00:00
Nicolas Thill
8c7105e20a remove (unused?) linux symlink in BUILD_DIR
SVN-Revision: 8804
2007-09-16 16:28:50 +00:00
Nicolas Thill
892b16a352 revert CONFIG_* symbols set m enforcement introduced in [8591], it can't work when symbols from different kernel versions are mixed in KCONFIG
SVN-Revision: 8798
2007-09-16 16:10:37 +00:00
Nicolas Thill
ac2af6affa allow targets for override generic config (GENERIC_LINUX_CONFIG:=/dev/null) for testing purposes
SVN-Revision: 8796
2007-09-16 14:09:57 +00:00
Nicolas Thill
420f252a58 quote LINUX_VERSION to avoid shell errors at DUMP time
SVN-Revision: 8795
2007-09-16 14:08:23 +00:00
Nicolas Thill
5011d6129c prevent include/netfilter.mk from being included multiple times
SVN-Revision: 8781
2007-09-15 16:19:26 +00:00
Felix Fietkau
986445a623 properly clean up after kernel_{old,menu}config
SVN-Revision: 8737
2007-09-11 00:14:37 +00:00
Felix Fietkau
749cefa063 fix custom series files in kernel patch directories
SVN-Revision: 8736
2007-09-10 23:01:45 +00:00
Felix Fietkau
e83d637f65 fix kernel build with quilt
SVN-Revision: 8727
2007-09-10 04:21:21 +00:00
Felix Fietkau
01b6a90e3d fix kernel_menuconfig
SVN-Revision: 8726
2007-09-10 01:04:57 +00:00
Florian Fainelli
6a06ccf9b6 Package the statistics module for netfilter
SVN-Revision: 8716
2007-09-09 18:32:06 +00:00
Felix Fietkau
0c9b23594d fix kmod-crypto, emit warning messages for kmod packages that cannot be built due to missing kernel config options
SVN-Revision: 8697
2007-09-08 23:33:01 +00:00
Felix Fietkau
e63e1f7a4a add support for device type based package preselections
SVN-Revision: 8696
2007-09-08 21:30:25 +00:00
Felix Fietkau
87a88cebc7 adapt profiles for subtarget changes
SVN-Revision: 8695
2007-09-08 20:04:43 +00:00
Felix Fietkau
a9d683ca91 major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00
Felix Fietkau
56231056ea strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00
Nicolas Thill
af0b91ca90 allow scan.mk to find python packages introduced in [8639]
SVN-Revision: 8641
2007-09-06 03:20:48 +00:00
Nicolas Thill
9f6bd2c07b remove uneeded stuff after python changes in [8639]
SVN-Revision: 8640
2007-09-06 02:57:06 +00:00
Nicolas Thill
c0033f360c fix typo (thanks to jonasg[1] on irc)
SVN-Revision: 8618
2007-09-05 08:59:44 +00:00
Nicolas Thill
5b4bfbd6d4 move TARGET_* flags from ./include/package-default.mk to ./rules.mk, remove EXTRA_* flags but still use them in configure and make
SVN-Revision: 8592
2007-09-03 09:06:03 +00:00
Nicolas Thill
8dc7ced4d4 require all CONFIG_* symbols listed in its KCONFIG to be set to m in order to actually build a kmod package, tweak and fix kernel package definitions.
SVN-Revision: 8591
2007-09-03 08:58:14 +00:00
Nicolas Thill
e5e03321f9 tweak Build/Compile/PyMod: add CPPFLAGS, allow caller to override any of the default *FLAGS, indent
SVN-Revision: 8590
2007-09-03 08:44:08 +00:00