diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-03-31 22:12:20 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-03-31 22:12:20 +0000 |
commit | c0825e2276fc0d327ff1700d9445a40bbb73c02e (patch) | |
tree | 66386249b8f540ddeb7e5dcd37dec23190ea510a /package/openwrt/wlc/Makefile | |
parent | 1a2320030776c04bfc1b4e024fe6e8b59d729444 (diff) |
package wlc, jffs2root, mtd as "openwrt-utils"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@493 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/openwrt/wlc/Makefile')
-rw-r--r-- | package/openwrt/wlc/Makefile | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/package/openwrt/wlc/Makefile b/package/openwrt/wlc/Makefile deleted file mode 100644 index 8a1e970d9..000000000 --- a/package/openwrt/wlc/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# $Id$ - -include $(TOPDIR)/rules.mk - -PKG_NAME:=wlc -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) - -EXTRA_CFLAGS := -c -I. -I../include - -all: compile - -WLC_OBJS:= -define OBJ_template -$(PKG_BUILD_DIR)/$(1): $(PKG_BUILD_DIR) - $(TARGET_CC) $(TARGET_CFLAGS) $(EXTRA_CFLAGS) -o $$@ $$(patsubst %.o,%.c,$(1)) -WLC_OBJS += $(PKG_BUILD_DIR)/$(1) -endef - -OBJS := wlc.o -$(foreach obj,$(OBJS),$(eval $(call OBJ_template,$(obj)))) - -$(PKG_BUILD_DIR): - mkdir -p $(PKG_BUILD_DIR) - -$(PKG_BUILD_DIR)/wlc: $(WLC_OBJS) - $(TARGET_CC) -o $@ $^ -L$(BUILD_DIR)/libshared -lshared - -$(TARGET_DIR)/usr/sbin/wlc: $(PKG_BUILD_DIR)/wlc - install -m 755 $^ $@ - $(STRIP) $@ - -compile: $(PKG_BUILD_DIR)/wlc -install: $(TARGET_DIR)/usr/sbin/wlc - -clean: - rm -rf $(PKG_BUILD_DIR) |