summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* sandbox: add gpio support with libftdi1Antony Pavlov2018-01-291-1/+5
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: avoid symbol conflict for {open,read,close}dirAntony Pavlov2018-01-291-1/+3
| | | | | | | This fixes libusb's /dev/bus/usb directory scan. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: Makefile: drop unused SUBARCH stuffAntony Pavlov2016-10-041-5/+0
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: add sample dtsMarc Kleine-Budde2015-03-061-0/+2
| | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* kbuild: add KBUILD_DEFCONFIGMasahiro Yamada2015-01-141-0/+1
| | | | | | | | | | This allows "make ARCH=... defconfig". Fox example, you can type "make defconfig" instead of "make sandbox_defconfig". Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: avoid symbol conflict for fstatJan Luebbe2014-11-071-1/+1
| | | | | | | | | Recently, a fstat function was added to barebox. Redefine it as usual to avoid problems for the sandbox. This fixes loading files into the sandbox. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: only test for sdl libs when sdl is enabledSascha Hauer2012-10-171-2/+5
| | | | | | | | | | | | Otherwise we get the following warning when sdl is not installed on the compile host: Package sdl was not found in the pkg-config search path. Perhaps you should add the directory containing `sdl.pc' to the PKG_CONFIG_PATH environment variable No package 'sdl' found Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: add sdl video supportJean-Christophe PLAGNIOL-VILLARD2012-09-251-3/+3
| | | | | | | | | | | | This will allow speed up the dev on framebuffer. By default the resolution is VGA but this can be changed via cmdline. We use a pthread to Flip the screen every 100ms as we can not detect when barebox update it as barebox simpliy write in a buffer. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: move ELFCLASS detection to asm/elf.hJean-Christophe PLAGNIOL-VILLARD2011-11-221-13/+0
| | | | | | | | | now we can detect the host build from gcc macro and cross compile the sandbox Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Loïc Minier <loic.minier@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'master' into nextSascha Hauer2011-10-231-1/+0
|\
| * Only pass -P to cpp when generating ld scriptsLoïc Minier2011-10-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building sandbox with ccache, one would hit warnings such as: warning: 'struct mmsghdr' declared inside parameter list on random files; a way to reproduce this issue is to build a simple file doing just: #include <sys/socket.h> int main(void) { return 0; } gcc -Wall -P -c -o foo foo.c But actually the -P flag is only useful when generating non-C files, such as linker scripts in the case of barebox. Removing the -P flag from all the gcc invocations, except when generating .lds files makes the warning go away. It turns out that this is what linux/scripts/Makefile.build also does nowadays. Signed-off-by: Loïc Minier <loic.minier@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | sandbox: simplify linker scriptJean-Christophe PLAGNIOL-VILLARD2011-10-231-7/+1
| | | | | | | | | | | | | | | | | | let the linker to provide the basic linker script just insert the commands and initcalls before the .rodata section Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | sandbox: move __SANDBOX__ to MakefileJean-Christophe PLAGNIOL-VILLARD2011-10-231-1/+1
|/ | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* move boards to arch/<architecure>/boardsJean-Christophe PLAGNIOL-VILLARD2010-07-231-4/+6
| | | | | | | | | | | | this will allow each arch to handle the boards more simply and depending on there need the env var BOARD will refer to the current board dirent for sandbox as we have only one board the board dirent is arch/sandbox/board Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-151-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | This has been done with the following script: find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \ -e 's/u2boot/barebox/g' \ -e 's/U2Boot/barebox/g' \ -e 's/U-boot V2/barebox/g' \ -e 's/u-boot v2/barebox/g' \ -e 's/U-Boot V2/barebox/g' \ -e 's/U-Boot-v2/barebox/g' \ -e 's/U_BOOT/BAREBOX/g' \ -e 's/UBOOT/BAREBOX/g' \ -e 's/uboot/barebox/g' \ -e 's/u-boot/barebox/g' \ -e 's/u_boot/barebox/g' \ -e 's/U-Boot/barebox/g' \ -e 's/U-boot/barebox/g' \ -e 's/U-BOOT/barebox/g' find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \ xargs -0 -r rename 's/u[-_]?boot/barebox/' It needs some manual fixup following in the next patch Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [SANDBOX] Move include/asm-sandbox/arch-* to arch/sandbox/*/include/machJean-Christophe PLAGNIOL-VILLARD2009-10-221-19/+7
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* sandbox: use libc ioctl for os partSascha Hauer2009-10-121-1/+2
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* sandbox: Fix generation of linker scriptSascha Hauer2009-01-211-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Sandbox: Fix make systemSascha Hauer2008-09-301-1/+1
| | | | | | | | | | | | | | | Sandbox compilation failed with: gcc -Wp,-MD,arch/sandbox/lib/.tap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.1/include -I/usr/include -Iinclude -P -Wall -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(tap)" -D"KBUILD_MODNAME=KBUILD_STR(tap)" -c -o arch/sandbox/lib/tap.o arch/sandbox/lib/tap.c In file included from /usr/include/bits/socket.h:32, from /usr/include/sys/socket.h:36, from arch/sandbox/lib/tap.c:29: /usr/include/limits.h:125:26: error: limits.h: No such file or directory /usr/include/limits.h uses the next_include directive This was because of the -nostdinc Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix typo introduced with commit 9e6ee5e79516f5af5366bd95fab801a692728373Sascha Hauer2008-06-241-1/+1
|
* [sandbox] export ELF_CLASS for sandboxSascha Hauer2008-06-031-1/+5
|
* [kbuild] move -pipe from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] remove -Wall from architecture Makefiles. It's alreadySascha Hauer2008-06-031-1/+1
| | | | in toplevel CFLAGS
* [kbuild] move -nostdinc from architecture Makefiles to toplevelSascha Hauer2008-06-031-2/+1
| | | | Makefile
* [kbuild] move -ffreestanding from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] move -fno-builtin from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] move -Os flag from architecture Makefiles to toplevelSascha Hauer2008-06-031-1/+1
| | | | Makefile
* [kbuild] change architecture Makefiles not to overwriteSascha Hauer2008-06-031-1/+1
| | | | | CFLAGS, instead append them to the existing CFLAGS. Also, remove all double CFLAGS
* [general] Move include/configs/* to board/*/config.hSascha Hauer2008-04-071-1/+1
|
* add globbing supportSascha Hauer2008-03-091-1/+2
|
* remove -isystem with empty argumentMarc Kleine-Budde2007-11-291-3/+1
| | | | | | | This patch removes the "-isystem $(gccincdir)" from the arch/*/Makefile because gccindir is empty. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [sandbox] add ELF_{ARCH,FORMAT} for powerpcMarc Kleine-Budde2007-11-291-0/+4
| | | | | | This patch adds the needed ELF_{ARCH,FORMAT} for the sandbox on powerpc Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* don't against link libgccMarc Kleine-Budde2007-11-281-3/+1
| | | | | | We don't want to link against libgcc. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* Revert "add linker script for sandbox"Marc Kleine-Budde2007-11-091-1/+0
| | | | This reverts commit 175e8438df25835c497025ebece6f5ccd5766b9d.
* Merge branch 'master' of ssh://rsc@octopus/home/git/projects/u-boot-v2Robert Schwebel2007-11-081-0/+1
|\
| * added lds-y for sandboxMarc Kleine-Budde2007-10-311-0/+1
| | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* | add linker script for sandboxRobert Schwebel (Laptop)2007-10-311-0/+1
|/
* rename linux target to sandboxSascha Hauer2007-07-121-11/+11
|
* arch/linux -> arch/sandboxSascha Hauer2007-07-121-0/+73