Commit Graph

36 Commits (f7178a8d09cc2f9e163d3a54ac4304ef90cc4aa5)

Author SHA1 Message Date
Hamish Guthrie a81ef914e0 licensing: Add licensing metadata to many packages
Two new variables are introduces to many packages, namely PKG_LICENSE and
PKG_LICENSE_FILES - there may be more than one license applied to packages,
and these are listed in the PKG_LICENSE variable and separated by spaces.
All relevant license files are also added to the PKG_LICENSE_FILES variable,
also space separated.

The licensing metadata is put into the bin/<platform>/packages/Packages file
for later parsing. A script for that is on it's way!


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-19 15:34:28 +00:00
John Crispin 665becd550 [kernel] scanning kernel packages for targets
Any modifications in target/linux/*/modules.mk would not come into effect for
subsequent "make menuconfig" unless we delete ./tmp.

Signed-off-by: kalyan <kalyanatejaswi@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-23 09:37:50 +00:00
Jo-Philipp Wich 63b45c1a5d include: calculate md5sum over sorted kernel config symbol list and incorperate it into the kernel metapackage version, make kmods depend on this specific version.
The aim of this change is to invalidate kmods which are built against a different kernel config on the opkg metadata level. Manual copying and insmod of custom 
*.ko files, e.g. for development purpose, is still possible.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-08 15:23:11 +00:00
Jonas Gorski 5113b208dc package/kernel: Fix AddDepends/SetDepends calls with make 3.82
The module definitions depend on 001-depends.mk being the first included,
but make 3.82 does not sort the results of wildcards anymore, so do an
explicit sort of the includes.

Found by Philip Prindeville, thanks!

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-14 23:36:42 +00:00
Jo-Philipp Wich e3662b4c0d [package] kernel: flag as "hold", this is inherited by all kmods as well and will prevent opkg on the target from upgrading them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 03:22:56 +00:00
Nicolas Thill 536c79a48f package/kernel: load target specific modules .mk files after generic ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 11:41:35 +00:00
Jo-Philipp Wich f799ec128c [package] cleanup Makefiles (#7212)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-23 11:27:29 +00:00
Felix Fietkau 7a2dab6d92 now that $(BOARD) is part of the opkg ARCH, there's no reason to keep the board name around in kmod-* package versions anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-06 17:26:37 +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
Nicolas Thill c1da8b3304 don't fail if there are no modules.mk under ./target/linux/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 20:45:40 +00:00
Nicolas Thill 1c6a4018a3 package/kernel fixes:
- remove dup netfilter.mk includes
 - always define NF_KMOD so that proper KCONFIG entries are emitted for netfilter modules at DUMP time


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-08 11:16:07 +00:00
Nicolas Thill 2180fa92a1 move package description to a separate definition, remove it when DESCRIPTION=TITLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 08:34:51 +00:00
Nicolas Thill 69ffd95c71 use a default VERSION field for kmod packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-02 16:39:27 +00:00
Felix Fietkau 3879c61bb6 revert [8415], seems to be causing problems for the kernel build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-16 13:44:57 +00:00
Felix Fietkau 7feb8409ef always include kernel config for kernel packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-15 23:33:37 +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
Felix Fietkau 90351f3587 rewrite of the metadata scanning - cleaner code, faster scanning, recursive scanning and better handling of makefile dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-15 22:51:12 +00:00
Felix Fietkau 201d366141 minor cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 12:40:20 +00:00
Felix Fietkau c6eb15e481 Improved autorebuild for kernel related stuff.
- make modules_install in the kernel tree is no longer called
- make modules is called on every target/compile run
- kmod packages pull the kernel modules directly out of the kernel tree and have proper file depends on them



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 12:28:38 +00:00
Felix Fietkau f169bffb5f trigger a kernel module rebuild when the kernel config changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 17:05:26 +00:00
Felix Fietkau 40b8169b05 only enable in-tree kmod-* packages by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-18 15:46:09 +00:00
Felix Fietkau 4151b9e688 finally kill KMOD_template - removes a big chunk of legacy build code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-19 04:35:29 +00:00
Felix Fietkau fc8658be6d make kernel module packaging code reusable and use it in madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-17 16:13:10 +00:00
Felix Fietkau 941781e458 allow platform support directories to add and modify kernel module packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-17 13:28:44 +00:00
Felix Fietkau 3d98538f1c split modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-17 13:18:01 +00:00
Nicolas Thill ecb6c4b599 new (last?) attempt at standardizing Makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-24 20:49:31 +00:00
Felix Fietkau 2b9bdfa6ea fix LINUX_RELEASE and use it for the kmod-* build
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-27 13:08:53 +00:00
Felix Fietkau 3e15768475 fix kernel module dependency problems
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-23 21:05:42 +00:00
Felix Fietkau f38b7b6558 fix kernel postinst scripts
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-30 17:06:02 +00:00
Felix Fietkau 3e2ef62e35 don't try to create kmod packages that contain no files
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-25 14:44:54 +00:00
Felix Fietkau d219e885a5 bugfixes for the kernel module packaging
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-23 14:21:26 +00:00
Felix Fietkau 82c9eedccf port over the netfilter module packaging to the new system and fix iptables dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-22 12:33:28 +00:00
Felix Fietkau 2fc006565b fix kernel module defaults
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-21 22:51:02 +00:00
Felix Fietkau edd5b112c5 move the cryptoapi kmod to package/kernel
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-18 16:35:03 +00:00
Felix Fietkau 5a4df085be allow multiple kernel config dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-18 16:22:01 +00:00
Felix Fietkau f525b8b028 move some of the kernel module packaging to package/kernel/
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-18 16:17:19 +00:00