2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # $Id: Makefile 1823 2005-09-01 20:07:42Z nbd $
9 include $(TOPDIR
)/rules.mk
14 PKG_BUILD_DIR
:= $(KDIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 $(PKG_BUILD_DIR
)/.prepared
:
17 mkdir
$(PKG_BUILD_DIR
)
18 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
21 $(PKG_BUILD_DIR
)/lzma.elf
: $(PKG_BUILD_DIR
)/.prepared
$(PKG_BUILD_DIR
)/vmlinux.lzma
22 $(MAKE
) -C
$(PKG_BUILD_DIR
) CC
=$(TARGET_CC
) \
23 LD
=$(TARGET_CROSS
)ld CROSS_COMPILE
=$(TARGET_CROSS
) \
25 LOADADDR
=$(LOADADDR
) \
26 KERNEL_ENTRY
=$(KERNEL_ENTRY
) \
27 IMAGE_COPY
=$(IMAGE_COPY
)
30 $(PKG_BUILD_DIR
)/vmlinux.lzma
: $(KDIR
)/vmlinux.lzma
33 $(KDIR
)/loader.elf
: $(PKG_BUILD_DIR
)/lzma.elf
37 prepare
: $(PKG_BUILD_DIR
)/.prepared
38 compile
: $(KDIR
)/loader.elf
42 rm -rf
$(PKG_BUILD_DIR
)
43 rm -f
$(KDIR
)/loader.elf
This page took 0.039427 seconds and 5 git commands to generate.