• 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/flashbench/flashbench.mk
Rahul BedarkarRahul Bedarkar committed af31c309e7330 Mar 2017
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# flashbench
4
#
5
################################################################################
6
​
7
FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0
8
FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git
9
FLASHBENCH_LICENSE = GPL-2.0
10
FLASHBENCH_LICENSE_FILES = COPYING
11
​
12
FLASHBENCH_CFLAGS = $(TARGET_CFLAGS)
13
​
14
ifeq ($(BR2_microblaze)$(BR2_sh2a),y)
15
# microblaze and sh2a toolchains only provide LLONG_MAX when used with gnu99 dialect
16
FLASHBENCH_CFLAGS += -std=gnu99
17
endif
18
​
19
define FLASHBENCH_BUILD_CMDS
20
    $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
21
        CFLAGS="$(FLASHBENCH_CFLAGS)" \
22
        LDFLAGS="$(TARGET_LDFLAGS) -lrt"
23
endef
24
​
25
define FLASHBENCH_INSTALL_TARGET_CMDS
26
    $(INSTALL) -m 755 -D $(@D)/flashbench $(TARGET_DIR)/usr/bin/flashbench
27
    $(INSTALL) -m 755 -D $(@D)/erase $(TARGET_DIR)/usr/bin/erase
28
endef
29
​
30
$(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.