Changeset 36574


Ignore:
Timestamp:
2013-05-07T14:35:07+02:00 (5 years ago)
Author:
blogic
Message:

grub2: Add sub package grub-editenv for target installation

grub-editenv allows to modify grub2 environment files. Add a new package
that build grub2 for the target and packs up grub-editenv.

Signed-off-by: Helmut Schaa <helmut.schaa@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/boot/grub2/Makefile

    r33781 r36574  
    1717PKG_MD5SUM:=e927540b6eda8b024fb0391eeaa4091c 
    1818 
    19 PKG_HOST_ONLY:=1 
    2019HOST_BUILD_PARALLEL:=1 
    2120PKG_BUILD_DEPENDS:=grub2/host 
     
    3231  DEPENDS:=@TARGET_x86 
    3332endef 
     33 
     34define Package/grub2-editenv 
     35  CATEGORY:=Utilities 
     36  SECTION:=utils 
     37  TITLE:=Grub2 Environment editor 
     38  URL:=http://www.gnu.org/software/grub/ 
     39  DEPENDS:=@TARGET_x86 
     40endef 
     41 
     42define Package/grub2-editenv/description 
     43        Edit grub2 environment files. 
     44endef 
     45 
     46CONFIGURE_ARGS += \ 
     47        --target=$(REAL_GNU_TARGET_NAME) \ 
     48        --disable-werror \ 
     49        --disable-nls 
    3450 
    3551HOST_CONFIGURE_ARGS += \ 
     
    4864endef 
    4965 
     66define Package/grub2-editenv/install 
     67        $(INSTALL_DIR) $(1)/usr/sbin 
     68        $(INSTALL_BIN) $(PKG_BUILD_DIR)/grub-editenv $(1)/usr/sbin/ 
     69endef 
     70 
    5071$(eval $(call HostBuild)) 
    5172$(eval $(call BuildPackage,grub2)) 
     73$(eval $(call BuildPackage,grub2-editenv)) 
Note: See TracChangeset for help on using the changeset viewer.