aboutsummaryrefslogtreecommitdiffstats
path: root/include/scan.mk
Commit message (Collapse)AuthorAgeFilesLines
* build: use different grep strings for scanning package vs target metadataFelix Fietkau2015-03-151-1/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44774 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: propagate override information to .packageinfoJohn Crispin2015-02-091-5/+21
| | | | | | | | | | | | Packages overridden with "./scripts/feeds -f" will show up with an "Override: <original-package-name>" in .packageinfo. This will be useful to create a corresponding option in .config and use this information during the build process. Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: allow openwrt.git packages to be replaced by feedsJohn Crispin2015-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | Currently, replacing a package available in openwrt.git requires modifications in openwrt.git, or requires duplicating the package in a feed but with a different name, which causes all kind of problems related to dependencies (all packages selecting it would have to be modified accordingly to select the new package). With this change, if a package with the same name is present both in feeds/ and package/ folders, the one in feeds/ can override the one in package/, both in the menuconfig and during the build, by passing the "-f" option to "./scripts/feeds install" This mechanism is particularly useful for vendor tree, or in general for application which needs to replace one particular package which exists within openwrt.git by a custom/newer version. Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: revert r44076John Crispin2015-01-221-1/+1
| | | | | | | | the patch causes issues when installing feeds Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: allow openwrt.git packages to be replaced by feedsJohn Crispin2015-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | Currently, replacing a package available in openwrt.git requires modifications in openwrt.git, or requires duplicating the package in a feed but with a different name, which causes all kind of problems related to dependencies (all packages selecting it would have to be modified accordingly to select the new package). With this change, if a package with the same name is present both in feeds/ and package/ folders, the one in feeds/ can override the one in package/, both in the menuconfig and during the build, by passing the "-f" option to "./scripts/feeds install" This mechanism is particularly useful for vendor tree, or in general for application which needs to replace one particular package which exists within openwrt.git by a custom/newer version. Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "build: use ONESHELL to speed up scanning and the toplevel makefile"Felix Fietkau2014-10-221-1/+0
| | | | | | | This seems to cause issues on some build hosts, and it is not that important. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43025 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: use ONESHELL to speed up scanning and the toplevel makefileFelix Fietkau2014-10-221-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43021 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: introduce per feed repository supportJo-Philipp Wich2014-08-051-2/+6
| | | | | | | | | This changeset implements a new menuconfig option to generate separate repositories for each enabled package feed instead of one monolithic one. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: SCAN_DEPS handling (fixes package/kernel/linux metadata change detection)Felix Fietkau2013-07-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37431 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: log package dump failures to logs to avoid forcing user to write ↵Felix Fietkau2011-04-061-1/+6
| | | | | | cryptic commands to figure out what's going on git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* improve error message output of metadata scan - fix newline break and do not ↵Felix Fietkau2009-05-271-2/+2
| | | | | | hide broken makefiles after the first invocation anymore git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avoid using implicit rules during metadata dump to speed up the process even ↵Felix Fietkau2009-03-031-1/+1
| | | | | | more git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14736 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of a shell warning if md5sum is not foundFelix Fietkau2008-09-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12494 3c298f89-4303-0410-b956-a3cf2f4a3e73
* large improvement for parallel builds. works without V=99 now and without ↵Felix Fietkau2008-06-091-1/+1
| | | | | | 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
* fix buildprocess if running as cron job (package info files corrupted due ↵Ralph Hempel2008-01-261-1/+1
| | | | | | missing Source-Makefile statement) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10273 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix the sdkFelix Fietkau2007-12-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9747 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add initial version of a package feeds management scriptFelix Fietkau2007-09-231-10/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* major target cleanup. it is now possible to have subtargets that can ↵Felix Fietkau2007-09-081-2/+2
| | | | | | override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow scan.mk to find python packages introduced in [8639]Nicolas Thill2007-09-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8641 3c298f89-4303-0410-b956-a3cf2f4a3e73
* more build system cleanupFelix Fietkau2007-07-281-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* detect whether the find command supports -L or -followFelix Fietkau2007-07-161-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* find: use -follow instead of -L, some systems don't support -LFelix Fietkau2007-07-161-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* follow symlinks in package scanFelix Fietkau2007-07-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7984 3c298f89-4303-0410-b956-a3cf2f4a3e73
* properly support dependencies on packages that just use Build/DefaultTargetsFelix Fietkau2007-07-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixes for recursive package scanningFelix Fietkau2007-07-151-6/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rewrite of the metadata scanning - cleaner code, faster scanning, recursive ↵Felix Fietkau2007-07-151-33/+43
| | | | | | scanning and better handling of makefile dependencies git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7981 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix target rescan (version kernel changes)Felix Fietkau2007-05-231-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix dependencies for metadata scanningFelix Fietkau2007-04-091-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Tidy up MakefilesMike Baker2007-04-031-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add check for openwrt build system makefiles when scanning for metadataFelix Fietkau2007-04-011-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6793 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make sure tmp/info gets createdFelix Fietkau2007-03-281-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* detect changes in package/kernel/modules/*.mk when scanning the package metadataFelix Fietkau2007-03-281-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6746 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix metadata scan for profile splitFelix Fietkau2007-03-041-1/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Massive speedup in the package/target scanning stepFelix Fietkau2007-02-271-0/+43
- per package metadata files are now cached. - timestamp.pl calls have been replaced with make file dependencies - an extra stamp file ensures that directory listing changes force a rebuild git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6404 3c298f89-4303-0410-b956-a3cf2f4a3e73