History log of /openwrt/include/package-defaults.mk
Revision Date Author Comments
# c18a81fd 24-Jan-2016 Jo-Philipp Wich <jow@openwrt.org>

include: group kmod ipk files into a "kernel" subdirectory

This is useful to just use the kmods from an official build while supplying
base packages from a custom feed or the other way around; for just overriding
the kmods with a local repo while using official repos for the rest.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48475 3c298f89-4303-0410-b956-a3cf2f4a3e73


# f13f59d3 22-Jun-2015 Steven Barth <steven@midlink.org>

gcc/musl: rework SSP-support

Make musl provide libssp_nonshared.a and make GCC link it unconditionally
if musl is used. This should be a no-op if SSP is disabled and seems to be
the only reliable way of dealing with SSP over all packages due to the mess
that is linkerflags handling in packages.

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46108 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 506de807 20-Jun-2015 Steven Barth <steven@midlink.org>

package-defaults: remove libssp for musl (redundant)

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46072 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a4a0fa62 29-Mar-2015 Luka Perkov <luka@openwrt.org>

include: remove trailing whitespaces

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45127 3c298f89-4303-0410-b956-a3cf2f4a3e73


# fd0fbff6 21-Mar-2015 John Crispin <blogic@openwrt.org>

package-defaults.mk: set DISABLE_NLS only if not CONFIG_BUILD_NLS

set DISABLE_NLS only if CONFIG_BUILD_NLS NOT set.
like DISABLE_IPV6 which depends on CONFIG_IPV6

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44930 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ec6b4b35 20-Mar-2015 Felix Fietkau <nbd@openwrt.org>

build: add optional dependency on libssp to all non-kernel packages

When enabling SSP_SUPPORT, a lot of packages fail during compile phase
with the following error:

Package X is missing dependencies for the following libraries:
libssp.so.0

This can be solved by adding an optional dependency on libssp to all
those packages, but as there are quite a few packages both in OpenWrt
core and in the package repository, it might make sense to add this
optional dependency to all non-kernel packages, instead of polluting
lots of package dependency lines with it.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44911 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d5f527f3 12-Mar-2015 John Crispin <blogic@openwrt.org>

toolchain: The glorious return of glibc, ver 2.21

It's the eglibc packaging with a bit of spit-polishing. And testing. :-)

[blogic: merged glibc and eglibc into 1 and made eglibc a glibc variant]

Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44701 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3ed27725 05-Oct-2014 Felix Fietkau <nbd@openwrt.org>

build: add support for declaring package CONFLICTS which only affect selecting built-in packages

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42770 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 51b28882 23-Sep-2014 Felix Fietkau <nbd@openwrt.org>

build: allow packages with build variants to explicitly select a default variant

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42654 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 4ddb54c8 15-Sep-2014 John Crispin <blogic@openwrt.org>

include: remove file before overwritting it with replace_script

config.{sub,guess} could be symlinks to a shared common version of
this file (e.g. in staging). So we remove the destination file via
--remove-destination option of cp. This prevents replaceing the
common file that other packages could be build with if running at
the same time.

This fixes a class of errors where config.sub is missing, or
only partially present when running configure because a cp is
currently in progress

This is commonly seen building with a lot of parallel jobs and
on packages that use 'PKG_FIXUP:=autoreconf'

Signed-off-by: Matthew McClintock <mmcclint@qca.qualcomm.com>
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42547 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ca5a47c6 10-Sep-2014 John Crispin <blogic@openwrt.org>

include: add a meta data field for required system user:group

this is in preparation of having services run as !root with
ACL'ed access to ubus.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42469 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 6b7bcb92 21-Mar-2014 Felix Fietkau <nbd@openwrt.org>

build: remove check to nonexistant CONFIG_ENABLE_LOCALE variable and move DISABLE_NLS to package-defaults.mk

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39980 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 31e661be 23-Feb-2014 Felix Fietkau <nbd@openwrt.org>

build: allow packages to declare ABI versions to detect necessary package rebuilds

If a package directly depends on another package that recently changed
its ABI version, it will be cleaned up and rebuilt (assuming quilt is
not used).

This helps with packages that have no stable ABI, e.g. libubox, ubus,
etc.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39720 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 28b1b94a 22-Dec-2012 Felix Fietkau <nbd@openwrt.org>

build: reduce the size of package metadata a bit to keep package list files smaller

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34871 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 00cb42b9 22-Dec-2012 Felix Fietkau <nbd@openwrt.org>

build: remove the default useless MAINTAINER value

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34868 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 7e94d76c 08-Oct-2012 Felix Fietkau <nbd@openwrt.org>

build: allow the package maintainer info to be specified globally for a source package

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33659 3c298f89-4303-0410-b956-a3cf2f4a3e73


# ce44bef3 23-Sep-2012 Felix Fietkau <nbd@openwrt.org>

build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33523 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b48b4365 19-Sep-2012 Jo-Philipp Wich <jow@openwrt.org>

[include] make packages depend on +librt and +libpthread by default if eglibc is in use

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33480 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 63c8fa0b 10-Jun-2012 Felix Fietkau <nbd@openwrt.org>

build: add a dependency on libc to all non-kernel packages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32171 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 12ec2ad9 05-Mar-2012 Felix Fietkau <nbd@openwrt.org>

build: remove redundant call to $(SH_FUNC) (#8042)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30818 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 99dfff5e 01-Mar-2012 Felix Fietkau <nbd@openwrt.org>

build: add TARGET_CXXFLAGS and EXTRA_CXXFLAGS, defaulting to *_CFLAGS via lazy evaluation. this allows adding c++ specific cflags

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30760 3c298f89-4303-0410-b956-a3cf2f4a3e73


# c163347f 02-Jul-2011 Felix Fietkau <nbd@openwrt.org>

add support for hidden packages that get selected/built but do not show up in menuconfig

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27344 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d269a807 05-Apr-2011 Felix Fietkau <nbd@openwrt.org>

add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26491 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 30b73856 01-Oct-2010 Jo-Philipp Wich <jow@openwrt.org>

[include] add support for flagging packages


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23172 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 69c9cad2 12-Sep-2010 Jo-Philipp Wich <jow@openwrt.org>

[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


# 14be6780 18-Aug-2010 Felix Fietkau <nbd@openwrt.org>

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


# 78ae653e 18-Aug-2010 Michael Büsch <mb@bu3sch.de>

Support parallel build of certain packages


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22696 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 91167603 05-Mar-2010 Travis Kemen <thepeople@openwrt.org>

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


# 8075ad2e 10-Nov-2009 Felix Fietkau <nbd@openwrt.org>

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


# b4ce4197 03-Aug-2009 Imre Kaloz <kaloz@openwrt.org>

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


# f56936e0 31-Jul-2009 Florian Fainelli <florian@openwrt.org>

[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


# 85c82eb8 30-Jul-2009 Imre Kaloz <kaloz@openwrt.org>

use board names instead of arch in packages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17063 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 5b6c3b22 30-Jul-2009 Florian Fainelli <florian@openwrt.org>

[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


# e404fd71 25-Jul-2009 Florian Fainelli <florian@openwrt.org>

[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


# 8dc56662 02-Jul-2009 Florian Fainelli <florian@openwrt.org>

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


# 42554ac0 30-May-2009 Ralph Hempel <ralph.hempel@lantiq.com>

[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


# 341b06ab 22-Apr-2009 Nicolas Thill <nico@openwrt.org>

remove 2 old interfering variables, probably missed from [15299]


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15340 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 6937a43f 20-Apr-2009 Felix Fietkau <nbd@openwrt.org>

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


# 937f1820 03-Mar-2009 Felix Fietkau <nbd@openwrt.org>

replace a few unnecessary $(shell) calls

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14739 3c298f89-4303-0410-b956-a3cf2f4a3e73


# e397df6a 23-Feb-2009 Felix Fietkau <nbd@openwrt.org>

initialize the url field for packages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14643 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 1ca982f2 22-Feb-2009 Felix Fietkau <nbd@openwrt.org>

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


# 042d715f 12-Jan-2009 Felix Fietkau <nbd@openwrt.org>

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


# 8a46637d 06-Jan-2009 Felix Fietkau <nbd@openwrt.org>

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


# ca793aef 03-Sep-2008 Felix Fietkau <nbd@openwrt.org>

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


# 18b84c00 05-Aug-2008 Felix Fietkau <nbd@openwrt.org>

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


# 9d9ce452 30-Jul-2008 Felix Fietkau <nbd@openwrt.org>

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


# 33379fc5 26-Dec-2007 Felix Fietkau <nbd@openwrt.org>

add a configurable prefix for ./configure


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9938 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9a7ec16d 22-Dec-2007 Felix Fietkau <nbd@openwrt.org>

add STAGING_DIR_HOST to PKG_CONFIG_PATH


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9850 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 8c3f16c2 13-Oct-2007 John Crispin <blogic@openwrt.org>

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


# 19e38ca2 28-Sep-2007 Felix Fietkau <nbd@openwrt.org>

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


# c5c20dc8 05-Sep-2007 Nicolas Thill <nico@openwrt.org>

fix typo (thanks to jonasg[1] on irc)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8618 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d6114c26 03-Sep-2007 Nicolas Thill <nico@openwrt.org>

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


# cbd55fe6 18-Jul-2007 Felix Fietkau <nbd@openwrt.org>

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


# d442289f 08-Jun-2007 Imre Kaloz <kaloz@openwrt.org>

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


# 414e3ef7 03-Jun-2007 Felix Fietkau <nbd@openwrt.org>

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


# 95f410c3 24-Mar-2007 Felix Fietkau <nbd@openwrt.org>

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


# 4b058739 24-Mar-2007 Felix Fietkau <nbd@openwrt.org>

fix CONFIGURE_PATH and add MAKE_PATH

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6680 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2661709d 24-Mar-2007 Felix Fietkau <nbd@openwrt.org>

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


# 0241b197 15-Mar-2007 Felix Fietkau <nbd@openwrt.org>

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