Commit Graph

218 Commits

Author SHA1 Message Date
Felix Fietkau
800ef0f56c some minor fixes, cleanups, package build abstraction
SVN-Revision: 9051
2007-09-28 01:23:56 +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
9f6bd2c07b remove uneeded stuff after python changes in [8639]
SVN-Revision: 8640
2007-09-06 02:57:06 +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
Nicolas Thill
6a6fa5a4ab provide default PKG_BUILD_DIR for packages missing a PKG_VERSION
SVN-Revision: 8583
2007-09-03 07:51:56 +00:00
Nicolas Thill
6a8ab4c0be fix .dep_files exclusion in rdep calls
SVN-Revision: 8567
2007-09-01 05:20:21 +00:00
Felix Fietkau
5f748a6c24 clean up recursive dependency handling, use timestamp.pl again, because it saves memory and execution time
SVN-Revision: 8558
2007-08-30 21:12:39 +00:00
Florian Fainelli
39cbeec7b2 Add a PyMod template for python related modules
SVN-Revision: 8522
2007-08-28 12:41:39 +00:00
Nicolas Thill
4b23cac27b replace xargs commands with $(XARGS)
SVN-Revision: 8478
2007-08-24 12:10:14 +00:00
Nicolas Thill
b4318f53f9 rename libtool macros, revert [8461], make install prefix configurable in libtool_fixup_libdir
SVN-Revision: 8462
2007-08-22 16:15:00 +00:00
Florian Fainelli
c994e41757 Make the libtool fix more dynamic
SVN-Revision: 8461
2007-08-22 09:13:42 +00:00
Nicolas Thill
5440728b06 add 2 helper macros to deal with libtool madness
SVN-Revision: 8457
2007-08-21 20:51:46 +00:00
Nicolas Thill
ba05b57573 rename 'stampfiles' directory to 'stamp'
SVN-Revision: 8455
2007-08-21 18:07:55 +00:00
Felix Fietkau
c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Felix Fietkau
23f0017829 fix a rebuild bug related to quilt
SVN-Revision: 8255
2007-07-30 23:52:17 +00:00
Felix Fietkau
9bf7beae60 speed up the prepare step a bit
SVN-Revision: 8245
2007-07-30 21:47:26 +00:00
Felix Fietkau
d7f2cb1642 next round of cleanup, convert target/ - make -j works now ;)
SVN-Revision: 8242
2007-07-30 21:14:08 +00:00
Felix Fietkau
a7b635f075 more cleanup
SVN-Revision: 8238
2007-07-30 18:39:20 +00:00
Felix Fietkau
ca0140018b only apply recursive deps if DUMP is unset
SVN-Revision: 7572
2007-06-11 17:19:43 +00:00
Felix Fietkau
cc690d782c Add quilt integration for packages
make package/<package>-prepare QUILT=1 will apply all patches using quilt
Autorebuild will be disabled, so that you can edit all patches in the build dir.
When you're done editing patches and everything works, you can call:
make package/<package>-refresh
That will copy the updated patches from quilt into package/<package>/patches,
and remove all old patches.
Before the patches are overwritten, the correct order of the patches is verified
('cat series' is compared against 'sort series').

SVN-Revision: 7471
2007-06-03 06:16:08 +00:00
Felix Fietkau
30b08e0bb4 improve metadata scanning time
SVN-Revision: 7152
2007-05-10 00:23:48 +00:00
Felix Fietkau
56cdcf23a3 fix recursive dependencies on build directories - should lead to fewer spontaneous rebuilds
SVN-Revision: 7151
2007-05-09 22:47:01 +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
c7f299dfe5 add missing dependencies for autorebuild
SVN-Revision: 7022
2007-04-21 09:21:51 +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
449a4f4079 clean up dependency handling for autorebuilds
SVN-Revision: 6956
2007-04-15 18:28:24 +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
000393712e make busybox autorebuild on relevant config changes
SVN-Revision: 6651
2007-03-23 19:13:08 +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
Mike Baker
8dc90ccc11 formatting and trivial cleanup
SVN-Revision: 6573
2007-03-16 06:12:53 +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
f86431a751 add EXTRA_CFLAGS variable support
SVN-Revision: 6459
2007-03-02 16:14:05 +00:00
Felix Fietkau
15a9b61bbd fix kexec-tools build
SVN-Revision: 6428
2007-02-28 13:28:18 +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
064e496875 when building a package, make sure that older versions get removed
SVN-Revision: 6303
2007-02-16 01:00:01 +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
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
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
6de2b723f7 clean up package rebuild messages
SVN-Revision: 6134
2007-01-20 01:35:13 +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
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
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
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
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
Felix Fietkau
a1ac6d1d9f fix collecting package metadata on freebsd
SVN-Revision: 5655
2006-11-27 03:33:19 +00:00
Felix Fietkau
1c9fe80ed4 fix pesky kmod-* ipkg install bug
SVN-Revision: 5639
2006-11-25 19:45:22 +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
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
Nicolas Thill
ed081b6cd3 strip third arg (dir name) to Build/Configure/Default macro
SVN-Revision: 5261
2006-10-22 21:15:55 +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
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
06df13ccc0 change rm to rm -f to avoid bogus make messages
SVN-Revision: 5215
2006-10-18 22:07:32 +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
6779edb40e check for empty patch directories
SVN-Revision: 5086
2006-10-14 15:09:03 +00:00
Felix Fietkau
794114c706 fix mistakes in unpack change
SVN-Revision: 5077
2006-10-14 13:04:50 +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
60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00