do not treat warnings as errors for madwifi (needed for gcc4)
[openwrt.git] / target / linux / image / aruba / lzma-loader / Makefile
1 # $Id: Makefile 1823 2005-09-01 20:07:42Z nbd $
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME := loader
6 PKG_VERSION := 0.05
7
8 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
9
10 $(PKG_BUILD_DIR)/.prepared:
11 mkdir $(PKG_BUILD_DIR)
12 cp -fpR ./src/* $(PKG_BUILD_DIR)/
13 touch $@
14
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)
18
19 $(PKG_BUILD_DIR)/vmlinux.lzma: $(KDIR)/vmlinux.lzma
20 cp $< $@
21
22 $(KDIR)/loader.elf: $(PKG_BUILD_DIR)/lzma.elf
23 cp $< $@
24
25 source:
26 prepare: $(PKG_BUILD_DIR)/.prepared
27 compile: $(KDIR)/loader.elf
28 install:
29
30 clean:
31 rm -rf $(PKG_BUILD_DIR)
32 rm -f $(KDIR)/loader.elf
This page took 0.038265 seconds and 5 git commands to generate.