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.
9 include $(TOPDIR
)/rules.mk
11 PKG_NAME
:= lzma-loader
12 PKG_BUILD_DIR
:= $(BUILD_DIR
)/$(PKG_NAME
)
14 $(PKG_BUILD_DIR
)/.prepared
:
15 mkdir
$(PKG_BUILD_DIR
)
16 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
19 $(PKG_BUILD_DIR
)/loader.gz
: $(PKG_BUILD_DIR
)/.prepared
20 $(MAKE
) -C
$(PKG_BUILD_DIR
) CC
="$(TARGET_CC)" \
21 LD
="$(TARGET_CROSS)ld" CROSS_COMPILE
="$(TARGET_CROSS)"
24 prepare
: $(PKG_BUILD_DIR
)/.prepared
25 compile
: $(PKG_BUILD_DIR
)/loader.gz
30 $(CP
) $(PKG_BUILD_DIR
)/loader.gz
$(PKG_BUILD_DIR
)/loader.elf
$(TARGET
)/
34 rm -rf
$(PKG_BUILD_DIR
)
This page took 0.052973 seconds and 5 git commands to generate.