adds native toolchain

git-svn-id: svn://svn.openwrt.org/openwrt/packages@11421 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic
2008-06-09 21:29:40 +00:00
parent 4a7ce5ea6e
commit 07bfdfaf6a
5 changed files with 137 additions and 6 deletions

View File

@ -0,0 +1,32 @@
#
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# blogic@openwrt.org
include $(TOPDIR)/rules.mk
PKG_NAME:=build-essential
PKG_RELEASE:=1
PKG_VERSION:=1
include $(INCLUDE_DIR)/package.mk
define Package/build-essential
SECTION:=devel
CATEGORY:=Development
TITLE:=Build essentials
DEPENDS=+gcc +make +binutils
endef
define Build/Compile
endef
define Package/build-essential/install
cp -r ./files/* $(1)
endef
$(eval $(call BuildPackage,build-essential))

View File

@ -0,0 +1,8 @@
#include <stdio.h>
int main(int argc, char **argv)
{
printf("Hello OpenWrt\n");
return 0;
}