summaryrefslogtreecommitdiffstats
path: root/boot/at91dataflashboot/at91dataflashboot.mk
Commit message (Collapse)AuthorAgeFilesLines
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove useless arguments from GENTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Improve TARGETS handling for bootloaders and kernelThomas Petazzoni2011-07-111-9/+0
| | | | | | | | | | | | | | | | | | As the kernel and bootloaders do not use the normal BR2_PACKAGE_* Kconfig options, their target name was not automatically added to the global TARGETS variable. Each bootloader .mk and the linux.mk had to add their own target manually to TARGETS, and the package infrastructure was making tests on non-existing Kconfig variables. This commit improves the package infrastructure so that it looks at BR2_PACKAGE_<pkg> for packages, BR2_TARGET_<pkg> for bootloaders and at the special BR2_LINUX_KERNEL for the linux package. This allows to simplify a little bit the bootloaders and linux .mk files. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91dataflashboot: convert to GENTARGETSThomas Petazzoni2011-07-101-29/+14
| | | | | | | | | | | | | | | | This commit converts the at91dataflashboot bootloader build process to GENTARGETS. It also does the following changes : * As the package directory name is at91dataflashboot, the configuration options and make variables are renamed to AT91DATAFLASHBOOT instead of DATAFLASHBOOT. * Since the board selection in Kconfig wasn't used anywhere, get rid of it. at91dataflashboot is only for AT91RM9200 apparently anyway. [Peter: add ':=' -> '=' change] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91dataflashboot: fix patch targetPeter Korsgaard2010-06-141-1/+2
| | | | | | | Touch destination file so the patch target isn't rerun for every invocation. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91dataflashboot: add a patch stepThomas Petazzoni2010-06-121-1/+5
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* at91dataflashboot: various fixesThomas Petazzoni2010-06-121-8/+6
| | | | | | | Fix the URL, fix the directory to which it gets unpacked, fix make target names to be lower-case only. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot: remove references to COPYTOThomas Petazzoni2010-06-101-2/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bootloaders: move bootloader build code to boot/Thomas Petazzoni2010-06-101-0/+44
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>