Felix Fietkau
b070e258c2
add support for build system overlays that alter package build instructions
...
currently unused, will probably be managed by the feeds system later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-31 01:11:25 +00:00
Ralph Hempel
42554ac0fb
[package] add dist and distcheck target (to create new source balls)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 12:01:05 +00:00
Ralph Hempel
3fc6b41df7
[package] add package source path override
...
- use external source tree instead of source ball
- the external package source tree will be included as symlink
- make package/<name>/clean will delete the symlink instead of whole source tree
- usefull in conjunction with external SCM like ClearCase
- package-version-override.mk has to be included before package.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 11:35:13 +00:00
Nicolas Thill
414ea4bc49
add missing bits from [15451]
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 16:02:21 +00:00
Nicolas Thill
07f45e3a7d
introduce a generic PKG_CONFIG_DEPENDS for packages that need to be reconfigured when certain CONFIG options changed, rename PKG_BUILD_DEPEND to PKG_BUILD_DEPENDS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-27 15:53:00 +00:00
Felix Fietkau
3195be7429
clean up automake/pkg-config handling, move separate host/package variable exports to templates, fix automake path for host builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-22 22:05:55 +00:00
Felix Fietkau
6937a43f9b
move pkg config stuff to per-target exports to prevent interference with host builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-20 18:56:57 +00:00
Felix Fietkau
5bdd866100
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Felix Fietkau
fb5f864919
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
Felix Fietkau
353386a643
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
Felix Fietkau
eee4fc3e80
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
Felix Fietkau
3be17f26d5
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
Felix Fietkau
1eb7b2098d
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
Felix Fietkau
eaf4095327
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
Felix Fietkau
506037412e
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
Felix Fietkau
67c9c212e6
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
Felix Fietkau
e12489a3e2
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
Nicolas Thill
3b75e47f8f
[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
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