summaryrefslogtreecommitdiffstats
path: root/openwrt
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-15 12:19:02 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-15 12:19:02 +0000
commit8bac8d5d8a315ece663d2131b965f7d140f0dfa7 (patch)
treebd88bee1ffcec8297a20f3117081c1d00071699c /openwrt
parentdc508f18b2665fa15547cc4febcf370cb403133f (diff)
nbd, why you use copyright notice from broadcom, for your own makefiles?! something we need to know? :}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@377 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/package/openwrt/libnvram/Makefile12
-rw-r--r--openwrt/package/openwrt/wlc/Makefile14
2 files changed, 3 insertions, 23 deletions
diff --git a/openwrt/package/openwrt/libnvram/Makefile b/openwrt/package/openwrt/libnvram/Makefile
index 5d828b135..8bb4c5c35 100644
--- a/openwrt/package/openwrt/libnvram/Makefile
+++ b/openwrt/package/openwrt/libnvram/Makefile
@@ -1,15 +1,5 @@
-#
-# Linux router shared code Makefile
-#
-# Copyright 2001-2003, Broadcom Corporation
-# All Rights Reserved.
-#
-# THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
-# KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
-# SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
-# FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
-#
# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=libnvram
diff --git a/openwrt/package/openwrt/wlc/Makefile b/openwrt/package/openwrt/wlc/Makefile
index 378f18707..8a1e970d9 100644
--- a/openwrt/package/openwrt/wlc/Makefile
+++ b/openwrt/package/openwrt/wlc/Makefile
@@ -1,15 +1,5 @@
-#
-# Linux router shared code Makefile
-#
-# Copyright 2001-2003, Broadcom Corporation
-# All Rights Reserved.
-#
-# THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
-# KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
-# SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
-# FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
-#
# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=wlc
@@ -33,7 +23,7 @@ $(PKG_BUILD_DIR):
mkdir -p $(PKG_BUILD_DIR)
$(PKG_BUILD_DIR)/wlc: $(WLC_OBJS)
- $(TARGET_CC) -o $@ $^ -lshared
+ $(TARGET_CC) -o $@ $^ -L$(BUILD_DIR)/libshared -lshared
$(TARGET_DIR)/usr/sbin/wlc: $(PKG_BUILD_DIR)/wlc
install -m 755 $^ $@