summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-03-15 12:19:02 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-03-15 12:19:02 +0000
commit85b6b68eb8be84ed8554875a0e17ea574303c5da (patch)
treebd88bee1ffcec8297a20f3117081c1d00071699c /openwrt
parentd91c0903b1e9884730c5e5eda0c528b21397e15e (diff)
downloadmtk-20170518-85b6b68eb8be84ed8554875a0e17ea574303c5da.zip
mtk-20170518-85b6b68eb8be84ed8554875a0e17ea574303c5da.tar.gz
mtk-20170518-85b6b68eb8be84ed8554875a0e17ea574303c5da.tar.bz2
nbd, why you use copyright notice from broadcom, for your own makefiles?! something we need to know? :}
SVN-Revision: 377
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 5d828b1..8bb4c5c 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 378f187..8a1e970 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 $^ $@