~ubuntu-branches/ubuntu/saucy/loadlin/saucy

« back to all changes in this revision

Viewing changes to initrd/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-07-09 13:34:28 UTC
  • mfrom: (3.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100709133428-kkhuqiqm53saj70m
Tags: 1.6d.nobinary-2ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Make put_hex static to allow building with -fstack-protector.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
CC = gcc
 
2
CFLAGS = -O2  -fomit-frame-pointer
 
3
 
 
4
all: initdisk freeramdisk Makefile
 
5
 
 
6
linuxrc: linuxrc.c
 
7
        $(CC) $(CFLAGS) -static -o linuxrc linuxrc.c
 
8
 
 
9
initdisk: linuxrc Makefile freeramdisk mkdisk
 
10
        ./mkdisk linuxrc
 
11
 
 
12
freeramdisk: freeramdisk.c
 
13
        $(CC) $(CFLAGS) -o freeramdisk freeramdisk.c
 
14
 
 
15
clean:
 
16
        rm -f hello initdisk freeramdisk *~ *.o linuxrc