We had switched to Kbuild.
We do not need old build scripts any more.
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
rules.mk | 47 -
scripts/Makefile.build.tmp | 127
Before this commit, makefiles under tools/ directory
were implemented with their own way.
This commit refactors them by using "hostprogs-y" variable.
Several C sources have been added to wrap other C sources
to simplify Makefile.
For example, tools/crc32.c includes lib/crc32.c
Signed-off-by: Mas
This commit changes the top Makefile to handle various targets
nicely.
Make targets are divided into four categories:
- mixed-targets
We can call a configuration target and build targets
at one command line like follows:
$ make _config u-boot
They are handled one by one.
-
For out-of-tree build
- Check if the source tree is clean
- Create a Makefile in the output directory
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- Newly added
Makefile | 63 +--
1 f
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
Makefile | 2 +-
nand_spl/board/amcc/acadia/Makefile | 8
nand_spl/board/amcc/bamboo/Makefile | 8
nand_spl/board/amcc/can
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
scripts/Kbuild.include | 278 +
1 file changed, 278 insertions(+)
create mode 100644 scripts/Kbuild.include
diff --git a/scripts/Kbuild.include b/scri
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
Makefile | 5 +
examples/Makefile| 9 +
examples/api/Makefile| 4
examples/standalone/Makefile | 4
4 files changed, 10 insertions(+), 12
This commit adjusts some files to use Kbuild.include.
- Use cc-option defined in Kbuild.include
(Delete cc-option in config.mk)
- Use cc-version defined in
(Delete cc-version in config.mk)
- Move binutils-version and dtc-version to Kbuild.include
by analogy to cc-version
This comm
This commit merges commonly-used header include paths
to UBOOTINCLUDE and NOSTDINC_FLAGS variables, which are placed
at the top Makefile.
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
Makefile | 14 +-
config.mk |
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
Makefile | 20 +---
config.mk | 19 +--
2 files changed, 18 insertions(+), 21 deletions(-)
diff --git a/Makefile b/Makefile
index 1523f12..18bcbab 100644
--- a/Makefi
This commit changes the location of include directives
of board configuration files.
The purpose of this change is:
- Slim down $(TOPDIR)/config.mk
- Prevent $(TOPDIR)/Makefile from including the same
configuration file twice
- Do not include include/config.mk multiple times
because ARC
This commit refactors cleaning targets such as
clean, clobber, mrpropper, distclean
with scripts/Makefile.clean.
By using scripts/Makefile.clean, we can recursively descend
into subdirectories and delete generated files there.
We do not need add a big list of generated files
to the "clean" target
Some build scripts including scripts/Makefile.build
will be imported from Linux Kernel in the next commit.
We need to adjust them for U-Boot in the following commits.
To make it easier for reviewers to track the modification,
this commit renames scripts/Makefile.build to
scripts/Makefile.build.tmp
This commit moves some flags which are used
under examples/ directory only.
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
config.mk| 8
examples/api/Makefile| 4
examples/standalone/Makefile | 4
3
$(MTD_VERSION) is used in tools/env/Makefile
If you specify a variable at a command line like:
$ make MTD_VERSION=old env
or specify it thru an envrionment variable like:
$ export MTD_VERSION=old
$ make env
it is inherited to the sub-make too.
We do not need to pass it from the top Makefile
Ignore generated files by Kbuild such as .*.cmd, *.order, etc.
Besides above,
- Ignore *.s files
We do not need to ignore with file name, asm-offsets.s
- Do not ignore *.rej (for quilt)
- Ignore backup files, \#*#
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Without this workaround, you will see a lot of ".*.su" files
at the top directory after building with a compiler
which supports "-fstack-usage" option.
Signed-off-by: Masahiro Yamada
---
Changes in v4:
- Newly added
Changes in v3: None
Changes in v2: None
scripts/Kbuild.include | 4 +++-
1
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
Makefile | 5 +
examples/api/Makefile| 21 +---
examples/standalone/Makefile | 46 ++--
scripts/Makefile.build
We had switched to Kbuild, so we do not need to
delete sandburst board files at every build.
U-Boot conventional build system did not check the
update of command line option, -DBUILDUSER.
Kbuild can handle it nicely and re-builds object files
when command line options are changed.
(The file ".*.c
BFD_ROOT_DIR is used only in tools/gdb/Makefile
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
config.mk | 23 ---
tools/gdb/Makefile | 21 +
2 files changed, 21 insertions(+), 23 deletions(-)
dif
This commit fixes two problems:
[1] We could not do board configuration and "make all"
in one command line.
For example, the following did not work as we expect:
$ make sandbox_config all
Configuring for sandbox board...
make: Nothing to be done for `all'.
[2] mixed-target build did no
We switched to Kbuild style makefiles at v2014.01-rc1 release.
With that modification, we can write makefiles simpler.
But it is NOT real Kbuild. We need more progress.
As the next step, this series imports (+ adjusts) build scripts
from Linux Kernel under scripts/ directory.
By applying this ser
We can get Kbuild-ish log style like this:
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
We do not need XECHO any more.
And also change checkstack target like Linux Kernel.
Signed-off-by: Masahiro Yamada
---
Changes in v4:
- Change checkstack target
Changes in v3: None
Cha
This commit imports build scripts from Linux Kernel v3.12
as they are.
I know they include some trailing spaces
but I keep intentionally them untouched.
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
scripts/Makefile.build | 479 ++
Before this commit, "make tidy" did
"make clean" + delete "*.depend*" files.
But, we do not have "*.depend*" files any more,
which means "make tidy" is the same as "make clean".
This commit removes the redandant target "tidy".
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v
Hi Marczak,
On Thu, 09 Jan 2014 12:23:04 +0100
Przemyslaw Marczak wrote:
> This patch set includes changes required to:
> - properly use of all gpios
> - introduce common file for Samsung misc code
> - keys support (PWR, VOL:UP,DOWN)
> - console support on LCD
> - 16bpp logo support
> - introduc
Hi, sharma:
Thanks for your answer!
How to get u-boot source code which includes arch/arm/cpu/armv8 dir?
I used "git clone git://www.denx.de/git/u-boot.git" to download source
code.
But not find arm64 patch code in the downloaded source code.
Best wishes,
__
On Fri, 10 Jan 2014 15:45:52 +0900
Hyungwon Hwang wrote:
Hi Marczak,
> Hi Marczak,
>
> On Thu, 09 Jan 2014 12:23:04 +0100
> Przemyslaw Marczak wrote:
>
> > This patch set includes changes required to:
> > - properly use of all gpios
> > - introduce common file for Samsung misc code
> > - keys
Hi, Marczak
On Thu, 09 Jan 2014 12:23:10 +0100
Przemyslaw Marczak wrote:
> This is big size patch. Please follow the link:
>
> http://www.denx.de/wiki/pub/U-Boot/TooBigPatches/0006-lib-tizen-change-Tizen-logo-with-the-new-one.patch
>
I tested it on M0 board, and the image shows center-aligned
The upper 4 data signals of esdhc are shared with spi flash.
So detect if the upper 4 pins are assigned to esdhc before
enable sdhc 8 bit width.
Signed-off-by: Haijun Zhang
---
changes for V3:
- Define quirk in board specific file instead of code in driver
changes for V2:
- No cha
Card detection pin is ineffective on T4240QDS Rev1.0.
There are two cards can be connected to board.
1. eMMC card is built-in board, can not be removed. so
For eMMC card it is always there.
2. Card detecting pin is functional for SDHC card in Rev2.0.
This workaround force sdhc driver scan and i
On BSC9131, BSC9132, P1010 : For High Capacity SD Cards (> 2 GBytes), the
32-bit source address specifies the memory address in block address
format. Block length is fixed to 512 bytes as per the SD High Capacity
specification. So we need to convert the block address format
to byte address format t
> -Original Message-
> From: tiger...@viatech.com.cn [mailto:tiger...@viatech.com.cn]
> Sent: Friday, January 10, 2014 12:25 PM
> To: Sharma Bhupesh-B45370; u-boot@lists.denx.de
> Cc: feng...@phytium.com.cn
> Subject: Re: [U-boot] Uboot's plan for ARMv8
>
> Hi, sharma:
> Thanks for your an
101 - 133 of 133 matches
Mail list logo