Felix Fietkau
3df1f49e84
fix inotify detection for linux 2.4 (fixes glib2 and packages that depend on it on brcm-2.4)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-08 12:07:14 +00:00
Lars-Peter Clausen
58da40d327
oops, previous commit was broken. remove wrong line break.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-11 16:17:28 +00:00
Lars-Peter Clausen
7d6ec4cac2
Add InstallDev/(Pre|Post) hooks.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-11 16:13:14 +00:00
Felix Fietkau
ca793aef55
add default Build/Install template, which is activated by setting PKG_INSTALL=1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-03 13:19:50 +00:00
Felix Fietkau
8a710d2900
add an extra build step Build/Install which allows you to run a make install target after the post-compile hooks have run - will be necessary for some libtool dependent stuff
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 11:03:58 +00:00
Felix Fietkau
4b3284e017
allow packages to forcibly disable the svn/git mirror downloading attempt by setting PKG_SOURCE_MIRROR:=0 ( #3815 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 02:43:33 +00:00
Felix Fietkau
f4e7bdac42
large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 15:38:45 +00:00
Felix Fietkau
03d5cedd44
revert ARM to oabi by default, add some eabi patches for fixing up the toolchain, which unfortunately break eabi userland, but are IMHO a necessary basis for further eabi fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 14:31:31 +00:00
Felix Fietkau
c3bc9db26d
fix packages that use -f on other build system makefiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-03 02:12:46 +00:00
Andy Boyett
dad37b7ac5
expunge find GNUism
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 11:31:27 +00:00
Felix Fietkau
fdd0070a73
add improved autotools fixups
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 02:11:07 +00:00
Felix Fietkau
927c84c100
add $(STAGING_DIR)/host, which contains target specific, but host executable files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 02:10:54 +00:00
Felix Fietkau
c3404552a5
clean up after staging packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-25 02:19:48 +00:00
Felix Fietkau
26ba0523e5
add automatic file tracking and uninstallation for files installed in $(STAGING_DIR) and $(STAGING_DIR_HOST)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-25 01:39:15 +00:00
Felix Fietkau
a080723e97
add a second parameter to InstallDev/UninstallDev for specifying the path to STAGING_DIR_HOST
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-23 00:41:40 +00:00
John Crispin
f97de8bde8
fixed copy paste error
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-17 22:24:40 +00:00
Felix Fietkau
06cdcfdbfd
fix build issues that happen when the staging dir is cleared and the build directories stay
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-20 22:43:38 +00:00
Felix Fietkau
d437171f60
better scope handling for the configured stamp
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-16 03:48:43 +00:00
Felix Fietkau
23a812767b
fix default downloads from svn
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-31 22:37:56 +00:00
John Crispin
5e6504c49f
refreshed madwifi patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-20 19:13:53 +00:00
John Crispin
8c3f16c259
DESCRIPTION:= is obselete, so complain if it is used and use TITLE if no description is set
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 04:49:05 +00:00
John Crispin
0c85c497e4
changed pkg_install_files so one can specify the folder to install from
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-08 19:49:11 +00:00
John Crispin
439fcf5dae
added a function, that packages can call to make installing files/folders much cleaner and easier
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-07 01:55:03 +00:00
Felix Fietkau
8a6e77c006
fixes for refresh/update handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 04:29:11 +00:00
Felix Fietkau
3eda02f389
add a packaging method that installs files into a subdirectory of bin/ instead of an ipkg
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 01:21:56 +00:00
Felix Fietkau
8d169cc962
Refactor downloading code into download.mk
...
Support multiple file downloads
Support svn downloads
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 00:05:48 +00:00
Felix Fietkau
bb6c4aade1
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-28 01:45:11 +00:00
Felix Fietkau
499485004b
some minor fixes, cleanups, package build abstraction
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-28 01:23:56 +00:00
Felix Fietkau
8e682d617b
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
Nicolas Thill
e812d1ff92
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
Nicolas Thill
05a46c716e
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
Nicolas Thill
bddd540035
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
Nicolas Thill
3c9a3fd2cf
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
Felix Fietkau
a96b79a6d4
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 Fainelli
fc677dd11c
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
Nicolas Thill
078205e702
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
Nicolas Thill
eb569b8098
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 Fainelli
e82e17badf
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
Nicolas Thill
4b31b15dfa
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
Nicolas Thill
41da7aa7d9
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
Felix Fietkau
d10a56dc58
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
Felix Fietkau
2033a6135a
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
Felix Fietkau
8ba1f30a17
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
Felix Fietkau
03ffe176e5
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
Felix Fietkau
afb0255875
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
Felix Fietkau
c98411223d
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
Felix Fietkau
414e3ef71a
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
Felix Fietkau
96f8ab2796
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
Felix Fietkau
a8f4a1bdbb
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
Felix Fietkau
2dcaf582db
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