From 3e6b6c84907ae93769049654604e98bca4f03442 Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 7 Oct 2005 17:05:47 +0000 Subject: rename toolchain/libmissing to libnotimpl (fix dnsiff build) git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2065 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/libnotimpl/Makefile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 toolchain/libnotimpl/Makefile (limited to 'toolchain/libnotimpl/Makefile') diff --git a/toolchain/libnotimpl/Makefile b/toolchain/libnotimpl/Makefile new file mode 100644 index 000000000..9ae2bf240 --- /dev/null +++ b/toolchain/libnotimpl/Makefile @@ -0,0 +1,30 @@ +include $(TOPDIR)/rules.mk + +LIBNOTIMPL_DIR:=$(TOOL_BUILD_DIR)/libnotimpl + +LIBNOTIMPL_SRCS+=./files/math.c +LIBNOTIMPL_OBJS:=$(patsubst ./files/%.c,$(LIBNOTIMPL_DIR)/%.o,$(LIBNOTIMPL_SRCS)) + +$(LIBNOTIMPL_DIR)/.prepared: + mkdir -p $(LIBNOTIMPL_DIR) + touch $@ + +$(LIBNOTIMPL_OBJS): $(LIBNOTIMPL_DIR)/%.o : ./files/%.c + $(TARGET_CC) $(TARGET_CFLAGS) -c $< -o $@ + +$(LIBNOTIMPL_DIR)/libnotimpl.a: $(LIBNOTIMPL_OBJS) + $(TARGET_CROSS)ar rc $(LIBNOTIMPL_DIR)/libnotimpl.a $(LIBNOTIMPL_OBJS) + +$(STAGING_DIR)/usr/lib/libnotimpl.a: $(LIBNOTIMPL_DIR)/libnotimpl.a + mkdir -p $(STAGING_DIR)/usr/lib + cp -fpR $< $@ + touch -c $@ + +source: +prepare: $(LIBNOTIMPL_DIR)/.prepared +compile: $(LIBNOTIMPL_DIR)/libnotimpl.a +install: $(STAGING_DIR)/usr/lib/libnotimpl.a +clean: + rm -rf \ + $(STAGING_DIR)/usr/lib/libnotimpl.a \ + $(LIBNOTIMPL_DIR) \ -- cgit v1.2.3 From 82daa5e9c007b2a16aa9e8c5526fd8d034ee4541 Mon Sep 17 00:00:00 2001 From: mbm Date: Wed, 1 Feb 2006 23:53:19 +0000 Subject: change cp to $(CP) git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3112 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/libnotimpl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolchain/libnotimpl/Makefile') diff --git a/toolchain/libnotimpl/Makefile b/toolchain/libnotimpl/Makefile index 9ae2bf240..f68346c37 100644 --- a/toolchain/libnotimpl/Makefile +++ b/toolchain/libnotimpl/Makefile @@ -17,7 +17,7 @@ $(LIBNOTIMPL_DIR)/libnotimpl.a: $(LIBNOTIMPL_OBJS) $(STAGING_DIR)/usr/lib/libnotimpl.a: $(LIBNOTIMPL_DIR)/libnotimpl.a mkdir -p $(STAGING_DIR)/usr/lib - cp -fpR $< $@ + $(CP) $< $@ touch -c $@ source: -- cgit v1.2.3 From 06265758beb1721526360aa01176dd70d8a9e1d4 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 31 May 2006 23:29:05 +0000 Subject: cleanup; replace .PHONY with FORCE; disable gdb by default git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3877 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/libnotimpl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolchain/libnotimpl/Makefile') diff --git a/toolchain/libnotimpl/Makefile b/toolchain/libnotimpl/Makefile index f68346c37..86ab927c1 100644 --- a/toolchain/libnotimpl/Makefile +++ b/toolchain/libnotimpl/Makefile @@ -24,7 +24,7 @@ source: prepare: $(LIBNOTIMPL_DIR)/.prepared compile: $(LIBNOTIMPL_DIR)/libnotimpl.a install: $(STAGING_DIR)/usr/lib/libnotimpl.a -clean: +clean: FORCE rm -rf \ $(STAGING_DIR)/usr/lib/libnotimpl.a \ $(LIBNOTIMPL_DIR) \ -- cgit v1.2.3 From 94266d638908a140ef5cdd9b27d2eb367f97249f Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 21 Jun 2006 06:19:43 +0000 Subject: massive cleanup of toolchain/ git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4038 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/libnotimpl/Makefile | 44 +++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) (limited to 'toolchain/libnotimpl/Makefile') diff --git a/toolchain/libnotimpl/Makefile b/toolchain/libnotimpl/Makefile index 86ab927c1..aae7aef34 100644 --- a/toolchain/libnotimpl/Makefile +++ b/toolchain/libnotimpl/Makefile @@ -1,30 +1,34 @@ include $(TOPDIR)/rules.mk -LIBNOTIMPL_DIR:=$(TOOL_BUILD_DIR)/libnotimpl +PKG_NAME := libnotimpl +PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/libnotimpl -LIBNOTIMPL_SRCS+=./files/math.c -LIBNOTIMPL_OBJS:=$(patsubst ./files/%.c,$(LIBNOTIMPL_DIR)/%.o,$(LIBNOTIMPL_SRCS)) +include $(INCLUDE_DIR)/host-build.mk -$(LIBNOTIMPL_DIR)/.prepared: - mkdir -p $(LIBNOTIMPL_DIR) - touch $@ +define cc + $(TARGET_CC) $(TARGET_CFLAGS) -c src/$(1).c -o $(PKG_BUILD_DIR)/$(1).o +endef -$(LIBNOTIMPL_OBJS): $(LIBNOTIMPL_DIR)/%.o : ./files/%.c - $(TARGET_CC) $(TARGET_CFLAGS) -c $< -o $@ +define Build/Prepare + rm -rf $(PKG_BUILD_DIR) + mkdir -p $(PKG_BUILD_DIR) +endef -$(LIBNOTIMPL_DIR)/libnotimpl.a: $(LIBNOTIMPL_OBJS) - $(TARGET_CROSS)ar rc $(LIBNOTIMPL_DIR)/libnotimpl.a $(LIBNOTIMPL_OBJS) +define Build/Compile + $(call cc,math) + $(TARGET_CROSS)ar rc $(PKG_BUILD_DIR)/libnotimpl.a $(PKG_BUILD_DIR)/*.o +endef -$(STAGING_DIR)/usr/lib/libnotimpl.a: $(LIBNOTIMPL_DIR)/libnotimpl.a +define Build/Install mkdir -p $(STAGING_DIR)/usr/lib - $(CP) $< $@ - touch -c $@ - -source: -prepare: $(LIBNOTIMPL_DIR)/.prepared -compile: $(LIBNOTIMPL_DIR)/libnotimpl.a -install: $(STAGING_DIR)/usr/lib/libnotimpl.a -clean: FORCE + $(CP) $(PKG_BUILD_DIR)/libnotimpl.a $(STAGING_DIR)/usr/lib/ +endef + +define Build/Clean rm -rf \ $(STAGING_DIR)/usr/lib/libnotimpl.a \ - $(LIBNOTIMPL_DIR) \ + $(PKG_BUILD_DIR) +endef + +$(eval $(call HostBuild)) + -- cgit v1.2.3 From a35fb6c438c11e118d9241be1cdf6d3e06b7c9bb Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 27 Jun 2006 00:44:04 +0000 Subject: add missing copyright git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4094 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/libnotimpl/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'toolchain/libnotimpl/Makefile') diff --git a/toolchain/libnotimpl/Makefile b/toolchain/libnotimpl/Makefile index aae7aef34..bc515ca08 100644 --- a/toolchain/libnotimpl/Makefile +++ b/toolchain/libnotimpl/Makefile @@ -1,3 +1,9 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# include $(TOPDIR)/rules.mk PKG_NAME := libnotimpl -- cgit v1.2.3 From 5d099491cf5469749a3961291b621429aeee0070 Mon Sep 17 00:00:00 2001 From: mbm Date: Fri, 4 Aug 2006 09:14:20 +0000 Subject: fix everything I broke with the previous patches git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4436 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/libnotimpl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolchain/libnotimpl/Makefile') diff --git a/toolchain/libnotimpl/Makefile b/toolchain/libnotimpl/Makefile index bc515ca08..214f51c5d 100644 --- a/toolchain/libnotimpl/Makefile +++ b/toolchain/libnotimpl/Makefile @@ -12,7 +12,7 @@ PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/libnotimpl include $(INCLUDE_DIR)/host-build.mk define cc - $(TARGET_CC) $(TARGET_CFLAGS) -c src/$(1).c -o $(PKG_BUILD_DIR)/$(1).o + PATH="$(TARGET_PATH)" $(TARGET_CC) $(TARGET_CFLAGS) -c src/$(1).c -o $(PKG_BUILD_DIR)/$(1).o endef define Build/Prepare @@ -22,7 +22,7 @@ endef define Build/Compile $(call cc,math) - $(TARGET_CROSS)ar rc $(PKG_BUILD_DIR)/libnotimpl.a $(PKG_BUILD_DIR)/*.o + PATH="$(TARGET_PATH)" $(TARGET_CROSS)ar rc $(PKG_BUILD_DIR)/libnotimpl.a $(PKG_BUILD_DIR)/*.o endef define Build/Install -- cgit v1.2.3 From ef998d64e381ed0a92fc73edf4206f7be7335caf Mon Sep 17 00:00:00 2001 From: mbm Date: Fri, 4 Aug 2006 11:59:52 +0000 Subject: set PATH in rules.mk git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4438 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/libnotimpl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolchain/libnotimpl/Makefile') diff --git a/toolchain/libnotimpl/Makefile b/toolchain/libnotimpl/Makefile index 214f51c5d..bc515ca08 100644 --- a/toolchain/libnotimpl/Makefile +++ b/toolchain/libnotimpl/Makefile @@ -12,7 +12,7 @@ PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/libnotimpl include $(INCLUDE_DIR)/host-build.mk define cc - PATH="$(TARGET_PATH)" $(TARGET_CC) $(TARGET_CFLAGS) -c src/$(1).c -o $(PKG_BUILD_DIR)/$(1).o + $(TARGET_CC) $(TARGET_CFLAGS) -c src/$(1).c -o $(PKG_BUILD_DIR)/$(1).o endef define Build/Prepare @@ -22,7 +22,7 @@ endef define Build/Compile $(call cc,math) - PATH="$(TARGET_PATH)" $(TARGET_CROSS)ar rc $(PKG_BUILD_DIR)/libnotimpl.a $(PKG_BUILD_DIR)/*.o + $(TARGET_CROSS)ar rc $(PKG_BUILD_DIR)/libnotimpl.a $(PKG_BUILD_DIR)/*.o endef define Build/Install -- cgit v1.2.3 From 8afb23270d23db6a033ba8fb77e1cf1a1d925a7c Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 24 Sep 2006 20:49:31 +0000 Subject: new (last?) attempt at standardizing Makefiles git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4855 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/libnotimpl/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'toolchain/libnotimpl/Makefile') diff --git a/toolchain/libnotimpl/Makefile b/toolchain/libnotimpl/Makefile index bc515ca08..d55bf4e3f 100644 --- a/toolchain/libnotimpl/Makefile +++ b/toolchain/libnotimpl/Makefile @@ -6,8 +6,9 @@ # include $(TOPDIR)/rules.mk -PKG_NAME := libnotimpl -PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/libnotimpl +PKG_NAME:=libnotimpl + +PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/libnotimpl include $(INCLUDE_DIR)/host-build.mk @@ -31,9 +32,7 @@ define Build/Install endef define Build/Clean - rm -rf \ - $(STAGING_DIR)/usr/lib/libnotimpl.a \ - $(PKG_BUILD_DIR) + rm -f $(STAGING_DIR)/usr/lib/libnotimpl.a endef $(eval $(call HostBuild)) -- cgit v1.2.3 From 44af1866aa41cfbbad48583106cb82201ded4fcb Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 27 Sep 2006 14:06:46 +0000 Subject: move tools from toolchain/ to tools/ git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4866 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/libnotimpl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolchain/libnotimpl/Makefile') diff --git a/toolchain/libnotimpl/Makefile b/toolchain/libnotimpl/Makefile index d55bf4e3f..85156723b 100644 --- a/toolchain/libnotimpl/Makefile +++ b/toolchain/libnotimpl/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libnotimpl -PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/libnotimpl +PKG_BUILD_DIR:=$(TOOLCHAIN_BUILD_DIR)/libnotimpl include $(INCLUDE_DIR)/host-build.mk -- cgit v1.2.3