Commit Graph

226 Commits

Author SHA1 Message Date
Felix Fietkau
90acc0e779 fix make kernel_menuconfig (#1637)
SVN-Revision: 7094
2007-05-05 08:53:34 +00:00
Felix Fietkau
874f03ea00 fixes for a few build errors on osx without fink
SVN-Revision: 7065
2007-04-29 01:30:48 +00:00
Felix Fietkau
d96d98a88d Small bugfix for dependency handling - mostly for base-files and symlinks
SVN-Revision: 7058
2007-04-26 18:04:16 +00:00
Felix Fietkau
56220b258b fix kmod-* build error when wildcards are being used in $(FILES)
SVN-Revision: 7052
2007-04-26 08:06:52 +00:00
Felix Fietkau
74cd5bc109 add workaround for occasional kernel module build failures related to kernel config changes
SVN-Revision: 7050
2007-04-25 22:26:40 +00:00
Felix Fietkau
c7f299dfe5 add missing dependencies for autorebuild
SVN-Revision: 7022
2007-04-21 09:21:51 +00:00
Felix Fietkau
4c6c987f09 Improved autorebuild for kernel related stuff. - make modules_install in the kernel tree is no longer called - make modules is called on every target/compile run - kmod packages pull the kernel modules directly out of the kernel tree and have proper file depends on them
SVN-Revision: 6998
2007-04-18 12:28:38 +00:00
Felix Fietkau
a3a9e039d8 ignore errors in the find command for dep checks
SVN-Revision: 6997
2007-04-18 10:12:50 +00:00
Felix Fietkau
29e42ab21d hide some junk in non-verbose mode
SVN-Revision: 6979
2007-04-16 23:51:22 +00:00
Felix Fietkau
bbe7bd4f29 remove reference to unused .kernel.mk
SVN-Revision: 6959
2007-04-15 21:39:30 +00:00
Felix Fietkau
449a4f4079 clean up dependency handling for autorebuilds
SVN-Revision: 6956
2007-04-15 18:28:24 +00:00
Florian Fainelli
cd65230eea Add raw and NOTRACK targets (#1583)
SVN-Revision: 6945
2007-04-13 11:28:45 +00:00
Felix Fietkau
3e91dd1bd5 revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need
SVN-Revision: 6942
2007-04-12 19:18:38 +00:00
Mike Baker
8857381856 prereq check for find -exec +
SVN-Revision: 6940
2007-04-12 18:17:38 +00:00
Mike Baker
9b62c7eb9d minor tweaks to the verbose system
SVN-Revision: 6936
2007-04-11 22:59:42 +00:00
Felix Fietkau
b5a6f01ec0 fix dependencies for metadata scanning
SVN-Revision: 6910
2007-04-09 01:02:46 +00:00
Mike Baker
23efe5fc83 Tidy up Makefiles
SVN-Revision: 6857
2007-04-03 23:03:56 +00:00
Mike Baker
7bdbd73b2a bug #1547
SVN-Revision: 6851
2007-04-03 15:55:42 +00:00
Mike Baker
0359c6222e Using find's -exec to remove directories causes 'not found' errors when find tries to search the removed directory. Hopefully fixed now.
SVN-Revision: 6849
2007-04-03 11:56:08 +00:00
Florian Fainelli
6cd84c6838 Use find -exec instead of xargs
SVN-Revision: 6837
2007-04-02 16:09:15 +00:00
Florian Fainelli
7cb9801c8b Typo, nice
SVN-Revision: 6826
2007-04-02 11:42:31 +00:00
Florian Fainelli
1377dabf97 Add gawk as a preriquisite (needed for ramdisk images)
SVN-Revision: 6825
2007-04-02 11:42:00 +00:00
Felix Fietkau
c2b42e1afe add check for openwrt build system makefiles when scanning for metadata
SVN-Revision: 6793
2007-04-01 14:12:42 +00:00
Felix Fietkau
58de9a89ad call Build/Clean for clean: in package makefiles
SVN-Revision: 6773
2007-03-31 13:45:50 +00:00
Felix Fietkau
fcf0aa5ab7 make sure tmp/info gets created
SVN-Revision: 6749
2007-03-28 18:26:21 +00:00
Felix Fietkau
447b0f537a add PKG_NAME to prereq-build.mk so that failed checks show a proper prefix instead of just ':'
SVN-Revision: 6747
2007-03-28 18:13:54 +00:00
Felix Fietkau
36b75197e3 detect changes in package/kernel/modules/*.mk when scanning the package metadata
SVN-Revision: 6746
2007-03-28 18:06:33 +00:00
Felix Fietkau
fe42382d1c split CONFIGURE_PATH into CONFIGURE_PATH and CONFIGURE_CMD for better handling of subdirectories with configure
SVN-Revision: 6681
2007-03-24 21:12:26 +00:00
Felix Fietkau
ac75c5015f fix CONFIGURE_PATH and add MAKE_PATH
SVN-Revision: 6680
2007-03-24 21:05:56 +00:00
Felix Fietkau
036a419fe1 use recursive variable expansion for CONFIGURE_*, MAKE_* variables in the package build so that TARGET_*FLAGS changes also apply
SVN-Revision: 6678
2007-03-24 20:54:33 +00:00
Felix Fietkau
35317253e6 trigger a kernel module rebuild when the kernel config changes
SVN-Revision: 6671
2007-03-24 17:05:26 +00:00
Felix Fietkau
ea952312ae move default templates for the kernel build to kernel-defaults.mk (similar to package-defaults.mk)
SVN-Revision: 6664
2007-03-24 13:42:54 +00:00
Felix Fietkau
000393712e make busybox autorebuild on relevant config changes
SVN-Revision: 6651
2007-03-23 19:13:08 +00:00
Felix Fietkau
b04ef81416 some cleanups in the metadata.pl script; allow target profiles to add overrides for menuconfig
SVN-Revision: 6648
2007-03-23 14:48:47 +00:00
Felix Fietkau
04ae63915e fix a small bug in the unpack code
SVN-Revision: 6587
2007-03-16 21:32:59 +00:00
Felix Fietkau
12051a5761 remove some debug code that slipped into the commit
SVN-Revision: 6583
2007-03-16 20:32:32 +00:00
Felix Fietkau
24faf55360 add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places
SVN-Revision: 6582
2007-03-16 20:21:39 +00:00
Felix Fietkau
198a3ae713 re-enable SDK=1 and DEVELOPER=1 overrides for building all packages
SVN-Revision: 6581
2007-03-16 20:20:19 +00:00
Felix Fietkau
1d307eea87 add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
SVN-Revision: 6580
2007-03-16 19:18:55 +00:00
Felix Fietkau
b14f137a2e revert part of [6573] to keep the speedup of metadata scanning
SVN-Revision: 6574
2007-03-16 12:22:11 +00:00
Mike Baker
8dc90ccc11 formatting and trivial cleanup
SVN-Revision: 6573
2007-03-16 06:12:53 +00:00
Felix Fietkau
2c62bddcfe Add an 'Image Configuration' menu to menuconfig Packages can export a list of config options with labels and data types through the metadata. The selected config values will be exported to the target filesystem in /etc/uci-defaults and applied on the first boot.
SVN-Revision: 6572
2007-03-16 03:02:31 +00:00
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