source: freewrt/package/mini_fo/Makefile@ 0fbd065

freewrt_1_0 freewrt_2_0
Last change on this file since 0fbd065 was 0fbd065, checked in by Thorsten Glaser <tg@…>, 4 months ago

provide SVN IDs from last checkout

until the code no longer requires them, better avoid
breaking its expectations of presence

  • Property mode set to 100644
File size: 1.5 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8include $(TOPDIR)/mk/targets.mk
9
10PKG_NAME:= mini_fo
11PKG_VERSION:= 0.6.2pre1
12PKG_RELEASE:= 1
13PKG_MD5SUM:= acd12157be25d7b3c8df90914049403e
14PKG_MODULE:= 15
15
16PKG_SOURCE_URL:= http://www.denx.de/twiki/pub/Know/MiniFOHome/
17PKG_SOURCE:= mini_fo-0-6-2-pre1.tar.bz2
18
19WRKSRC= ${WRKDIR}/mini_fo-0-6-2-pre1
20
21include $(TOPDIR)/mk/package.mk
22
23$(eval $(call PKG_template,KMOD_MINI_FO,kmod-mini-fo,$(KERNEL_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(KERNEL_VERSION)-$(BOARD)-$(KERNEL_RELEASE))))
24
25$(WRKBUILD)/.configured:
26 echo -e '%g/\\$$Id\\$$/s//$$Id: Makefile 804 2006-10-01 14:01:35Z wbx $$/\nwq' | ed -s $(WRKBUILD)/main.c
27 touch $@
28
29$(WRKBUILD)/.built:
30 $(MAKE) -C $(WRKBUILD) \
31 PATH="$(TARGET_PATH)" \
32 ARCH="$(KERNEL_ARCH)" \
33 CROSS_COMPILE="$(TARGET_CROSS)" \
34 KERNELVERSION="$(KERNEL)" \
35 KERNEL_SRC="$(LINUX_DIR)" \
36 all
37 touch $@
38
39$(IPKG_KMOD_MINI_FO):
40 $(INSTALL_DIR) $(IDIR_KMOD_MINI_FO)/lib/modules/$(KERNEL_VERSION)
41 $(INSTALL_DIR) $(IDIR_KMOD_MINI_FO)/etc/modules.d
42 $(INSTALL_DATA) $(WRKBUILD)/mini_fo.$(KERNEL_MOD_SUFFIX) \
43 $(IDIR_KMOD_MINI_FO)/lib/modules/$(KERNEL_VERSION)/
44 $(INSTALL_DATA) ./files/mini_fo.modules \
45 $(IDIR_KMOD_MINI_FO)/etc/modules.d/$(PKG_MODULE)-mini-fo
46 $(IPKG_BUILD) $(IDIR_KMOD_MINI_FO) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.