The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / tstools / 001-build-get-along-with-buildroot.patch
1 From 44f80bce0914d4d9c5e7486c7cdb521ba637b324 Mon Sep 17 00:00:00 2001
2 From: Tzu-Jung Lee <tjlee@ambarella.com>
3 Date: Fri, 19 Jul 2013 22:45:18 +0800
4 Subject: [PATCH] build: get along with buildroot
5
6 Signed-off-by: Tzu-Jung Lee <tjlee@ambarella.com>
7 ---
8  Makefile | 12 ++++++------
9  1 file changed, 6 insertions(+), 6 deletions(-)
10
11 diff --git a/Makefile b/Makefile
12 index 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 -- 
39 1.8.3.2
40