Commit Graph

784 Commits (8e808a54c257f5ffd4649b6be52b9a164c6c63d0)

Author SHA1 Message Date
Felix Fietkau 7b1a36cab4 split package.mk and clean up build system code (based on patch by mbm), makes the code more readable and speeds up metadata scan
SVN-Revision: 6571
2007-03-15 23:57:18 +00:00
Felix Fietkau 08c5cb8c23 fix metadata scan for profile split
SVN-Revision: 6515
2007-03-04 21:07:29 +00:00
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
2007-03-04 20:31:53 +00:00
Felix Fietkau bc60eb3610 add a crlf workaround similar to the one from freewrt
SVN-Revision: 6507
2007-03-04 16:27:11 +00:00
Felix Fietkau 066a009c34 final fix for the profile selection
SVN-Revision: 6474
2007-03-02 23:36:59 +00:00
Felix Fietkau 8069e38587 set the PROFILE variable in target.mk appropriately
SVN-Revision: 6470
2007-03-02 23:13:52 +00:00
Felix Fietkau b09fbccb24 revert bogus target.mk change from [6465]
SVN-Revision: 6469
2007-03-02 23:04:19 +00:00
Felix Fietkau fa859ea32a fix an error in the kernel image related commit
SVN-Revision: 6467
2007-03-02 21:07:53 +00:00
Tim Yardley 484609eeb0 commit profile support for base-files... patches still need to be done
SVN-Revision: 6465
2007-03-02 18:17:40 +00:00
Felix Fietkau 91e5dba2c7 kernel build cleanup
SVN-Revision: 6464
2007-03-02 17:24:20 +00:00
Felix Fietkau f86431a751 add EXTRA_CFLAGS variable support
SVN-Revision: 6459
2007-03-02 16:14:05 +00:00
Felix Fietkau 68ca8e7818 make squashfs overlay support more generic and integrate it for x86-2.6
SVN-Revision: 6450
2007-03-02 01:23:36 +00:00
Felix Fietkau 15a9b61bbd fix kexec-tools build
SVN-Revision: 6428
2007-02-28 13:28:18 +00:00
Florian Fainelli 780712e30e Add ipt_CLASSIFY target for 2.4 kernels (#1338)
SVN-Revision: 6424
2007-02-28 12:04:58 +00:00
Felix Fietkau 423e90915d Massive speedup in the package/target scanning step - per package metadata files are now cached. - timestamp.pl calls have been replaced with make file dependencies - an extra stamp file ensures that directory listing changes force a rebuild
SVN-Revision: 6404
2007-02-27 21:14:00 +00:00
Felix Fietkau ecf6837f87 add x86_64 sitefile
SVN-Revision: 6382
2007-02-26 01:02:57 +00:00
Felix Fietkau 27fd6cee56 remove old variables
SVN-Revision: 6379
2007-02-26 00:20:39 +00:00
Felix Fietkau 5e50dd560a move CXXFLAGS to MAKE_VARS
SVN-Revision: 6378
2007-02-26 00:13:41 +00:00
Felix Fietkau 350b686ffd add MAKE_VARS and MAKE_FLAGS similar to CONFIGURE_*
SVN-Revision: 6377
2007-02-26 00:10:52 +00:00
Felix Fietkau 6d6b1ac683 rename PKG_CONFIGURE_PATH to CONFIGURE_PATH for consistency
SVN-Revision: 6376
2007-02-25 23:55:53 +00:00
Felix Fietkau d9639dd98c move configure args to CONFIGURE_ARGS and configure variable to CONFIGURE_VARS to make it possible to modify the configure command line without overriding the default template
SVN-Revision: 6370
2007-02-25 23:10:32 +00:00
Felix Fietkau 9b46161c67 fix for including host.mk multiple times
SVN-Revision: 6369
2007-02-25 21:17:57 +00:00
Felix Fietkau 5723a1798c fix stampfiles for host-builds
SVN-Revision: 6367
2007-02-25 21:01:21 +00:00
Felix Fietkau b04f09245d add auto-rebuild for host builds (tested with tools/ and toolchain/)
SVN-Revision: 6361
2007-02-25 18:28:25 +00:00
Felix Fietkau d398dc0309 always dereference symbolic links when copying kernel modules into the packaging directory (fixes alsa build, patch from #1392)
SVN-Revision: 6350
2007-02-23 14:52:50 +00:00
Felix Fietkau 129d173a2a fix kernel features detection - GENERIC_PLATFORM_DIR is unset at DUMP time
SVN-Revision: 6346
2007-02-23 03:45:46 +00:00
Tim Yardley fdea0fabd2 make maxinodes configureable for ext2
SVN-Revision: 6345
2007-02-22 22:35:08 +00:00
Felix Fietkau 1a6e4acabc fix a small bug in the order of the profile metadata dump
SVN-Revision: 6340
2007-02-22 03:54:52 +00:00
Felix Fietkau db45ee6bd6 last commit was missing a change...
SVN-Revision: 6339
2007-02-22 03:47:00 +00:00
Felix Fietkau e78fb96964 Reorganize kernel configs - target/linux/*/config is now a directory. ./config/default will replace the old config and config-diff (format is like config-diff, the full kernel config is no longer kept in the build system) This commit removes all the kernel config stuff, the next one will add the replacement - there's no way to do this atomically with svn.
SVN-Revision: 6337
2007-02-22 03:44:15 +00:00
Felix Fietkau 509bb267a3 make kernel_menuconfig work without target toolchain
SVN-Revision: 6312
2007-02-16 17:28:22 +00:00
Felix Fietkau 8afbc2d617 add top-level kernel_menuconfig target to unpack and reconfigure the kernel - uses config.pl to generate target/linux/*/config and config-diff
SVN-Revision: 6310
2007-02-16 16:59:44 +00:00
Felix Fietkau 064e496875 when building a package, make sure that older versions get removed
SVN-Revision: 6303
2007-02-16 01:00:01 +00:00
Felix Fietkau 04da86494a fix multiport netfilter module installation (patch from #1280)
SVN-Revision: 6295
2007-02-13 03:08:48 +00:00
Felix Fietkau 6a50014b62 Minor kernel build changes: Change '[ -d ... ] && cmd' to 'if [ -d ... ]; then cmd; fi' to avoid make errors if the condition is false If $(PLATFORM_DIR)/files exists, copy it into the kernel tree on prepare.
SVN-Revision: 6263
2007-02-04 19:36:11 +00:00
Nicolas Thill 1f8d439809 disambiguate PKG_CONFIG_PATH, it is used for pkgconfig scripts while PKG_CONFIGURE_PATH is now used for configure scripts
SVN-Revision: 6244
2007-02-01 22:32:03 +00:00
Mike Baker dc4f082aea print package name when prereq fails
SVN-Revision: 6236
2007-01-31 20:17:28 +00:00
Mike Baker 9fffc68101 fix colors when compiling with some newer versions of bash
SVN-Revision: 6231
2007-01-30 18:30:20 +00:00
Florian Fainelli acf6ec373e Add chaostable from #1187, also enable netfilter modules for ixp4xx.
SVN-Revision: 6182
2007-01-22 23:55:22 +00:00
Nicolas Thill 3de63356ba cosmetic change: rename PKG_BUILDDEP to PKG_BUILD_DEPENDS
SVN-Revision: 6180
2007-01-22 17:33:10 +00:00
Felix Fietkau e8caa3c42b fix a typo in my netfilter commit - worked for iptables, didn't work for the kernel modules
SVN-Revision: 6176
2007-01-22 11:22:02 +00:00
Felix Fietkau 5d323a623e add missing config checks for the netfilter connmark target (fixes #1186)
SVN-Revision: 6172
2007-01-22 01:23:44 +00:00
Felix Fietkau 3133fefe06 pass the CFLAGS through the environment on compile and fix a few packages
SVN-Revision: 6154
2007-01-21 02:14:50 +00:00
Felix Fietkau 69d76bb482 make spca5xx depend on video device support in the kernel
SVN-Revision: 6153
2007-01-21 02:02:01 +00:00
Felix Fietkau d8cc1426e4 allow newlines in prereq error messages
SVN-Revision: 6147
2007-01-20 18:45:06 +00:00
Felix Fietkau 2fb06d46d9 Add WL-700gE support (based on work by jr) Includes kernel/diag patch and a new target profile
SVN-Revision: 6142
2007-01-20 12:35:00 +00:00
Felix Fietkau 84a0696c1e add descriptions to the broadcom target profiles and export them to the target metadata (not presented in menuconfig yet)
SVN-Revision: 6137
2007-01-20 02:30:36 +00:00
Felix Fietkau 6de2b723f7 clean up package rebuild messages
SVN-Revision: 6134
2007-01-20 01:35:13 +00:00
Tim Yardley 4c1346198c bring in 2.6.19.2 fixes, primarily for the fixed sata support. see http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.19.2 for full details of the changes
SVN-Revision: 6128
2007-01-18 18:58:24 +00:00
Felix Fietkau 28f97f9fc3 include section name in the package metadata
SVN-Revision: 6094
2007-01-14 12:21:39 +00:00
Felix Fietkau 56cb557d10 add maintainer to package metadata
SVN-Revision: 6089
2007-01-13 14:09:48 +00:00
Felix Fietkau 06e88a80c7 merge the scripts dealing with package/target metadata to remove some redundant code
SVN-Revision: 6088
2007-01-13 14:05:14 +00:00
Felix Fietkau 0e3a29c270 Fix the annoying base-files autorebuild bug. When checking file mtimes in directories, timestamp.pl was following symlinks. This broke on base-files, because there are symlinks to /tmp and to /proc/mounts in the build directory.
SVN-Revision: 6084
2007-01-12 11:09:05 +00:00
Felix Fietkau 5605b82835 fix unpacking of .zip files
SVN-Revision: 6083
2007-01-11 19:07:12 +00:00
Felix Fietkau 7a6a646497 Add initial version of the new Image Builder It's still a bit rough in a few places, but it seems to work for Broadcom at least - other targets untested.
SVN-Revision: 6071
2007-01-10 21:52:28 +00:00
Imre Kaloz 3f881e9573 upgrade to Linux 2.4.34
SVN-Revision: 6000
2007-01-05 20:09:34 +00:00
Nicolas Thill ab2bdf2505 only squash owners, not permissions, when generating ext2 images
SVN-Revision: 5934
2006-12-30 14:44:27 +00:00
Felix Fietkau 35bccdd4ba store the default kernel version for our ports in a single place (target makefiles can still override it if necessary)
SVN-Revision: 5899
2006-12-25 09:12:57 +00:00
Florian Fainelli 94164d679b Also build bzImage for rdc boards
SVN-Revision: 5895
2006-12-23 14:27:06 +00:00
Felix Fietkau 4a17097247 replace another instance of a relative path to generic-2.* with an absolute one (for symlinked target directories)
SVN-Revision: 5885
2006-12-20 22:23:51 +00:00
Felix Fietkau dc6794b88c some platform support path name cleanup
SVN-Revision: 5846
2006-12-18 18:30:29 +00:00
Felix Fietkau 2f50e4ee3f add a missing dependency - prevented clean rebuild after kernel upgrades
SVN-Revision: 5845
2006-12-18 18:28:38 +00:00
Nicolas Thill a98e2a0f27 prevent pkg-config from looking for .pc files on the host system
SVN-Revision: 5820
2006-12-17 14:56:27 +00:00
Rod Whitby 0a4bfe22bb A little endian arm site defaults, in case anyone wants it. ixp4xx kernel and rootfs at least builds with it, but is untested.
SVN-Revision: 5815
2006-12-17 12:40:45 +00:00
Felix Fietkau 77e01959f4 fix path to generic init file when using a symlinked target support directory
SVN-Revision: 5805
2006-12-16 01:32:12 +00:00
Felix Fietkau bc4c9e6095 allow package directories to override the path to configure
SVN-Revision: 5722
2006-12-08 14:36:56 +00:00
Felix Fietkau 65ce91ec41 minor cleanup
SVN-Revision: 5718
2006-12-08 04:06:29 +00:00
Felix Fietkau 5af24a0373 build all packages in a package directory by default if DEVELOPER or SDK is set
SVN-Revision: 5684
2006-11-30 21:39:37 +00:00
Mike Baker 16edf83d62 trivial changes
SVN-Revision: 5668
2006-11-28 20:12:48 +00:00
Felix Fietkau bf8dda030c more cleanup, build fix on freebsd
SVN-Revision: 5666
2006-11-28 03:56:45 +00:00
Felix Fietkau 461375c939 another bsd bugfix
SVN-Revision: 5657
2006-11-27 05:23:22 +00:00
Felix Fietkau 387570cc06 trap chmod errors in tar unpack on bsd - modes like 02755 fail
SVN-Revision: 5656
2006-11-27 04:25:34 +00:00
Felix Fietkau a1ac6d1d9f fix collecting package metadata on freebsd
SVN-Revision: 5655
2006-11-27 03:33:19 +00:00
Felix Fietkau 368dc17432 minor cleanup and freebsd compile fix
SVN-Revision: 5654
2006-11-27 02:00:09 +00:00
Felix Fietkau 1c9fe80ed4 fix pesky kmod-* ipkg install bug
SVN-Revision: 5639
2006-11-25 19:45:22 +00:00
Felix Fietkau cf921b2f28 add a prereq check for autoconf
SVN-Revision: 5633
2006-11-24 00:03:05 +00:00
Felix Fietkau 37362df7ea move platform specific base-files into target/linux/<targetname>
SVN-Revision: 5621
2006-11-22 23:27:29 +00:00
Felix Fietkau d28e34c34a remove python prereq check - no longer necessary
SVN-Revision: 5590
2006-11-20 00:31:06 +00:00
Felix Fietkau 80ff6a1d25 autodetect atm, pci, usb, pcmcia features from kernel config file
SVN-Revision: 5586
2006-11-19 20:30:11 +00:00
Felix Fietkau 0a2540a313 reorganize nat helper packages, move ftp and irc nat to a package that is enabled by default, for security reasons - see #917 for more information
SVN-Revision: 5581
2006-11-19 01:03:47 +00:00
Felix Fietkau aef03f09b5 add prereq checks for target/linux/* and target/image/*, check for fdisk for the x86 builds
SVN-Revision: 5569
2006-11-18 21:12:18 +00:00
Felix Fietkau f149f1a0b0 import Package/Default in KernelPackage to avoid reusing variables from the wrong packages (fixes #970)
SVN-Revision: 5565
2006-11-18 20:53:13 +00:00
Felix Fietkau 13aeec9b06 only enable in-tree kmod-* packages by default
SVN-Revision: 5560
2006-11-18 15:46:09 +00:00
Felix Fietkau 105a602ecf implement target profiles in menuconfig
SVN-Revision: 5512
2006-11-12 05:06:56 +00:00
Felix Fietkau a264975480 fix another build error
SVN-Revision: 5508
2006-11-12 02:41:59 +00:00
Felix Fietkau cf10a1dd5e another optimization
SVN-Revision: 5507
2006-11-12 01:55:28 +00:00
Felix Fietkau 8838ffd68d speed up the build system a little bit
SVN-Revision: 5506
2006-11-12 01:49:35 +00:00
Felix Fietkau 71c4f89f29 add missing include
SVN-Revision: 5499
2006-11-12 01:18:54 +00:00
Felix Fietkau cf4e7af392 make target/linux/* directories self-contained, use the selected kernel version for the toolchain, autogenerate menuconfig and makefile code for target selection
SVN-Revision: 5498
2006-11-11 23:11:02 +00:00
Nicolas Thill b4d550ad84 fix typos in CONFIG_SITE files
SVN-Revision: 5456
2006-11-07 01:23:22 +00:00
Nicolas Thill a8b4fcb839 revert autotools files touching: it has side effects (closes: #918)
SVN-Revision: 5448
2006-11-05 20:12:42 +00:00
Florian Fainelli 7af8ef7b0e Move out autotools touching stuff to a macro
SVN-Revision: 5390
2006-11-02 23:31:38 +00:00
Florian Fainelli 320d383f12 Ok, third round, the right one, touch the file anyway, does not break other packages
SVN-Revision: 5387
2006-11-02 23:16:09 +00:00
Florian Fainelli 37237a0544 Update makefiles to use the autotools stuff put in the template, remove bogus stamp-h.in touching
SVN-Revision: 5386
2006-11-02 23:01:45 +00:00
Florian Fainelli 895ac7a421 Some more stuff
SVN-Revision: 5385
2006-11-02 22:55:16 +00:00
Florian Fainelli e0c9b03440 Move out some generic code to prevent autotools from re-creating files
SVN-Revision: 5384
2006-11-02 22:44:38 +00:00
Imre Kaloz 2d2179f503 rename the xscale target to ixp4xx for the forthcoming iop target, add gcc 4.1 patch for arm
SVN-Revision: 5310
2006-10-27 10:26:00 +00:00
Felix Fietkau 78ae7f9a6b fix dependencies on the virtual kernel package (fixes #878)
SVN-Revision: 5279
2006-10-24 14:02:33 +00:00
Nicolas Thill ed081b6cd3 strip third arg (dir name) to Build/Configure/Default macro
SVN-Revision: 5261
2006-10-22 21:15:55 +00:00
Nicolas Thill ff9c3172bf fix squid and rp-pppoe (closes: #869)
SVN-Revision: 5247
2006-10-20 10:32:01 +00:00
Felix Fietkau d26446397f fix typo
SVN-Revision: 5242
2006-10-19 21:04:14 +00:00
Felix Fietkau 48810a0f00 fix gnupg compile
SVN-Revision: 5240
2006-10-19 18:30:49 +00:00
Felix Fietkau 01c896d67c enable download target only if PKG_SOURCE_URL is set
SVN-Revision: 5237
2006-10-19 17:32:49 +00:00
Felix Fietkau 5e3c3ba87d small fix for the sitefiles
SVN-Revision: 5236
2006-10-19 16:56:33 +00:00
Felix Fietkau 59262790ae fix bmon compile
SVN-Revision: 5234
2006-10-19 16:11:51 +00:00
Felix Fietkau f9e805e6a3 add sitefiles similar to the ones from openembedded
SVN-Revision: 5232
2006-10-19 15:25:58 +00:00
Felix Fietkau 47c25a1e96 fix unnecessary kernel package recompile
SVN-Revision: 5227
2006-10-19 06:38:06 +00:00
Felix Fietkau 2665d7f09e cleanup/rewrite of the kernel build process
SVN-Revision: 5226
2006-10-19 06:20:55 +00:00
Felix Fietkau 87e6a7e4f2 cleanup
SVN-Revision: 5224
2006-10-19 05:01:04 +00:00
Felix Fietkau edc69c912b forgot to remove 2 files
SVN-Revision: 5223
2006-10-19 04:36:09 +00:00
Felix Fietkau c041f53b8d finally kill KMOD_template - removes a big chunk of legacy build code
SVN-Revision: 5222
2006-10-19 04:35:29 +00:00
Felix Fietkau 002476016b make filesystem size selection generic (for ext2)
SVN-Revision: 5221
2006-10-19 03:27:24 +00:00
Felix Fietkau d2e30add61 port more modules over to the new system
SVN-Revision: 5220
2006-10-19 02:05:17 +00:00
Felix Fietkau 06df13ccc0 change rm to rm -f to avoid bogus make messages
SVN-Revision: 5215
2006-10-18 22:07:32 +00:00
Felix Fietkau 6a2879bfe7 improve parallel building
SVN-Revision: 5208
2006-10-18 19:00:05 +00:00
Nicolas Thill ee11bee390 fix uml-2.6 build, move KERNELNAME to kernel-build.mk
SVN-Revision: 5204
2006-10-18 13:16:44 +00:00
Felix Fietkau f1a497259b fix module autoload option
SVN-Revision: 5201
2006-10-17 21:43:41 +00:00
Felix Fietkau 7f3d638c4a port soundcore module
SVN-Revision: 5199
2006-10-17 21:19:49 +00:00
Felix Fietkau cb422dc1c1 port the usb modules over to the new system
SVN-Revision: 5197
2006-10-17 20:52:55 +00:00
Felix Fietkau 38fef4b4a8 add PROVIDES option, currently only used for menuconfig
SVN-Revision: 5194
2006-10-17 19:01:08 +00:00
Felix Fietkau 547b127d7a make kernel module packaging code reusable and use it in madwifi
SVN-Revision: 5189
2006-10-17 16:13:10 +00:00
Felix Fietkau 6cee90e993 some kernel module cleanup
SVN-Revision: 5178
2006-10-17 01:47:12 +00:00
Florian Fainelli 44419aed87 Merge preliminary rdc-2.6 support (Airlink101 AR525W)
SVN-Revision: 5138
2006-10-15 23:34:22 +00:00
Florian Fainelli 5ef8d0eae7 Prevent SSH keys from being chmoded to 644 (#664), looks like those are the only files concerned for now
SVN-Revision: 5135
2006-10-15 23:03:46 +00:00
Felix Fietkau 6779edb40e check for empty patch directories
SVN-Revision: 5086
2006-10-14 15:09:03 +00:00
Felix Fietkau 06a46fb09d move '-' parameter to TAR_OPTIONS, so that packages can append commands
SVN-Revision: 5083
2006-10-14 14:51:48 +00:00
Felix Fietkau d4e038fe5d remove some obsolete stuff
SVN-Revision: 5079
2006-10-14 13:53:26 +00:00
Felix Fietkau 4286347249 use $(TAR) in unpack commands
SVN-Revision: 5078
2006-10-14 13:51:40 +00:00
Felix Fietkau 794114c706 fix mistakes in unpack change
SVN-Revision: 5077
2006-10-14 13:04:50 +00:00
Felix Fietkau e735d75cb9 add prereq check for case-sensitive filesystem
SVN-Revision: 5073
2006-10-14 11:23:23 +00:00
Felix Fietkau 0d9ddef0e8 move common unpacking code to unpack.mk, replace zcat with $(ZCAT) for systems that use gzcat instead
SVN-Revision: 5070
2006-10-14 00:40:27 +00:00
Felix Fietkau 3df04a85c0 add prereq check for wget
SVN-Revision: 5065
2006-10-13 23:36:43 +00:00
Felix Fietkau 518b039995 fix tar detection
SVN-Revision: 5061
2006-10-13 22:47:39 +00:00
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00