qos-scripts update - fix enabling/disabling of interfaces, make the overhead calculat...
[openwrt.git] / target / linux / adm5120-2.6 / image / lzma-loader / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: Makefile 4439 2006-08-04 17:14:36Z nbd $
8
9 include $(TOPDIR)/rules.mk
10
11 LOADER := loader
12 BZ_STARTUP_ORG := 0
13
14 PKG_NAME := lzma-loader
15 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
16
17 $(PKG_BUILD_DIR)/.prepared:
18 mkdir $(PKG_BUILD_DIR)
19 $(CP) ./src/* $(PKG_BUILD_DIR)/
20 touch $@
21
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)
26
27 download:
28 prepare: $(PKG_BUILD_DIR)/.prepared
29 compile: $(PKG_BUILD_DIR)/$(LOADER).gz
30 install:
31
32 ifneq ($(TARGET),)
33 install: compile
34 $(CP) $(PKG_BUILD_DIR)/$(LOADER).gz $(PKG_BUILD_DIR)/$(LOADER).elf $(PKG_BUILD_DIR)/$(LOADER).bin $(TARGET)/
35 endif
36
37 clean:
38 rm -rf $(PKG_BUILD_DIR)
This page took 0.04831 seconds and 5 git commands to generate.