• 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/dropwatch/0001-build.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 03bab84ca3f102274837e83ee6da4c997a9da018 Mon Sep 17 00:00:00 2001
2
From: Tzu-Jung Lee <tjlee@ambarella.com>
3
Date: Fri, 12 Jul 2013 20:00:57 +0800
4
Subject: [PATCH] build: modify hardcoded gcc to support buildroot
5
​
6
Signed-off-by: Tzu-Jung Lee <tjlee@ambarella.com>
7
​
8
diff --git a/src/Makefile b/src/Makefile
9
index 026b6ba..b87ae9f 100644
10
--- a/src/Makefile
11
+++ b/src/Makefile
12
@@ -5,10 +5,10 @@ OBJFILES := main.o lookup.o\
13
     lookup_bfd.o lookup_kas.o
14
 
15
 dropwatch: $(OBJFILES) 
16
-   gcc -g -o dropwatch $(OBJFILES) $(LDFLAGS) 
17
+   $(CC) -g -o dropwatch $(OBJFILES) $(LDFLAGS)
18
 
19
 %.o: %.c
20
-   gcc $(CFLAGS) $<
21
+   $(CC) $(CFLAGS) $<
22
 clean:
23
    rm -f dropwatch *.o
24
 
25
-- 
26
1.8.3.2
27
​
  • 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.