1 # $Id: Makefile 1823 2005-09-01 20:07:42Z nbd $
3 include $(TOPDIR
)/rules.mk
8 PKG_BUILD_DIR
:= $(KDIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
10 $(PKG_BUILD_DIR
)/.prepared
:
11 mkdir
$(PKG_BUILD_DIR
)
12 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
15 $(PKG_BUILD_DIR
)/lzma.elf
: $(PKG_BUILD_DIR
)/.prepared
$(PKG_BUILD_DIR
)/vmlinux.lzma
16 $(MAKE
) -C
$(PKG_BUILD_DIR
) CC
=$(TARGET_CC
) \
17 LD
=$(TARGET_CROSS
)ld CROSS_COMPILE
=$(TARGET_CROSS
) \
19 LOADADDR
=$(LOADADDR
) \
20 KERNEL_ENTRY
=$(KERNEL_ENTRY
) \
21 IMAGE_COPY
=$(IMAGE_COPY
)
24 $(PKG_BUILD_DIR
)/vmlinux.lzma
: $(KDIR
)/vmlinux.lzma
27 $(KDIR
)/loader.elf
: $(PKG_BUILD_DIR
)/lzma.elf
31 prepare
: $(PKG_BUILD_DIR
)/.prepared
32 compile
: $(KDIR
)/loader.elf
36 rm -rf
$(PKG_BUILD_DIR
)
37 rm -f
$(KDIR
)/loader.elf
This page took 0.053159 seconds and 5 git commands to generate.