aboutsummaryrefslogtreecommitdiffstats
path: root/target/sdk/files/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* treewide: add ORIG_PATH variableMichael Pratt2023-06-121-0/+2
| | | | | | | | | | | | | | Add a variable that stores the original value of $PATH in the host system's shell, before Make alters it. This can be useful for when it is necessary to ignore symlinks and programs made by the build system. Define this new variable before all instances of 'export PATH:=' or similar. Signed-off-by: Michael Pratt <mcpratt@pm.me> (cherry picked from commit d87a8aa148ddf93b199a759deb088fff73787025)
* build: fix warnings from grepChris Osgood2022-09-281-1/+1
| | | | | | | Fixes build warnings when using newer versions of grep. Signed-off-by: Chris Osgood <chris_github@functionalfuture.com> Tested-by: Georgi Valkov <gvalkov@gmail.com>
* Makefile: replace head call with grep's -mRosen Penev2022-09-101-1/+1
| | | | | | head is not necessary here. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* treewide: drop use of whichAnsuel Smith2022-01-171-1/+1
| | | | | | | | | | | | | | Ubuntu started to flag which as deprecated and it seems which is not really standard and may vary across Distro. Drop the use of which and use the standard 'command -v' for this simple task. Which is still present in the prereq if some package/script still use which. A utility script called command_all.sh is implemented that will just mimic the output of which -a. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* sdk: fix host menu config targets using ncursesEneas U de Queiroz2020-05-201-0/+1
| | | | | | | | | | | | | | This applies 965f341aa9 ("build: fix host menu config targets using ncurses") to the SDK top Makefile. If there is a pkg-config in the staging dir, it will try to use it instead of the host system's pkg-config; then it will fail to find the ncurses package. Linux's default will be used, which fails in some cases, such as recent Gentoo systems. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com> [fixed From: to match SoB] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* build: get rid of host.mkFelix Fietkau2017-02-261-1/+1
| | | | | | Defined required host related variables in toplevel.mk instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sdk: use prepare target to initialize git snapshotJo-Philipp Wich2015-02-081-11/+1
| | | | | | | | | The new approach is less prone to race conditions and will properly snapshot the symlinks prepared by the prereq-build target. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44330
* sdk: track files with git and use it to implement proper clean targetsJo-Philipp Wich2015-01-101-3/+16
| | | | | | | | | | | | Initialize a Git repository in the SDK and use git reset / git clean to rollback any SDK changes with "make clean" or "make dirclean". This approach is more robust than nuking entire directory trees because some parts of them might have been shipped with the original archive. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43904
* target/sdk: fix parallel build callsFelix Fietkau2014-03-131-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39912
* target/sdk: remove obsolete make calls for the ancient package directory formatFelix Fietkau2014-03-131-3/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39911
* fix the sdkFelix Fietkau2007-12-141-77/+42
| | | | SVN-Revision: 9747
* suppress bug after compiling last package in kamikaze SDK.Felix Fietkau2007-12-091-3/+3
| | | | | | | | This patch corrects https://dev.openwrt.org/ticket/2508 An error was raised when no Config.in file was found in package/ Signed-off-by: Julien Pinon <julien.pinon@luceor.com> SVN-Revision: 9692
* add portability fixes from #1720Felix Fietkau2007-06-301-1/+1
| | | | SVN-Revision: 7791
* fixes for a few build errors on osx without finkFelix Fietkau2007-04-291-1/+1
| | | | SVN-Revision: 7065
* Accidentially broke sdk and imagebuilder in [6857]Mike Baker2007-04-031-6/+6
| | | | SVN-Revision: 6858
* fix the sdkFelix Fietkau2007-03-261-11/+28
| | | | SVN-Revision: 6718
* Add an 'Image Configuration' menu to menuconfig Packages can export a list ↵Felix Fietkau2007-03-161-0/+3
| | | | | | of config options with labels and data types through the metadata. The selected config values will be exported to the target filesystem in /etc/uci-defaults and applied on the first boot. SVN-Revision: 6572
* finally move buildroot-ng to trunkFelix Fietkau2016-03-201-0/+69