comparison Makefile @ 3:0bb1d3d292b9

Fix CFLAGS
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Sun, 22 Oct 2017 18:38:31 +0900
parents c450faca55f4
children 502c87a30f68
comparison
equal deleted inserted replaced
2:a930f7f3a74f 3:0bb1d3d292b9
5 # A makefile script for generation of raspberry pi kernel images. 5 # A makefile script for generation of raspberry pi kernel images.
6 ############################################################################### 6 ###############################################################################
7 7
8 # The toolchain to use. arm-none-eabi works, but there does exist 8 # The toolchain to use. arm-none-eabi works, but there does exist
9 # arm-bcm2708-linux-gnueabi. 9 # arm-bcm2708-linux-gnueabi.
10 #ARMGNU ?= arm-none-eabi 10 ARMGNU ?= arm-none-eabi
11 11
12 # The intermediate directory for compiled object files. 12 # The intermediate directory for compiled object files.
13 BUILD = build/ 13 BUILD = build/
14 14
15 # The directory in which source files are stored. 15 # The directory in which source files are stored.
28 LINKER = kernel.ld 28 LINKER = kernel.ld
29 29
30 # The names of libraries to use. 30 # The names of libraries to use.
31 LIBRARIES := csud 31 LIBRARIES := csud
32 32
33 #CFLAGS := -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -MD -ggdb -Werror -fno-omit-frame-pointer -nostdinc -nostdlib -fno-stack-protector 33 #CFLAGS := -fno-pic -static -Wno-packed-bitfield-compat -fno-builtin -fno-strict-aliasing -fshort-wchar -O2 -Wall -MD -ggdb -Werror -fno-omit-frame-pointer -fno-stack-protector -Wa,-march=armv6 -Wa,-mcpu=arm1176jzf-s -I include
34 CFLAGS := -fno-pic -static -Wno-packed-bitfield-compat -fno-builtin -fno-strict-aliasing -fshort-wchar -O2 -Wall -MD -ggdb -Werror -fno-omit-frame-pointer -fno-stack-protector -Wa,-march=armv6 -Wa,-mcpu=arm1176jzf-s -I include 34 CFLAGS := -mfloat-abi=hard -fno-pic -static -Wno-packed-bitfield-compat -fno-builtin -fno-strict-aliasing -fshort-wchar -O2 -Wall -MD -ggdb -fno-omit-frame-pointer -fno-stack-protector -Wa,-march=armv6 -Wa,-mcpu=arm1176jzf-s -I include
35 35
36 CC := gcc 36 CC := gcc
37 37
38 # The names of all object files that must be generated. Deduced from the 38 # The names of all object files that must be generated. Deduced from the
39 # assembly code files in source. 39 # assembly code files in source.