• 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/dt/dt.mk
Gustavo ZacariasGustavo Zacarias committed 938946a476327 Jan 2016
Raw file
Source viewDiff to previous
 
1
################################################################################
2
#
3
# dt
4
#
5
################################################################################
6
​
7
DT_VERSION = v18.32
8
DT_SITE = http://pkgs.fedoraproject.org/repo/pkgs/dt/$(DT_SOURCE)/3054aeaaba047a1dbe90c2132a382ee2
9
DT_SOURCE = dt-source-$(DT_VERSION).tar.gz
10
DT_STRIP_COMPONENTS = 2
11
DT_LICENSE = ISC-like
12
DT_LICENSE_FILES = LICENSE
13
​
14
DT_CFLAGS = \
15
    -std=c99 \
16
    -DMMAP \
17
    -D__linux__ \
18
    -D_GNU_SOURCE \
19
    -D_FILE_OFFSET_BITS=64 \
20
    -DTHREADS \
21
    -DSCSI
22
​
23
# uClibc doesn't provide POSIX AIO
24
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),)
25
DT_CFLAGS += -DAIO
26
endif
27
​
28
define DT_BUILD_CMDS
29
    $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -f Makefile.linux \
30
        $(TARGET_CONFIGURE_OPTS) \
31
        CFLAGS="$(TARGET_CFLAGS) $(DT_CFLAGS)" \
32
        OS=linux
33
endef
34
​
35
define DT_INSTALL_TARGET_CMDS
36
    $(INSTALL) -D -m 0755 $(@D)/dt $(TARGET_DIR)/usr/bin/dt
37
endef
38
​
39
$(eval $(generic-package))
  • 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.