1From 44f80bce0914d4d9c5e7486c7cdb521ba637b324 Mon Sep 17 00:00:00 2001 2From: Tzu-Jung Lee <tjlee@ambarella.com> 3Date: Fri, 19 Jul 2013 22:45:18 +0800 4Subject: [PATCH] build: get along with buildroot 5 6Signed-off-by: Tzu-Jung Lee <tjlee@ambarella.com> 7--- 8 Makefile | 12 ++++++------ 9 1 file changed, 6 insertions(+), 6 deletions(-) 10 11diff --git a/Makefile b/Makefile 12index 2c3568e..98bb994 100644 13--- a/Makefile 14+++ b/Makefile 15@@ -34,12 +34,6 @@ SHELL = /bin/sh 16 .SUFFIXES: 17 .SUFFIXES: .c .o 18 19-ifdef CROSS_COMPILE 20-CC = $(CROSS_COMPILE)gcc 21-else 22-CC = gcc 23-endif 24- 25 # Use WARN=1 periodically to get too many warnings... 26 ifdef WARN 27 WARNING_FLAGS = -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wconversion -Wmissing-prototypes -Wmissing-declarations -Wunreachable-code -Winline 28@@ -452,3 +446,9 @@ test_lists: $(BINDIR)/test_nal_unit_list $(BINDIR)/test_es_unit_list 29 @echo +++ Testing ES unit lists 30 $(BINDIR)/test_es_unit_list 31 @echo +++ Test succeeded 32+ 33+.PHONY: install 34+install: 35+ @for i in $(PROGS); do \ 36+ cp -f $$i $(DESTDIR)/usr/bin/; \ 37+ done 38-- 391.8.3.2 40 41