Commit Graph

36 Commits (be779b017265b133cb5cab0b5d2895ed2cdba46e)

Author SHA1 Message Date
Jo-Philipp Wich 30b7385634 [include] add support for flagging packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 03:21:33 +00:00
Jo-Philipp Wich 69c9cad2a1 [buildroot] Implement an ARCH_PACKAGES variable which defaults to BOARD but can be overridden on a per-subtarget basis.
This is intended for targets such as adm5120 and malta which support both big and little endianess and will replace
the target specific exceptions in package-defaults and Image Builder.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 20:49:54 +00:00
Felix Fietkau 14be678094 speed up the build system by including include/shell.sh on shell commands only where necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 12:49:37 +00:00
Michael Büsch 78ae653e01 Support parallel build of certain packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 13:57:58 +00:00
Travis Kemen 91167603c8 The attached patch replaces $(1) install by $(if $(1), $(1),
install) in the definition, in order to be able to specify an install
rule, which is not always called install (example:
trunk/package/ncurses/Makefile has rules called install.libs and install.data).

Then its possible to do this in ncurses Makefile:

define Build/Install
       $(call Build/Install/Default, install.libs install.data)
endef

This patch does not affect anything else, as if no parameter is given,
it will use install as before.

-Raphael

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:19:48 +00:00
Felix Fietkau 8075ad2ef5 build system: introduce a new feature called build variants.
it allows building a package multiple times in one pass with different build dirs,
based on the same build settings.
replaces templating hacks like the one used in the hostapd package

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-10 22:00:54 +00:00
Imre Kaloz b4ce4197c7 add special handling for the adm5120 target, which uses subtargets for different endianess -- later we should come up with something smarter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-03 11:24:56 +00:00
Florian Fainelli f56936e023 [package] revert 17050 this was not the right way to fix this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-01 12:10:22 +00:00
Imre Kaloz 85c82eb8a0 use board names instead of arch in packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-31 12:15:51 +00:00
Florian Fainelli 5b6c3b2225 [package] move the global ipv6 option to the very bottom of the options passed to configure scripts, so that we can still override it in package makefiles (#5592, #5586)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-30 13:05:51 +00:00
Florian Fainelli e404fd711b [package] globally define IPv6 support or not in OpenWrt, just like for largefiles, ipv6 disabled by default (#4857)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-25 21:45:51 +00:00
Florian Fainelli 8dc56662d4 Fix configure script path when not at the root of $(PKG_BUILD_DIR), thanks Daniel Dickinson (#5255)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-02 13:08:08 +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
Nicolas Thill 341b06ab29 remove 2 old interfering variables, probably missed from [15299]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-22 22:08:42 +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 937f1820f2 replace a few unnecessary $(shell) calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:55:53 +00:00
Felix Fietkau e397df6ad1 initialize the url field for packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 18:51:12 +00:00
Felix Fietkau 1ca982f27c eliminate redundancy by creating the quilt_used stampfile in the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 17:50:31 +00:00
Felix Fietkau 042d715f2b add support for build-only packages which do not appear in menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 02:02:56 +00:00
Felix Fietkau 8a46637dfd make config.{guess,sub} writable before attempting to overwrite them (many packages have broken permissions in the tarball)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-06 15:08:27 +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 18b84c0062 replace config.guess and config.sub properly, even if they are in a subdirectory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 18:02:54 +00:00
Felix Fietkau 9d9ce452b3 export PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR by default (#3376)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 01:33:01 +00:00
Felix Fietkau 33379fc5bc add a configurable prefix for ./configure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 02:10:50 +00:00
Felix Fietkau 9a7ec16d78 add STAGING_DIR_HOST to PKG_CONFIG_PATH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-23 00:41:01 +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
Felix Fietkau 19e38ca2d4 move a stampfile to make it easier to override the patch template
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 03:39:57 +00:00
Nicolas Thill c5c20dc878 fix typo (thanks to jonasg[1] on irc)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-05 08:59:44 +00:00
Nicolas Thill d6114c2600 move TARGET_* flags from ./include/package-default.mk to ./rules.mk, remove EXTRA_* flags but still use them in configure and make
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 09:06:03 +00:00
Felix Fietkau cbd55fe6d7 dynamically enable/disable kernel config options for kmod packages based on build system config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 11:31:01 +00:00
Imre Kaloz d442289f60 use newer config.guess and config.sub for packages then the shipped ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 10:37:20 +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 95f410c30b split CONFIGURE_PATH into CONFIGURE_PATH and CONFIGURE_CMD for better handling of subdirectories with configure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 21:12:26 +00:00
Felix Fietkau 4b058739e5 fix CONFIGURE_PATH and add MAKE_PATH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 21:05:56 +00:00
Felix Fietkau 2661709d13 use recursive variable expansion for CONFIGURE_*, MAKE_* variables in the package build so that TARGET_*FLAGS changes also apply
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 20:54:33 +00:00
Felix Fietkau 0241b19768 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