• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/tstools/tstools-001-build-get-along-with-buildroot.patch
Tzu-Jung LeeTzu-Jung Lee committed 0e8cbd5902e28 Jul 2013
Raw file
Source viewDiff to previous
 
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
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.