Blame view

buildroot/buildroot-2016.08.1/package/efibootmgr/efibootmgr.mk 809 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  ################################################################################
  #
  # efibootmgr
  #
  ################################################################################
  
  EFIBOOTMGR_VERSION = efibootmgr-0.12
  EFIBOOTMGR_SITE = $(call github,rhinstaller,efibootmgr,$(EFIBOOTMGR_VERSION))
  EFIBOOTMGR_LICENSE = GPLv2+
  EFIBOOTMGR_LICENSE_FILES = COPYING
  EFIBOOTMGR_DEPENDENCIES = efivar
  
  define EFIBOOTMSR_PATCH_HEADER_PATH
  	$(SED) 's,-I/,-I$(STAGING_DIR)/,' $(@D)/Makefile
  endef
  
  EFIBOOTMGR_POST_PATCH_HOOKS += EFIBOOTMSR_PATCH_HEADER_PATH
  
  define EFIBOOTMGR_BUILD_CMDS
  	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D)
  endef
  
  define EFIBOOTMGR_INSTALL_TARGET_CMDS
  	$(INSTALL) -D -m 0755 $(@D)/src/efibootmgr/efibootmgr \
  		$(TARGET_DIR)/usr/bin/efibootmgr
  endef
  
  $(eval $(generic-package))