nico
c3c59f4189
[massive] add support for alternative C libraries (currently only glibc/eglibc)
...
other (related) changes:
- kernel headers are now installed using "make headers_install" on 2.6
- target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu)
- build directory names now contain gcc/libc name/version
- default cpu for x86 is now i486 (required to build glibc/eglibc)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-08 01:49:11 +00:00
nbd
d654a6572b
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
b25e47676f
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
061bed4163
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
nbd
4a0457153b
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
nbd
7ed16efdcd
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
nbd
2f9873da2b
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
nbd
83b31e078f
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
nbd
aa7be8c164
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
nbd
d0a426b8b8
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
agb
e4a2fbfbc4
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
nbd
3031854f72
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
nbd
bb25bc5138
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
nbd
0260315795
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
nbd
0dd83aded7
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
nbd
81a381b30e
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
blogic
3d4a30305e
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
nbd
9875005bf3
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
nbd
fa69ebdbac
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
nbd
52af5699b8
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
blogic
32d35e5428
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
blogic
525838efb5
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
blogic
0c3d7ea64f
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
blogic
04b4c17bf2
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
nbd
5f3aa54122
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
nbd
dda0649ef3
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
nbd
900c05f6e1
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
nbd
640652a244
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
nbd
b26d576fd7
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
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