summaryrefslogtreecommitdiffstats
path: root/rules/dtc.make
Commit message (Collapse)AuthorAgeFilesLines
* dtc: use the improved ptx/in-path macroMichael Olbrich2018-10-091-1/+3
| | | | | | It can now handle path variables that are not yet exported. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rules: minimize $(shell ..) usage during startupMichael Olbrich2017-05-261-1/+1
| | | | | | | These call take time and make things like 'ptxdist print ...' noticeably slower. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: use ptx/nlMichael Olbrich2017-01-121-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* DTC: fix package descriptionJuergen Borleis2016-05-261-1/+1
| | | | | Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* License management: prevent some packages from listed in the reportJuergen Borleis2015-02-061-0/+1
| | | | | | | | Some of the packages do not forward any data into the target's filesystem, so it makes no sense to add them into the license report. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: move dtb creation to shellMichael Olbrich2014-06-181-41/+11
| | | | | | | The latest changes broke the dependencies and variable resolution again. Fixing this in shell was a lot easier and cleaner. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: Seperate path and filename of dtsMichael Olbrich2014-06-101-1/+9
| | | | | | | | | | | | | | Creating multiple device trees result in a quite long DTC_OFTREE_DTS variable. Splitting it into a path variable and file variable makes it more handy. The path can be a ':' separated list to allow device trees from multiple directories. For backwards compatibility, the path is only used for relative file names. Based on a patch by Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: Fix image creation with kernel dtc from 3.15ptxdist-2014.06.0Bernhard Walle2014-06-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Starting with kernel 3.15, the help output of dtc has changed from | Force - try to produce output even if the input tree has errors | -i | Add a path to search for include files to | Try to produce output even if the input tree has errors | -i, --include <arg> | Add a path to search for include files The new regular expression expresses this change and also works with older kernel versions. Without that change, the image creation of my kernel fails with following error message: | FATAL ERROR: Couldn't open "skeleton.dtsi": No such file or directory Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: improve dependency handlingMichael Olbrich2014-02-271-2/+2
| | | | | | | | | Change the name of the device-tree dependency file, so that "ptxdist clean dtc" removes is. Wrap all dependencies in '$(wildcard )' to avoid broken dependencies in case the kernel source changes. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: fix dtb dependency handlingMichael Olbrich2014-02-181-7/+12
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: move temporary device tree to statedirMichael Olbrich2014-02-111-4/+4
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: abort when trying to generate a dtb without dtsMichael Olbrich2014-02-111-0/+3
| | | | | | | | When generating a dtb, the corresponding dts is taken from the make dependencies. Misconfiguration can result in an empty dts path. In that case print an error and abort. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* rules/dtc: Add include of KERNEL_DIR/includeMarkus Pargmann2014-01-231-0/+1
| | | | | | | | include/dt-bindings may be used by dts files. This directory is missing in the dtc rule. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: use GENERIC_KERNEL_ARCH for cpp, tooMarc Kleine-Budde2013-07-211-2/+2
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* dtc: fix call of dtc, remove stray @Marc Kleine-Budde2013-07-211-1/+1
| | | | | | | | ...which should have been removed in commit 494b44c dtc: use includes conditionally Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* dtc: use includes conditionallyptxdist-2013.07.0Marc Kleine-Budde2013-07-211-2/+4
| | | | | | ...only on dtc which supports it. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* dtc: don't generate linemarkes during preprocess stepMarc Kleine-Budde2013-07-211-0/+1
| | | | | | Older dtcs don't like linemarkers. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* dtc: use GENERIC_KERNEL_ARCH instead of KERNEL_ARCHMarc Kleine-Budde2013-07-211-1/+1
| | | | | | Because KERNEL_ARCH is undefined. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* dtc: pre-process device-trees with cppMichael Olbrich2013-05-311-1/+25
| | | | | | This may be needed for device-trees from Linux v3.10 and later. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: add extra dependency, so that "ptxdist targetinstall kernel" also ↵Michael Olbrich2012-10-241-0/+3
| | | | | | updates the device trees Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: move dtb dependencies to post/Michael Olbrich2012-07-131-4/+0
| | | | | | | Variables in dependencies are resolved immediately, so we have to make sure that they are already fully defined. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* dtc: support multiple device trees in DTC_OFTREE_DTSMichael Olbrich2012-06-121-5/+17
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [dtc] remove obsolete stagesMichael Olbrich2010-10-271-40/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [rules] remove obsolete fixup linesMichael Olbrich2010-07-191-3/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [dtc] Added option to install oftree into /bootCarsten Schlote2010-02-261-0/+19
| | | | | | | | | | | | Added option to create an ipkg file, which installs the oftree file from $(IMGDIR)/oftree to /boot/oftree Useful when booting from CF or other large media with OF machines. The oftree image can now be updated with ipkg update. Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de> [mkl: moved VERSION definition a few lines] Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [dtc] cleanupRobert Schwebel2010-02-021-1/+4
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* [rules] remove obsolete clean target & minor cleanupsMichael Olbrich2010-01-181-10/+0
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* * fix to use more than one extra parameter for dtc by unquoting themWolfram Sang2008-06-131-3/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8517 33e552b5-05e3-0310-8538-816dae2090ed
* * .make files: location of ipkg files has changedRobert Schwebel2008-06-031-1/+1
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8285 33e552b5-05e3-0310-8538-816dae2090ed
* * dtc.make:Marc Kleine-Budde2008-05-091-35/+19
| | | | | | | make a bit simpler git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8149 33e552b5-05e3-0310-8538-816dae2090ed
* * dtc: fixup platform support for dtcRobert Schwebel2008-05-071-4/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8134 33e552b5-05e3-0310-8538-816dae2090ed
* * ptxdist: add platformconfigRobert Schwebel2008-02-121-0/+2
| | | | git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7745 33e552b5-05e3-0310-8538-816dae2090ed
* * powerpc: add device tree compiler and oftree supportSascha Hauer2007-03-011-0/+93
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7025 33e552b5-05e3-0310-8538-816dae2090ed