Changeset 9212


Ignore:
Timestamp:
2007-10-09T05:19:07+02:00 (10 years ago)
Author:
nbd
Message:

move grub to package/

Location:
trunk
Files:
2 edited
3 copied
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/package/grub/Makefile

    r9210 r9212  
    2020 
    2121PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/grub-$(PKG_VERSION) 
     22PKG_TARGETS:=bin 
    2223 
    2324include $(INCLUDE_DIR)/package.mk 
     25 
     26define Package/grub 
     27  SECTION:=boot 
     28  DEPENDS:=@TARGET_x86 
     29  CATEGORY:=Boot Loaders 
     30  TITLE:=GRand Unified Bootloader 
     31  URL:=http://www.gnu.org/software/grub/ 
     32endef 
    2433 
    2534ifeq ($(HOST_ARCH),x86_64) 
     
    7180endef 
    7281 
    73 $(eval $(call Build/DefaultTargets)) 
     82$(eval $(call BuildPackage,grub)) 
  • trunk/target/linux/x86/image/Config.in

    r9191 r9212  
    33    depends TARGET_x86 
    44    depends TARGET_ROOTFS_EXT2FS || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS || TARGET_ROOTFS_ISO 
     5        select PACKAGE_grub 
    56    default y 
    67 
  • trunk/target/linux/x86/image/Makefile

    r9191 r9212  
    1515 
    1616ifeq ($(CONFIG_X86_GRUB_IMAGES),y) 
    17   define Build/Compile 
    18         $(MAKE) -C grub compile 
    19   endef 
    20  
    21   define Build/Clean 
    22         $(MAKE) -C grub clean 
    23   endef 
    24  
    2517  define Image/cmdline/squashfs 
    2618    block2mtd.block2mtd=$(ROOTPART),65536,rootfs root=/dev/mtdblock0 rootfstype=squashfs init=/etc/preinit 
Note: See TracChangeset for help on using the changeset viewer.