summaryrefslogtreecommitdiff
path: root/include/scan.mk
Commit message (Collapse)AuthorAgeFilesLines
* include/scan.mk: Add -a argument to the grep to treat all Makefiles as a ↵Felix Fietkau2015-06-141-1/+1
| | | | | | | | | | | | | | | | text file. Hello, I found out that in some rare cases grep can treat Makefile as a binary file. That happened to me on UTF-8 Gentoo if Makefile contained a character which was from extended ASCII table. Without this patch the output of the grep command in the $(FILELIST) target is not valid (contains line "Binary file matches") and following commands fail to create feed index file. Best Regards, Martin Strbacka Signed-off-by: Martin Strbacka <martin.strbacka@nic.cz> SVN-Revision: 45966
* build: use different grep strings for scanning package vs target metadataFelix Fietkau2015-03-151-1/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44774
* 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> SVN-Revision: 44335
* 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> SVN-Revision: 44334
* build: revert r44076John Crispin2015-01-221-1/+1
| | | | | | | | the patch causes issues when installing feeds Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44078
* 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> SVN-Revision: 44076
* 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. SVN-Revision: 43025
* build: use ONESHELL to speed up scanning and the toplevel makefileFelix Fietkau2014-10-221-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43021
* 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> SVN-Revision: 42002
* 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> SVN-Revision: 37431
* 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 SVN-Revision: 26499
* 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 SVN-Revision: 16101
* avoid using implicit rules during metadata dump to speed up the process even ↵Felix Fietkau2009-03-031-1/+1
| | | | | | more SVN-Revision: 14736
* get rid of a shell warning if md5sum is not foundFelix Fietkau2008-09-021-1/+1
| | | | SVN-Revision: 12494
* 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 SVN-Revision: 11414
* fix buildprocess if running as cron job (package info files corrupted due ↵Ralph Hempel2008-01-261-1/+1
| | | | | | missing Source-Makefile statement) SVN-Revision: 10273
* fix the sdkFelix Fietkau2007-12-141-1/+1
| | | | SVN-Revision: 9747
* add initial version of a package feeds management scriptFelix Fietkau2007-09-231-10/+10
| | | | SVN-Revision: 8973
* 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 SVN-Revision: 8694
* allow scan.mk to find python packages introduced in [8639]Nicolas Thill2007-09-061-1/+1
| | | | SVN-Revision: 8641
* more build system cleanupFelix Fietkau2007-07-281-0/+1
| | | | SVN-Revision: 8206
* detect whether the find command supports -L or -followFelix Fietkau2007-07-161-1/+4
| | | | SVN-Revision: 8002
* find: use -follow instead of -L, some systems don't support -LFelix Fietkau2007-07-161-1/+1
| | | | SVN-Revision: 8000
* follow symlinks in package scanFelix Fietkau2007-07-151-1/+1
| | | | SVN-Revision: 7984
* properly support dependencies on packages that just use Build/DefaultTargetsFelix Fietkau2007-07-151-1/+1
| | | | SVN-Revision: 7983
* fixes for recursive package scanningFelix Fietkau2007-07-151-6/+8
| | | | SVN-Revision: 7982
* rewrite of the metadata scanning - cleaner code, faster scanning, recursive ↵Felix Fietkau2007-07-151-33/+43
| | | | | | scanning and better handling of makefile dependencies SVN-Revision: 7981
* fix target rescan (version kernel changes)Felix Fietkau2007-05-231-2/+2
| | | | SVN-Revision: 7317
* fix dependencies for metadata scanningFelix Fietkau2007-04-091-2/+2
| | | | SVN-Revision: 6910
* Tidy up MakefilesMike Baker2007-04-031-4/+4
| | | | SVN-Revision: 6857
* add check for openwrt build system makefiles when scanning for metadataFelix Fietkau2007-04-011-2/+2
| | | | SVN-Revision: 6793
* make sure tmp/info gets createdFelix Fietkau2007-03-281-1/+0
| | | | SVN-Revision: 6749
* detect changes in package/kernel/modules/*.mk when scanning the package metadataFelix Fietkau2007-03-281-0/+5
| | | | SVN-Revision: 6746
* fix metadata scan for profile splitFelix Fietkau2007-03-041-1/+9
| | | | SVN-Revision: 6515
* Massive speedup in the package/target scanning step - per package metadata ↵Felix Fietkau2007-02-271-0/+43
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 SVN-Revision: 6404