History log of /openwrt/include/scan.mk
Revision Date Author Comments
# a79981fe 10-Jan-2016 Felix Fietkau <nbd@openwrt.org>

build: ignore the linux package in the sdk only for generating package data, not for dependencies

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

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


# 089a9af7 08-Jan-2016 Felix Fietkau <nbd@openwrt.org>

build: do not allow the SDK to reconfigure built-in kernel modules

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

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


# f8d7a53d 14-Jun-2015 Felix Fietkau <nbd@openwrt.org>

include/scan.mk: Add -a argument to the grep to treat all Makefiles as a 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>

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


# d2c8d763 15-Mar-2015 Felix Fietkau <nbd@openwrt.org>

build: use different grep strings for scanning package vs target metadata

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

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


# 95a718f8 08-Feb-2015 John Crispin <blogic@openwrt.org>

build: propagate override information to .packageinfo

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


# 045c40fb 08-Feb-2015 John Crispin <blogic@openwrt.org>

build: allow openwrt.git packages to be replaced by feeds

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


# 6b66328e 22-Jan-2015 John Crispin <blogic@openwrt.org>

build: revert r44076

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


# 7fdb8680 22-Jan-2015 John Crispin <blogic@openwrt.org>

build: allow openwrt.git packages to be replaced by feeds

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


# f618c2fc 22-Oct-2014 Felix Fietkau <nbd@openwrt.org>

Revert "build: use ONESHELL to speed up scanning and the toplevel makefile"

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


# a7a8f77c 22-Oct-2014 Felix Fietkau <nbd@openwrt.org>

build: use ONESHELL to speed up scanning and the toplevel makefile

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

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


# fdb795c3 05-Aug-2014 Jo-Philipp Wich <jow@openwrt.org>

build: introduce per feed repository support

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


# 9ac080fd 19-Jul-2013 Felix Fietkau <nbd@openwrt.org>

build: SCAN_DEPS handling (fixes package/kernel/linux metadata change detection)

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

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


# 81120132 06-Apr-2011 Felix Fietkau <nbd@openwrt.org>

build: log package dump failures to logs to avoid forcing user to write cryptic commands to figure out what's going on

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


# 6aed8813 26-May-2009 Felix Fietkau <nbd@openwrt.org>

improve error message output of metadata scan - fix newline break and do not hide broken makefiles after the first invocation anymore

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


# 285b5931 03-Mar-2009 Felix Fietkau <nbd@openwrt.org>

avoid using implicit rules during metadata dump to speed up the process even more

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


# a3b41b51 02-Sep-2008 Felix Fietkau <nbd@openwrt.org>

get rid of a shell warning if md5sum is not found

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


# f4e7bdac 09-Jun-2008 Felix Fietkau <nbd@openwrt.org>

large improvement for parallel builds. works without V=99 now and without 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


# 61d68d2e 25-Jan-2008 Ralph Hempel <ralph.hempel@lantiq.com>

fix buildprocess if running as cron job (package info files corrupted due missing Source-Makefile statement)



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


# b85354ab 13-Dec-2007 Felix Fietkau <nbd@openwrt.org>

fix the sdk


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


# a2f0b509 22-Sep-2007 Felix Fietkau <nbd@openwrt.org>

add initial version of a package feeds management script

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


# 6bcd07af 08-Sep-2007 Felix Fietkau <nbd@openwrt.org>

major target cleanup. it is now possible to have subtargets that can 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


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

allow scan.mk to find python packages introduced in [8639]


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


# 5a344daf 28-Jul-2007 Felix Fietkau <nbd@openwrt.org>

more build system cleanup

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


# ac6c9d2b 16-Jul-2007 Felix Fietkau <nbd@openwrt.org>

detect whether the find command supports -L or -follow

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


# d3daf210 16-Jul-2007 Felix Fietkau <nbd@openwrt.org>

find: use -follow instead of -L, some systems don't support -L

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


# 4d93ce80 15-Jul-2007 Felix Fietkau <nbd@openwrt.org>

follow symlinks in package scan

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


# 4463126a 15-Jul-2007 Felix Fietkau <nbd@openwrt.org>

properly support dependencies on packages that just use Build/DefaultTargets

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


# ec15f6a3 15-Jul-2007 Felix Fietkau <nbd@openwrt.org>

fixes for recursive package scanning

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


# 90351f35 15-Jul-2007 Felix Fietkau <nbd@openwrt.org>

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


# 4826a4be 23-May-2007 Felix Fietkau <nbd@openwrt.org>

fix target rescan (version kernel changes)

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


# 2163478a 08-Apr-2007 Felix Fietkau <nbd@openwrt.org>

fix dependencies for metadata scanning

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


# 0f8b8ec0 03-Apr-2007 Mike Baker <mbm@openwrt.org>

Tidy up Makefiles


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


# 25ecbc23 01-Apr-2007 Felix Fietkau <nbd@openwrt.org>

add check for openwrt build system makefiles when scanning for metadata

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


# e2c67bf4 28-Mar-2007 Felix Fietkau <nbd@openwrt.org>

make sure tmp/info gets created

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


# f0a18048 28-Mar-2007 Felix Fietkau <nbd@openwrt.org>

detect changes in package/kernel/modules/*.mk when scanning the package metadata

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


# 0be7d2a8 04-Mar-2007 Felix Fietkau <nbd@openwrt.org>

fix metadata scan for profile split

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


# 331a2ee1 27-Feb-2007 Felix Fietkau <nbd@openwrt.org>

Massive speedup in the package/target scanning step
- 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