X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=Makefile;h=13d101ce154780815300aae9cd81e9cfb2d1b900;hp=2271944d330b9c81e36d420693d494dd3809deb6;hb=6166753b1295119cfd8f7a5973b0b523098ef263;hpb=34b04c432bcc86d1654c414f4dcd4cf1fdfec68a diff --git a/Makefile b/Makefile index 2271944..13d101c 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ KERNELADDR = 0x01400000 # Set this to the prefix of your cross-compiler, if you have one. # Else leave it empty. # -CROSS = +CROSS = CC := $(CROSS)gcc LD := $(CROSS)ld @@ -64,11 +64,11 @@ endif # Link flags # -LFLAGS = -Ttext $(TEXTADDR) -Bstatic +LFLAGS = -Ttext $(TEXTADDR) -Bstatic # Libraries # -LLIBS = lib/libext2fs.a +LLIBS = -lext2fs # For compiling userland utils #