Commit Graph

31 Commits (c00d5e59f0ebeb7d6caa8418c487c13385a97dcc)

Author SHA1 Message Date
Felix Fietkau 579d54038b 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
SVN-Revision: 18357
2009-11-10 22:00:54 +00:00
Imre Kaloz 671280830d add special handling for the adm5120 target, which uses subtargets for different endianess -- later we should come up with something smarter
SVN-Revision: 17101
2009-08-03 11:24:56 +00:00
Florian Fainelli e5221c1405 revert 17050 this was not the right way to fix this
SVN-Revision: 17075
2009-08-01 12:10:22 +00:00
Imre Kaloz 9711e6ad55 use board names instead of arch in packages
SVN-Revision: 17063
2009-07-31 12:15:51 +00:00
Florian Fainelli 04fc02ba10 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)
SVN-Revision: 17050
2009-07-30 13:05:51 +00:00
Florian Fainelli 11e1304ca0 globally define IPv6 support or not in OpenWrt, just like for largefiles, ipv6 disabled by default (#4857)
SVN-Revision: 16983
2009-07-25 21:45:51 +00:00
Florian Fainelli d413a9639e Fix configure script path when not at the root of $(PKG_BUILD_DIR), thanks Daniel Dickinson (#5255)
SVN-Revision: 16656
2009-07-02 13:08:08 +00:00
Ralph Hempel 6f29703625 add dist and distcheck target (to create new source balls)
SVN-Revision: 16230
2009-05-31 12:01:05 +00:00
Nicolas Thill c73f8dfbe0 remove 2 old interfering variables, probably missed from [15299]
SVN-Revision: 15340
2009-04-22 22:08:42 +00:00
Felix Fietkau 729e0fa4d1 move pkg config stuff to per-target exports to prevent interference with host builds
SVN-Revision: 15299
2009-04-20 18:56:57 +00:00
Felix Fietkau 431c9267b4 replace a few unnecessary $(shell) calls
SVN-Revision: 14739
2009-03-03 14:55:53 +00:00
Felix Fietkau f0bc868861 initialize the url field for packages
SVN-Revision: 14643
2009-02-23 18:51:12 +00:00
Felix Fietkau bc6fcb0067 eliminate redundancy by creating the quilt_used stampfile in the right place
SVN-Revision: 14620
2009-02-22 17:50:31 +00:00
Felix Fietkau 7502d4bd61 add support for build-only packages which do not appear in menuconfig
SVN-Revision: 14009
2009-01-13 02:02:56 +00:00
Felix Fietkau 238304231d make config.{guess,sub} writable before attempting to overwrite them (many packages have broken permissions in the tarball)
SVN-Revision: 13887
2009-01-06 15:08:27 +00:00
Felix Fietkau 3b937f85e8 add default Build/Install template, which is activated by setting PKG_INSTALL=1
SVN-Revision: 12512
2008-09-03 13:19:50 +00:00
Felix Fietkau 06e754b1f7 replace config.guess and config.sub properly, even if they are in a subdirectory
SVN-Revision: 12148
2008-08-05 18:02:54 +00:00
Felix Fietkau a2c17f1bc5 export PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR by default (#3376)
SVN-Revision: 12029
2008-07-31 01:33:01 +00:00
Felix Fietkau 713087f64c add a configurable prefix for ./configure
SVN-Revision: 9938
2007-12-27 02:10:50 +00:00
Felix Fietkau f0b363667b add STAGING_DIR_HOST to PKG_CONFIG_PATH
SVN-Revision: 9850
2007-12-23 00:41:01 +00:00
John Crispin 7558f0281f DESCRIPTION:= is obselete, so complain if it is used and use TITLE if no description is set
SVN-Revision: 9307
2007-10-14 04:49:05 +00:00
Felix Fietkau d1933f9761 move a stampfile to make it easier to override the patch template
SVN-Revision: 9062
2007-09-29 03:39:57 +00:00
Nicolas Thill c0033f360c fix typo (thanks to jonasg[1] on irc)
SVN-Revision: 8618
2007-09-05 08:59:44 +00:00
Nicolas Thill 5b4bfbd6d4 move TARGET_* flags from ./include/package-default.mk to ./rules.mk, remove EXTRA_* flags but still use them in configure and make
SVN-Revision: 8592
2007-09-03 09:06:03 +00:00
Felix Fietkau 8e42553971 dynamically enable/disable kernel config options for kmod packages based on build system config
SVN-Revision: 8026
2007-07-18 11:31:01 +00:00
Imre Kaloz 6fb68cb589 use newer config.guess and config.sub for packages then the shipped ones
SVN-Revision: 7532
2007-06-08 10:37:20 +00:00
Felix Fietkau cc690d782c 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').

SVN-Revision: 7471
2007-06-03 06:16:08 +00:00
Felix Fietkau fe42382d1c split CONFIGURE_PATH into CONFIGURE_PATH and CONFIGURE_CMD for better handling of subdirectories with configure
SVN-Revision: 6681
2007-03-24 21:12:26 +00:00
Felix Fietkau ac75c5015f fix CONFIGURE_PATH and add MAKE_PATH
SVN-Revision: 6680
2007-03-24 21:05:56 +00:00
Felix Fietkau 036a419fe1 use recursive variable expansion for CONFIGURE_*, MAKE_* variables in the package build so that TARGET_*FLAGS changes also apply
SVN-Revision: 6678
2007-03-24 20:54:33 +00:00
Felix Fietkau 7b1a36cab4 split package.mk and clean up build system code (based on patch by mbm), makes the code more readable and speeds up metadata scan
SVN-Revision: 6571
2007-03-15 23:57:18 +00:00