source: freewrt/tools/mkimage/Makefile@ 9caef3b

freewrt_1_0 freewrt_2_0
Last change on this file since 9caef3b was 9caef3b, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

add suggestions from tg@

git-svn-id: svn://www.freewrt.org/trunk/freewrt@481 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 947 bytes
Line 
1# $FreeWRT$
2
3PKG_NAME:= u-boot
4PKG_VERSION:= 1.1.4
5PKG_MD5SUM:= 096cac66046326659b97eeded007ec73
6PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
7PKG_SOURCE_URL:= ftp://ftp.denx.de/pub/u-boot
8
9include $(TOPDIR)/rules.mk
10include ../rules.mk
11
12$(WRKBUILD)/tools/mkimage: $(WRKBUILD)/.prepared
13 (cd $(WRKBUILD)/tools ; \
14 $(HOSTCC) -g -Wall -pedantic -idirafter ../include -DTEXT_BASE= -DUSE_HOSTCC -O -c mkimage.c )
15 (cd $(WRKBUILD)/tools ; \
16 $(HOSTCC) -g -Wall -pedantic -idirafter ../include -DTEXT_BASE= -DUSE_HOSTCC -O -c ../lib_generic/crc32.c )
17 (cd $(WRKBUILD)/tools ; \
18 $(HOSTCC) -Wall -pedantic -idirafter ../include -DTEXT_BASE= -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o )
19
20$(STAGING_DIR)/bin/mkimage: $(WRKBUILD)/tools/mkimage
21 $(CP) $< $@
22
23source: $(DL_DIR)/$(PKG_SOURCE)
24prepare: $(WRKBUILD)/.prepared
25compile: $(WRKBUILD)/tools/mkimage $(STAGING_DIR)/bin/mkimage
26install: $(STAGING_DIR)/bin/mkimage
27clean:
28 rm -rf $(WRKBUILD)
Note: See TracBrowser for help on using the repository browser.