aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/Makefile.arm
Commit message (Collapse)AuthorAgeFilesLines
* Since for clang 3.5.0 ARM EHABI is now the default, the -mllvmDimitry Andric2014-11-261-2/+4
| | | | | | | | -arm-enable-ehabi flag is no longer supported. Use it only for older versions of clang. Notes: svn path=/projects/clang350-import/; revision=275151
* Only build the ARM tranpoline when KERNPHYSADDR is defined as it isAndrew Turner2014-10-191-0/+2
| | | | | | | | | otherwise unneeded in armv6 kernels. MFC after: 1 week Notes: svn path=/head/; revision=273287
* Disable generating vfp and NEON instructions in the arm kernel.Andrew Turner2014-10-061-0/+3
| | | | Notes: svn path=/head/; revision=272605
* Remove MK_ARM_EABI, the armeb issues have been fixed. The code to supportAndrew Turner2014-10-011-5/+1
| | | | | | | | | | | | | | | the oabi is still in the tree, but it is expected this will be removed as developers work on surrounding code. With this commit the ARM EABI is the only supported supported ABI by FreeBSD on ARMa 32-bit processors. X-MFC after: never Relnotes: yes Differential Revision: https://reviews.freebsd.org/D876 Notes: svn path=/head/; revision=272350
* Add support for FDT and !FDT configs on Atmel, though FDT isn'tWarner Losh2014-08-141-1/+1
| | | | | | | | working yet. Bump rev on arm Makefile since files.at91 uses new '!' operator. Notes: svn path=/head/; revision=269957
* Add the dts include directory to the -I list when doing arm builds.Ian Lepore2014-08-081-1/+1
| | | | Notes: svn path=/head/; revision=269697
* Reviewed by: impSimon J. Gerraty2014-07-261-1/+1
| | | | | | | | LDFLAGS is supposed to be given to CC not LD. Define _LDFLAGS as a filtered version of LDFLAGS safe to give to LD Notes: svn path=/head/; revision=269114
* Simplify clang ifdefs in the kernel a bit. IntroduceWarner Losh2014-05-101-8/+5
| | | | | | | | | CFLAGS.${COMPILER_TYPE} to mirror userland. Be explicit about which compiler needs something (not clang isn't necessarily gcc in the future). Notes: svn path=/head/; revision=265832
* Put proper ${} around variable expansion. This fixes the build on 9.2Warner Losh2014-04-081-2/+2
| | | | | | | with fmake (which complained). Not sure why bmake didn't complain though... Notes: svn path=/head/; revision=264270
* Test MK_ARM_ABI rather than if WITHOUT_ARM_ABI is defined.Warner Losh2014-04-011-2/+2
| | | | Notes: svn path=/head/; revision=263992
* Remove all traces of support for ARM chips prior to the arm9 series. WeIan Lepore2014-03-091-3/+3
| | | | | | | | | | never actually ran on these chips (other than using SA1 support in an emulator to do the early porting to FreeBSD long long ago). The clutter and complexity of some of this code keeps getting in the way of other maintenance, so it's time to go. Notes: svn path=/head/; revision=262958
* Bump the version of config to the latest (3 year old, so upgradeWarner Losh2014-02-041-3/+1
| | | | | | | | | worries are long past). Also remove redundant MACHINE= declarations and passing MACHINE/MACHINE_ARCH to module builds. That's now done in common code. Notes: svn path=/head/; revision=261492
* Hack: Add explicit depends on bus_if.h and device_if.h to avoid aWarner Losh2014-01-311-0/+3
| | | | | | | chicken and egg problem in some compilation environments. Notes: svn path=/head/; revision=261305
* Fix a braino with r259730: we cannot currently use CFLAGS.gcc orDimitry Andric2014-01-091-4/+8
| | | | | | | | | | | | | CFLAGS.clang in sys/conf/Makefile.arm, since the main kernel build does not use <bsd.sys.mk>. So revert that particular change for now. Pointy hat to: me Noticed by: zbb MFC after: 3 days X-MFC-With: r259730 Notes: svn path=/head/; revision=260494
* To avoid having to explicitly test COMPILER_TYPE for settingDimitry Andric2013-12-221-8/+4
| | | | | | | | | | | | | | | | | | clang-specific or gcc-specific flags, introduce the following new variables for use in Makefiles: CFLAGS.clang CFLAGS.gcc CXXFLAGS.clang CXXFLAGS.gcc In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for the right compiler. MFC after: 1 week Notes: svn path=/head/; revision=259730
* Add missing ARMv6 CPU functions to ARM MakefileZbigniew Bodek2013-10-291-1/+2
| | | | | | | | | | Will fix RPI-B kernel build failure since it adds missing armv6_idcache_wbinv_all which was previously taken from cpufunc_asm_pj4b.S. Reviewed by: gber Notes: svn path=/head/; revision=257332
* 2 years, 10 months, 22 days after the projects/arm_eabi branch was createdAndrew Turner2013-07-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | make the ARM EABI the default ABI on arm, armeb, armv6 and armv6eb. This is intended to be the default ABI from now on with the old ABI to be retired. Because of this all users are strongly suggested to upgrade to the ARM EABI. As the two ABIs are incompatible it is unlikely upgrading in place will work. Users should perform a full backup and either use an external machine to upgrade, or install to an alternative location on their media. They should also reinstall all ports or packages when these are available. The only known issues are: - pkg incorrectly detects the ABI. This is fixed upstream, and will a patch will be made to the port. - GDB can have issues with executables built with clang. __FreeBSD_version has been bumped. Notes: svn path=/head/; revision=253396
* The -mno-apcs-frame argument is unavaliable on clang, also ignore it there.Andrew Turner2013-03-171-1/+1
| | | | Notes: svn path=/head/; revision=248400
* The compiler argument -mno-apcs-frame has no meaning when using EABI as weAndrew Turner2013-03-161-0/+2
| | | | | | | will use aapcs frames, not apcs frames. Notes: svn path=/head/; revision=248365
* Fix the indentation for a few commands that were missed or incorrectlyAndrew Turner2013-03-161-3/+3
| | | | | | | indented in r248362. Notes: svn path=/head/; revision=248363
* Adjust the indentation of the trampoline compilation to make the commandsAndrew Turner2013-03-161-19/+18
| | | | | | | easier to follow. Notes: svn path=/head/; revision=248362
* - Clang doesn't understand the -mno-thumb-interwork. Only use it with gcc.Andrew Turner2013-03-101-0/+6
| | | | | | | | | - We need to add "-mllvm -arm-enable-ehabi" to clangs CFLAGS when generating the unwind tables to tell it to add the required directives to the assembly it generates. Notes: svn path=/head/; revision=248126
* Don't build the kernel with Thumb interworking as we don't support Thumb.Andrew Turner2013-01-231-0/+2
| | | | Notes: svn path=/head/; revision=245838
* When DDB is enabled and we are building for the ARM EABI include the unwindAndrew Turner2013-01-191-0/+2
| | | | | | | tables in the kernel. Notes: svn path=/head/; revision=245675
* Fix LINT build for arm: NOTES defines LDFLAGS by way of a make optionMarcel Moolenaar2012-11-291-1/+1
| | | | | | | | | | | but LDFLAGS is not (yet) passed on to the linker (via SYSTEM_LD et al). Do so now. As such, any kernel configuration can now define linker flags by setting LDFLAGS as normal and not have to revert to hacks like setting DEBUG for flags that do not relate to debugging (see sys/powerpc/conf/MPC85XX). Notes: svn path=/head/; revision=243664
* The tramp stuff isn't dependent on DDB, so always add these to theWarner Losh2012-11-231-2/+0
| | | | | | | CLEANFILES list. Notes: svn path=/head/; revision=243463
* Remove duplication and centralize testing of various config(8)ed features.David E. O'Brien2012-09-121-2/+0
| | | | Notes: svn path=/head/; revision=240402
* Not all Pmake derived makes quietly tolerate assignment from shell commandsDavid E. O'Brien2012-09-121-1/+1
| | | | | | | | | | with no output. Add "echo" at the end these shell commands whose output is assigned to a variable's value to ensure there is some output. Submitted by: John Van Horne <jvanhorne@juniper.net> Notes: svn path=/head/; revision=240401
* Get rid of ARM_BIG_ENDIAN for good:Oleksandr Tymoshenko2012-08-211-11/+0
| | | | | | | | - remove leftovers in Makefile.arm - Let ld use default output format instead of providing one in ldscript Notes: svn path=/head/; revision=239547
* Merging projects/armv6, part 1Oleksandr Tymoshenko2012-08-151-1/+3
| | | | | | | | | | | | Cummulative patch of changes that are not vendor-specific: - ARMv6 and ARMv7 architecture support - ARM SMP support - VFP/Neon support - ARM Generic Interrupt Controller driver - Simplification of startup code for all platforms Notes: svn path=/head/; revision=239268
* Force overwrite of gz file, to make NO_CLEAN builds work.Warner Losh2012-07-151-1/+1
| | | | Notes: svn path=/head/; revision=238464
* Add -ffreestanding to the command line, so taht inflate.c compiles and linkOlivier Houchard2011-06-151-1/+2
| | | | | | | | | | properly with llvm. PR: arm/156771 Submitted by: Damjan Marion <damjan dot marion at gmail DOT com> Notes: svn path=/head/; revision=223116
* Convert Marvell ARM platforms to FDT convention.Rafal Jaworowski2010-06-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The following systems are involved: - DB-88F5182 - DB-88F5281 - DB-88F6281 - DB-78100 - SheevaPlug This overhaul covers the following major changes: - All integrated peripherals drivers for Marvell ARM SoC, which are currently in the FreeBSD source tree are reworked and adjusted so they derive config data out of the device tree blob (instead of hard coded / tabelarized values). - Since the common FDT infrastrucutre (fdtbus, simplebus) is used we say good by to obio / mbus drivers and numerous hard-coded config data. Note that world needs to be built WITH_FDT for the affected platforms. Reviewed by: imp Sponsored by: The FreeBSD Foundation. Notes: svn path=/head/; revision=209131
* Add support for Cavium Econa CNS11XX ARM boards. These boards wereRui Paulo2010-01-041-1/+1
| | | | | | | | | | | | | previously know by StarSemi STR9104. Tested by the submitter on an Emprex NSD-100 board. Submitted by: Yohanes Nugroho <yohanes at gmail.com> Reviewed by: freebsd-arm, stas Obtained from: //depot/projects/str91xx/... Notes: svn path=/head/; revision=201468
* Rename Marvell ARM CPU specific file according to r186933.Rafal Jaworowski2009-01-091-1/+1
| | | | Notes: svn path=/head/; revision=186934
* enable use of modules but disable them by adding MODULES_OVERRIDE=""Sam Leffler2008-11-301-3/+2
| | | | | | | | | | in each config file until we can sort out issues in the modules tree Reviewed by: imp MFC after: 1 month Notes: svn path=/head/; revision=185478
* Introduce basic support for Marvell families of system-on-chip ARM devices:Rafal Jaworowski2008-10-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Orion - 88F5181 - 88F5182 - 88F5281 * Kirkwood - 88F6281 * Discovery - MV78100 The above families of SOCs are built around CPU cores compliant with ARMv5TE instruction set architecture definition. They share a number of integrated peripherals. This commit brings support for the following basic elements: * GPIO * Interrupt controller * L1, L2 cache * Timers, watchdog, RTC * TWSI (I2C) * UART Other peripherals drivers will be introduced separately. Reviewed by: imp, marcel, stass (Thanks guys!) Obtained from: Marvell, Semihalf Notes: svn path=/head/; revision=183840
* We need -I$S to compile the elf trampoline.Olivier Houchard2008-08-041-5/+7
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=181294
* If you build a compiler with TARGET_BIG_ENDIAN, and then try to buildWarner Losh2008-04-041-0/+4
| | | | | | | | a little endian kernel, things break. Be explicit about the endian choice by setting it in the little endian case as well. Notes: svn path=/head/; revision=177923
* Make kernel.tramp build properly on ARM9E.Rafal Jaworowski2008-04-041-1/+1
| | | | | | | | Reviewed by: imp Approved by: cognet (mentor) Notes: svn path=/head/; revision=177916
* Always build kernel.tramp. This should be helpful for a lot ofWarner Losh2008-04-031-0/+2
| | | | | | | people, as well making sure it doesn't break. Notes: svn path=/head/; revision=177895
* Introduce a standalone shell script for embedding MFS image.Rafal Jaworowski2008-02-051-0/+4
| | | | | | | | | | | | This allows to fix a problem with ARM kernel.bin not having the MFS image embedded: it is objcopied from the kernel.noheader temporary ELF file, which was not subject to embedding the MFS image previously. Reviewed by: imp Approved by: cognet (mentor) Notes: svn path=/head/; revision=175984
* Bring in two bandaids to get the elf trampoline to work again, until I findOlivier Houchard2007-07-271-10/+14
| | | | | | | | | | | | | a proper solution. - Add a dummy entry point which just calls the C entry points, and try to make sure it's the first code in the binary. - Copy a bit more than func_end to try to copy the whole load_kernel() function. gcc4 puts code behind the func_end symbol. Approved by: re (blanket) Notes: svn path=/head/; revision=171619
* Revert config(8) version bump. It brings major pain for people working onWojciech A. Koszek2007-05-161-1/+1
| | | | | | | | | | | | | different versions of FreeBSD source tree. Old config(8) can now be used unless you want to use INCLUDE_CONFIG_FILE option. Approved by: imp Reviewed by: imp Notes: svn path=/head/; revision=169612
* Bump config(8) version and build requirement for config(8) to 600006. ThisWojciech A. Koszek2007-05-131-1/+1
| | | | | | | | | | | | | is caused by my latest changes to config(8). You're supposed to install new config(8) in order to prevent yourself from seeing a warning about old version of that tool. You should configure the kernel with a new config(8) then. Oked by: rwatson, cognet (mentor) Notes: svn path=/head/; revision=169515
* Only use -mno-apcs-frame if DDB is not in the kernel, as it prevent theOlivier Houchard2006-07-241-1/+4
| | | | | | | | | backtraces from working. MFC After: 3 days Notes: svn path=/head/; revision=160629
* Add -EB to ${LD} too if we're making a big endian kernel, not anything inOlivier Houchard2006-07-181-0/+1
| | | | | | | kernel makefiles uses SYSTEM_LD. Notes: svn path=/head/; revision=160479
* Make sure the stack is properly aligned.Olivier Houchard2006-06-181-3/+4
| | | | | | | Enable the MMU when relocating as well, and use write-through cache. Notes: svn path=/head/; revision=159758
* MFp4:Olivier Houchard2006-06-121-1/+3
| | | | | | | | | | - Try hard to calculate a safe sp, so that the stack doesn't get smashed while uncompressing or relocating the kernel. - Bring in code needed to calculate the cacheline size etc, needed for arm9_idcache_wbinv_all. Notes: svn path=/head/; revision=159557
* To avoid problems, invalidate the data cache and disable the MMU onceOlivier Houchard2006-05-301-2/+6
| | | | | | | we're done uncompressing the kernel. Notes: svn path=/head/; revision=159084