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 4439 2006-08-04 17:14:36Z nbd $
9 include $(TOPDIR
)/rules.mk
14 PKG_NAME
:= lzma-loader
15 PKG_BUILD_DIR
:= $(BUILD_DIR
)/$(PKG_NAME
)
17 $(PKG_BUILD_DIR
)/.prepared
:
18 mkdir
$(PKG_BUILD_DIR
)
19 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
22 $(PKG_BUILD_DIR
)/$(LOADER
).gz
: $(PKG_BUILD_DIR
)/.prepared
23 $(MAKE
) -C
$(PKG_BUILD_DIR
) CC
="$(TARGET_CC)" \
24 LD
="$(TARGET_CROSS)ld" CROSS_COMPILE
="$(TARGET_CROSS)" \
25 LOADER
=$(LOADER
) BZ_STARTUP_ORG
=$(BZ_STARTUP_ORG
)
28 prepare
: $(PKG_BUILD_DIR
)/.prepared
29 compile
: $(PKG_BUILD_DIR
)/$(LOADER
).gz
34 $(CP
) $(PKG_BUILD_DIR
)/$(LOADER
).gz
$(PKG_BUILD_DIR
)/$(LOADER
).elf
$(PKG_BUILD_DIR
)/$(LOADER
).bin
$(TARGET
)/
38 rm -rf
$(PKG_BUILD_DIR
)
This page took 0.047598 seconds and 5 git commands to generate.