aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openwrt.org>2005-03-15 12:19:02 +0000
committerWaldemar Brodkorb <wbx@openwrt.org>2005-03-15 12:19:02 +0000
commite6571b124131df46a0b99edc141e7be9196f6734 (patch)
tree4142cf1df1e065e511272f3e44d8f81c824ae3c5 /package
parent7d558d8edbf9ce8f7302c9d8029b366cd083476f (diff)
downloadupstream-e6571b124131df46a0b99edc141e7be9196f6734.tar.gz
upstream-e6571b124131df46a0b99edc141e7be9196f6734.tar.bz2
upstream-e6571b124131df46a0b99edc141e7be9196f6734.zip
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/openwrt@377 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/openwrt/libnvram/Makefile12
-rw-r--r--package/openwrt/wlc/Makefile14
2 files changed, 3 insertions, 23 deletions
diff --git a/package/openwrt/libnvram/Makefile b/package/openwrt/libnvram/Makefile
index 5d828b135e..8bb4c5c35e 100644
--- a/package/openwrt/libnvram/Makefile
+++ b/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/package/openwrt/wlc/Makefile b/package/openwrt/wlc/Makefile
index 378f187075..8a1e970d97 100644
--- a/package/openwrt/wlc/Makefile
+++ b/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 $^ $@