move nvram,jffs2root,shared libs into target/linux/package and make them broadcom...
[openwrt.git] / openwrt / target / linux / package / openwrt / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME := openwrt-utils
6 PKG_RELEASE := 2
7 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
8
9 include $(TOPDIR)/package/rules.mk
10
11 BR2_PACKAGE_OPENWRT:=y # ignore menuconfig
12 $(eval $(call PKG_template,OPENWRT,openwrt-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
13
14
15 $(PKG_BUILD_DIR)/.prepared:
16 mkdir -p $(PKG_BUILD_DIR)
17 touch $@
18
19 $(PKG_BUILD_DIR)/jffs2root: jffs2root.c
20 $(TARGET_CC) -o $@ $<
21
22 $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/jffs2root
23 touch $@
24
25 $(IPKG_OPENWRT):
26 mkdir -p $(IDIR_OPENWRT)/sbin
27 cp $(PKG_BUILD_DIR)/jffs2root $(IDIR_OPENWRT)/sbin
28 $(RSTRIP) $(IDIR_OPENWRT)
29 $(IPKG_BUILD) $(IDIR_OPENWRT) $(PACKAGE_DIR)
30
31 compile: install-dev
32 install-dev:
33 mkdir -p $(STAGING_DIR)/usr/include
34 cp -a ./include/* $(STAGING_DIR)/usr/include/
This page took 0.039566 seconds and 5 git commands to generate.