1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2025-04-21 12:27:27 +03:00

add a Makefile.firmware for only compile firmware

This commit is contained in:
Xiangfu Liu
2012-02-20 16:35:45 +08:00
parent c71ce8e15d
commit fc85c030a9
4 changed files with 19 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ INFLASH_SRC_PATH = ../src
XBURST_INCLUDE_PATH = ../xburst_include
ifeq ($(CROSS_COMPILE),)
$(error CROSS_COMPILE variable not set, should point to .../mipsel-openwrt-linux-)
$(warning CROSS_COMPILE variable not set, should point to .../mipsel-openwrt-linux-)
endif
CFLAGS := -O2 -fno-unit-at-a-time -fno-zero-initialized-in-bss -mips32 -fno-pic \

View File

@@ -11,7 +11,7 @@
XBURST_INCLUDE_PATH = -I../xburst_include -I../src
ifeq ($(CROSS_COMPILE),)
$(error CROSS_COMPILE variable not set, should point to .../mipsel-openwrt-linux-)
$(warning CROSS_COMPILE variable not set, should point to .../mipsel-openwrt-linux-)
endif
CC = $(CROSS_COMPILE)gcc