diff options
author | Mike Baker <mbm@openwrt.org> | 2006-04-21 10:03:46 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-04-21 10:03:46 +0000 |
commit | 3960174fa96b7284291d65d0c3d0f3c9c839956e (patch) | |
tree | 76b9aaa24ed9428ffe8825005a5ada7421cabc18 /package/rules.mk | |
parent | 38d10e52d5e640495087acc8a2dcbd773c436acb (diff) | |
download | upstream-3960174fa96b7284291d65d0c3d0f3c9c839956e.tar.gz upstream-3960174fa96b7284291d65d0c3d0f3c9c839956e.tar.bz2 upstream-3960174fa96b7284291d65d0c3d0f3c9c839956e.zip |
Add default compile target & use it for bridge and busybox
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3693 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/rules.mk')
-rw-r--r-- | package/rules.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/package/rules.mk b/package/rules.mk index 916bb0f277..17f6c61ef3 100644 --- a/package/rules.mk +++ b/package/rules.mk @@ -213,7 +213,13 @@ define Build/Configure endef define Build/Compile/Default -# TODO: add configurable default command + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC=$(TARGET_CC) \ + CROSS="$(TARGET_CROSS)" \ + PREFIX="$$(IDIR_$(1))" \ + EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ + ARCH="$(ARCH)" \ + DESTDIR="$$(IDIR_$(1))" endef define Build/Compile |