The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/arch/score/Makefile

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 #
    2 # arch/score/Makefile
    3 #
    4 # This file is subject to the terms and conditions of the GNU General Public
    5 # License.  See the file "COPYING" in the main directory of this archive
    6 # for more details.
    7 #
    8 
    9 KBUILD_DEFCONFIG := spct6600_defconfig
   10 CROSS_COMPILE := score-linux-
   11 
   12 #
   13 # CPU-dependent compiler/assembler options for optimization.
   14 #
   15 cflags-y += -G0 -pipe -mel -mnhwloop -D__SCOREEL__ \
   16         -D__linux__ -ffunction-sections -ffreestanding
   17 
   18 #
   19 # Board-dependent options and extra files
   20 #
   21 KBUILD_AFLAGS += $(cflags-y)
   22 KBUILD_CFLAGS += $(cflags-y)
   23 KBUILD_AFLAGS_MODULE += -mlong-calls
   24 KBUILD_CFLAGS_MODULE += -mlong-calls
   25 LDFLAGS += --oformat elf32-littlescore
   26 LDFLAGS_vmlinux += -G0 -static -nostdlib
   27 
   28 head-y := arch/score/kernel/head.o
   29 libs-y += arch/score/lib/
   30 core-y += arch/score/kernel/ arch/score/mm/
   31 
   32 boot := arch/score/boot
   33 
   34 vmlinux.bin: vmlinux
   35         $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
   36 
   37 archclean:
   38         @$(MAKE) $(clean)=$(boot)
   39 
   40 define archhelp
   41         echo '  vmlinux.bin          - Raw binary boot image'
   42         echo
   43         echo '  These will be default as appropriate for a configured platform.'
   44 endef

Cache object: ada88beaa2fe83c3f4c922278e4c4bf2


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.