• 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/fis/fis.mk
Will NewtonWill Newton committed 422ce6536b602 Sep 2009
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
#############################################################
2
#
3
# fis
4
#
5
#############################################################
6
FIS_SOURCE:=fis.c
7
FIS_SITE:=http://svn.chezphil.org/utils/trunk
8
FIS_CAT:=$(ZCAT)
9
FIS_DIR:=$(BUILD_DIR)/fis
10
FIS_BINARY:=fis
11
FIS_TARGET_BINARY:=sbin/fis
12
​
13
$(DL_DIR)/$(FIS_SOURCE):
14
     $(call DOWNLOAD,$(FIS_SITE),$(FIS_SOURCE))
15
​
16
fis-source: $(DL_DIR)/$(FIS_SOURCE)
17
​
18
$(FIS_DIR)/.unpacked: $(DL_DIR)/$(FIS_SOURCE)
19
    mkdir -p $(FIS_DIR)
20
    cp -f $(DL_DIR)/$(FIS_SOURCE) $(FIS_DIR)
21
    toolchain/patch-kernel.sh $(FIS_DIR) package/fis \*.patch
22
    touch $@
23
​
24
$(FIS_DIR)/$(FIS_BINARY): $(FIS_DIR)/.unpacked
25
    $(MAKE) -C $(FIS_DIR) \
26
        CC="$(TARGET_CC)" \
27
        CFLAGS="$(TARGET_CFLAGS) -std=c99" \
28
        LDFLAGS="$(TARGET_LDFLAGS)"
29
​
30
$(TARGET_DIR)/$(FIS_TARGET_BINARY): $(FIS_DIR)/$(FIS_BINARY)
31
    rm -f $(TARGET_DIR)/$(FIS_TARGET_BINARY)
32
    $(INSTALL) -D -m 0755 $(FIS_DIR)/$(FIS_BINARY) $(TARGET_DIR)/$(FIS_TARGET_BINARY)
33
    $(STRIPCMD) $(STRIP_STRIP_ALL) $@
34
​
35
fis: $(TARGET_DIR)/$(FIS_TARGET_BINARY)
36
​
37
fis-clean:
38
    -$(MAKE) -C $(FIS_DIR) clean
39
    rm -f $(TARGET_DIR)/$(FIS_TARGET_BINARY)
40
​
41
fis-dirclean:
42
    rm -rf $(FIS_DIR)
43
​
44
#############################################################
45
#
46
# Toplevel Makefile options
47
#
48
#############################################################
49
ifeq ($(BR2_PACKAGE_FIS),y)
50
TARGETS+=fis
51
endif
  • 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.