nbd
c9882fd995
add PKG_HOST_ONLY variable to prevent target builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 02:37:04 +00:00
nbd
e83c4ff721
move host build in packages into a separate namespace: package/<name>/host/<target>
...
this allows dependencies between host and target packages, and saves unnecessary host builds for packages that contain both variants
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 02:20:34 +00:00
nbd
26a4d6751b
fix the target-local CONFIG_SITE export. apparently make can't do more than one of them in a single line
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-13 16:16:54 +00:00
nbd
78fcc87c77
move the CONFIG_SITE export to target-local exports
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-12 13:57:56 +00:00
nbd
12ef7b4712
prepend $(STAGING_DIR)/host to the PATH only in target-package stampfile targets, should fix usage of cross tools with host builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-09 01:15:59 +00:00
nbd
ce4c74d452
fix the host vs native stampfile dependencies to improve quilt support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 23:54:05 +00:00
nbd
3d7b088997
allow concurrent use of host-build.mk and package.mk as well as their templates
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 18:10:05 +00:00
nbd
9dd6200927
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:36:56 +00:00
nbd
928d915afc
add support for an optional staging directory for debug binaries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 03:21:25 +00:00
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