adds native toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11421 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
32
devel/build-essential/Makefile
Normal file
32
devel/build-essential/Makefile
Normal 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))
|
8
devel/build-essential/files/usr/src/hello/hello.c
Normal file
8
devel/build-essential/files/usr/src/hello/hello.c
Normal file
@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
printf("Hello OpenWrt\n");
|
||||
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user