summaryrefslogtreecommitdiffstats
path: root/debian/grub-extras/ntldr-img/Makefile.core.def
blob: 59dd44b21b3378136945959dae18ad5f84640dc2 (plain)
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
29
30
31
32
AutoGen definitions Makefile.tpl;

image = {
  name = g2hdr;
  i386_pc = contrib/ntldr-img/g2hdr.S;
  i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
  i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x0';
  objcopyflags = '-O binary';
  enable = i386_pc;
};

image = {
  name = grldr;
  i386_pc = contrib/ntldr-img/grldrstart.S;
  i386_pc = contrib/ntldr-img/ntfsbs.S;
  i386_pc_ccasflags = -DGRLDR_MBR;
  i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
  i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7c00';
  objcopyflags = '-O binary';
  enable = i386_pc;
};

image = {
  name = g2ldr;
  i386_pc = contrib/ntldr-img/grldrstart.S;
  i386_pc = contrib/ntldr-img/ntfsbs.S;
  i386_pc_ccasflags = '-DGRLDR_MBR -DBOOTGRUB2';
  i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
  i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7c00';
  objcopyflags = '-O binary';
  enable = i386_pc;
};