From 6f3e28c639cebea5969939ff1f5407899fa1f113 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 14 Aug 2009 17:14:01 -0700 Subject: btrfs: beginning of btrfs support Infrastructure for btrfs, plus an import of the btrfs code written for Grub 0.97. It does not yet compile and will need significant changes still. Signed-off-by: H. Peter Anvin --- core/macros.inc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'core/macros.inc') diff --git a/core/macros.inc b/core/macros.inc index e3aedca1..7063c1bf 100644 --- a/core/macros.inc +++ b/core/macros.inc @@ -44,6 +44,25 @@ %else %define IS_EXTLINUX 0 %endif +%ifdef IS_BTRLINUX + %define MY_NAME 'BTRLINUX' +%else + %define IS_BTRLINUX 0 +%endif + +; +; Common attributes +; +%if IS_PXELINUX + %define IS_HD_BASED 0 + %define IS_DISK_BASED 0 +%elif IS_ISOLINUX + %define IS_HD_BASED 0 + %define IS_DISK_BASED 1 +%else + %define IS_HD_BASED 1 + %define IS_DISK_BASED 1 +%endif ; ; Macros similar to res[bwd], but which works in the code segment (after -- cgit v1.2.1