• 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/boot/at91bootstrap3/at91bootstrap3.mk
Arnout VandecappelleArnout Vandecappelle committed 41b06126c9221 Mar 2017
Raw file
Source viewDiff to previous
$(error No custom at91bootstrap3 repository version specified. Check your BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION setting)
 
1
################################################################################
2
#
3
# at91bootstrap3
4
#
5
################################################################################
6
​
7
AT91BOOTSTRAP3_VERSION = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_VERSION))
8
​
9
ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT),y)
10
AT91BOOTSTRAP3_SITE = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL))
11
AT91BOOTSTRAP3_SITE_METHOD = git
12
BR_NO_CHECK_HASH_FOR += $(AT91BOOTSTRAP3_SOURCE)
13
else
14
AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VERSION))
15
endif
16
​
17
AT91BOOTSTRAP3_LICENSE = Atmel License
18
AT91BOOTSTRAP3_LICENSE_FILES = main.c
19
​
20
AT91BOOTSTRAP3_INSTALL_IMAGES = YES
21
AT91BOOTSTRAP3_INSTALL_TARGET = NO
22
​
23
AT91BOOTSTRAP3_CUSTOM_PATCH_DIR = \
24
    $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR))
25
​
26
AT91BOOTSTRAP3_MAKE_OPTS = CROSS_COMPILE=$(TARGET_CROSS) DESTDIR=$(BINARIES_DIR)
27
​
28
ifneq ($(AT91BOOTSTRAP3_CUSTOM_PATCH_DIR),)
29
define AT91BOOTSTRAP3_APPLY_CUSTOM_PATCHES
30
    $(APPLY_PATCHES) $(@D) $(AT91BOOTSTRAP3_CUSTOM_PATCH_DIR) \*.patch
31
endef
32
​
33
AT91BOOTSTRAP3_POST_PATCH_HOOKS += AT91BOOTSTRAP3_APPLY_CUSTOM_PATCHES
34
endif
35
​
36
define AT91BOOTSTRAP3_BUILD_CMDS
37
    $(MAKE) $(AT91BOOTSTRAP3_MAKE_OPTS) -C $(@D)
38
endef
39
​
40
define AT91BOOTSTRAP3_INSTALL_IMAGES_CMDS
41
    cp $(@D)/binaries/*.bin $(BINARIES_DIR)
42
endef
43
​
44
ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG),y)
45
AT91BOOTSTRAP3_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG))_defconfig
46
else ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG),y)
47
AT91BOOTSTRAP3_KCONFIG_FILE = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE))
48
endif
49
​
50
AT91BOOTSTRAP3_KCONFIG_EDITORS = menuconfig xconfig gconfig
51
AT91BOOTSTRAP3_KCONFIG_OPTS = $(AT91BOOTSTRAP3_MAKE_OPTS)
52
​
53
# Checks to give errors that the user can understand
54
# Must be before we call to kconfig-package
55
ifeq ($(BR_BUILDING),y)
56
​
57
ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG),y)
58
# We must use the user-supplied kconfig value, because
59
# AT91BOOTSTRAP3_KCONFIG_DEFCONFIG will at least contain
60
# the trailing _defconfig
61
ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG)),)
62
$(error No at91bootstrap3 defconfig name specified, check your BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG setting)
63
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.