nbd
8f3f1755d9
fix spontaneous rebuilds caused by make package/<name>/update with quilt
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 16:17:50 +00:00
nico
d1b1cda191
remove uneeded stuff after python changes in [8639]
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 02:57:06 +00:00
nico
0a07865503
tweak Build/Compile/PyMod: add CPPFLAGS, allow caller to override any of the default *FLAGS, indent
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 08:44:08 +00:00
nico
d796938ccc
provide default PKG_BUILD_DIR for packages missing a PKG_VERSION
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 07:51:56 +00:00
nico
ba66ef99cb
fix .dep_files exclusion in rdep calls
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-01 05:20:21 +00:00
nbd
40aa2d8b06
clean up recursive dependency handling, use timestamp.pl again, because it saves memory and execution time
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 21:12:39 +00:00
florian
f25cfeb1fc
Add a PyMod template for python related modules
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-28 12:41:39 +00:00
nico
8fde2f44bb
replace xargs commands with $(XARGS)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-24 12:10:14 +00:00
nico
77927a30ad
rename libtool macros, revert [8461], make install prefix configurable in libtool_fixup_libdir
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-22 16:15:00 +00:00
florian
ad58693506
Make the libtool fix more dynamic
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-22 09:13:42 +00:00
nico
cb11efc85b
add 2 helper macros to deal with libtool madness
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-21 20:51:46 +00:00
nico
b7b479ae3f
rename 'stampfiles' directory to 'stamp'
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-21 18:07:55 +00:00
nbd
12c49b6a6a
build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
nbd
37cc74a265
fix a rebuild bug related to quilt
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 23:52:17 +00:00
nbd
7361989630
speed up the prepare step a bit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:47:26 +00:00
nbd
196ad55bd2
next round of cleanup, convert target/ - make -j works now ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:14:08 +00:00
nbd
6814b92ca9
more cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:39:20 +00:00
nbd
fbbcef7317
only apply recursive deps if DUMP is unset
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-11 17:19:43 +00:00
nbd
140ef637ba
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').
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 06:16:08 +00:00
nbd
7ad24564c4
improve metadata scanning time
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 00:23:48 +00:00
nbd
5c30e74105
fix recursive dependencies on build directories - should lead to fewer spontaneous rebuilds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-09 22:47:01 +00:00
nbd
561a7c4c00
Small bugfix for dependency handling - mostly for base-files and symlinks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-26 18:04:16 +00:00
nbd
385dc63ecb
add missing dependencies for autorebuild
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-21 09:21:51 +00:00
nbd
75fe4b622b
hide some junk in non-verbose mode
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-16 23:51:22 +00:00
nbd
9beaac95cf
clean up dependency handling for autorebuilds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-15 18:28:24 +00:00
nbd
516aadba8b
call Build/Clean for clean: in package makefiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-31 13:45:50 +00:00
nbd
c324196256
make busybox autorebuild on relevant config changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-23 19:13:08 +00:00
nbd
1d3cff733d
add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 19:18:55 +00:00
mbm
752d6b39f1
formatting and trivial cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 06:12:53 +00:00
nbd
11817df895
split package.mk and clean up build system code (based on patch by mbm), makes the code more readable and speeds up metadata scan
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-15 23:57:18 +00:00
nbd
3ae1de2ab5
add EXTRA_CFLAGS variable support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02 16:14:05 +00:00
nbd
5af0df16d0
fix kexec-tools build
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-28 13:28:18 +00:00
nbd
50de7d1654
remove old variables
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 00:20:39 +00:00
nbd
d9e0893520
move CXXFLAGS to MAKE_VARS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 00:13:41 +00:00
nbd
fb2ec8a718
add MAKE_VARS and MAKE_FLAGS similar to CONFIGURE_*
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-26 00:10:52 +00:00
nbd
209b854997
rename PKG_CONFIGURE_PATH to CONFIGURE_PATH for consistency
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 23:55:53 +00:00
nbd
9ac4a336ea
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 23:10:32 +00:00
nbd
cd5ee7a7f4
when building a package, make sure that older versions get removed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-16 01:00:01 +00:00
nico
ae70769b82
disambiguate PKG_CONFIG_PATH, it is used for pkgconfig scripts while PKG_CONFIGURE_PATH is now used for configure scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-01 22:32:03 +00:00
nico
86b833a6c9
cosmetic change: rename PKG_BUILDDEP to PKG_BUILD_DEPENDS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-22 17:33:10 +00:00
nbd
bbe1e39616
pass the CFLAGS through the environment on compile and fix a few packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-21 02:14:50 +00:00
nbd
565304b8ef
clean up package rebuild messages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 01:35:13 +00:00
nbd
7c9240f3e7
include section name in the package metadata
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-14 12:21:39 +00:00
nbd
d7b0d6669f
add maintainer to package metadata
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-13 14:09:48 +00:00
nbd
f8c8554553
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-12 11:09:05 +00:00
nico
a1cf766955
prevent pkg-config from looking for .pc files on the host system
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-17 14:56:27 +00:00
nbd
e7a64765ac
allow package directories to override the path to configure
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 14:36:56 +00:00
nbd
2a6a038b87
build all packages in a package directory by default if DEVELOPER or SDK is set
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-30 21:39:37 +00:00
nbd
bfcaec7ec8
fix collecting package metadata on freebsd
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-27 03:33:19 +00:00
nbd
65c17ca3e2
fix pesky kmod-* ipkg install bug
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-25 19:45:22 +00:00